1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//! # blitz-path
//!
//! `blitz-path` contains (hopefully) lightning-quick implementations of various pathfinding algorithms. Currently in a very wip state. It relies on the [movingai-rust](https://github.com/THeK3nger/movingai-rust) crate for map implementation and testing / benchmarks.
//!
//! It currently provides implementations of the A* and JPS pathfinding algorithms.
//!
//! *A note on compiling:* Compiling the crate with "fat" LTO can greatly improve performance. However, it also substantially slows down compilation, so it is only recommended to use this when building for release. To enable fat LTO for the `--release` flag add the following to your project's `cargo.toml` file.
//! ```ignore
//! [profile.release]
//! lto = "fat"
//! ```

mod astar;
mod jps;
mod node;
mod route;
mod utils;

pub use astar::a_star_path;
pub use jps::jps_path;
pub use route::Route;