Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bracket-pathfinding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bracket-algorithm-traits = { path = "../bracket-algorithm-traits", version = "~0
num-rational = { version = "0.4", default-features = false, features = ["std"] }
rayon = { version = "1.5.0", optional = true }
smallvec = "~1"
hashbrown = "0.13.2"

[dev-dependencies]
crossterm = "~0.25"
Expand Down
3 changes: 2 additions & 1 deletion bracket-pathfinding/src/astar.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use bracket_algorithm_traits::prelude::BaseMap;
use hashbrown::HashMap;
use std::cmp::Ordering;
use std::collections::{BinaryHeap, HashMap};
use std::collections::BinaryHeap;
use std::convert::TryInto;

/// Bail out if the A* search exceeds this many steps.
Expand Down