summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 6a64876191743c070e888b235d0800063c9eb0c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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<AppState> {
    axum::Router::new().nest("/api/v1", api::router())
}