1#![deny(unsafe_code)]
2#![warn(missing_docs)]
3pub mod app;
6pub mod config;
7pub mod cors;
8pub mod error;
9pub mod health;
10pub mod pagination;
11pub mod request_id;
12pub mod security;
13pub mod state;
14
15pub mod env_override;
16pub mod rate_limit;
17pub mod shutdown;
18
19pub use app::AtrgApp;
20pub use config::Config;
21pub use error::{AtrgError, AtrgResult};
22pub use state::AppState;
23
24pub use rate_limit::{RateLimitConfig, RateLimiter};
25pub use shutdown::shutdown_signal;
26
27pub fn version() -> &'static str {
29 env!("CARGO_PKG_VERSION")
30}