1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod handler;

#[cfg(feature = "router")]
mod router_priv;

#[cfg(feature = "router")]
pub mod route;

#[cfg(feature = "router")]
pub mod router {
    pub use super::router_priv::{
        IntoObject, MatchError, Params, Router, RouterError, RouterGen, RouterMapErr, TypedRoute,
    };
}

#[cfg(feature = "router")]
pub use router_priv::{Router, RouterError};