pub use crate::{ error::{Error, Result}, state::AppState, status::Status, }; pub mod api; pub mod error; pub mod service; pub mod state; pub mod status; pub fn router() -> axum::Router { axum::Router::new() .nest("/api/v1", api::router()) .fallback(|uri: axum::http::Uri| async { Error::RouteNotFound(uri) }) }