blitz_path/
lib.rs

1//! # blitz-path
2//!
3//! `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.
4//!
5//! It currently provides implementations of the A* and JPS pathfinding algorithms.
6//!
7//! *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.
8//! ```ignore
9//! [profile.release]
10//! lto = "fat"
11//! ```
12
13mod astar;
14mod jps;
15mod node;
16mod route;
17mod utils;
18
19pub use astar::a_star_path;
20pub use jps::jps_path;
21pub use route::Route;