solverforge_maps/routing/
mod.rs

1//! Local OSM road routing using Overpass API.
2
3mod algo;
4mod bbox;
5mod cache;
6mod config;
7mod coord;
8mod error;
9mod fetch;
10mod geo;
11mod graph;
12mod matrix;
13mod network;
14mod osm;
15mod progress;
16mod spatial;
17
18pub use bbox::BoundingBox;
19pub use cache::{CacheStats, NetworkRef};
20pub use config::{NetworkConfig, SpeedProfile};
21pub use coord::Coord;
22pub use error::{BBoxError, CoordError, RoutingError};
23pub use matrix::{TravelTimeMatrix, UNREACHABLE};
24pub use network::{Objective, RoadNetwork, RouteResult, SnappedCoord};
25pub use progress::RoutingProgress;
26
27pub use geo::haversine_distance;
28
29pub type RoutingResult<T> = Result<T, RoutingError>;