1 2 3 4 5 6 7 8 9 10 11 12
pub mod routes; pub mod route_data; pub mod registry; pub mod macros; use std::sync::Mutex; use registry::RouteRegistry; lazy_static::lazy_static! { pub static ref REGISTRY: Mutex<RouteRegistry> = Mutex::new(RouteRegistry::new()); }