road_runner_common/lib.rs
1#![forbid(unsafe_code)]
2
3pub mod auth;
4pub mod config;
5pub mod error;
6pub mod observability;
7pub mod pagination;
8pub mod response;
9
10#[cfg(feature = "openapi")]
11pub mod openapi;
12
13#[cfg(feature = "web")]
14pub mod middleware;
15
16#[cfg(feature = "web")]
17pub mod web;
18
19pub use auth::UserContext;
20pub use error::{AppError, ErrorCode};
21pub use pagination::{PageRequest, Paged};
22pub use response::{ApiErrorDetail, ApiMeta, ApiResponse};