Parent
[>]
1//! Application configuration set once at startup. 2//! 3//! Compile-time constants ([`PKG_NAME`], [`PKG_VERSION`]) are read from 4//! `Cargo.toml` via `env!()`. Runtime configuration is stored in 5//! [`SiteConfig`] and threaded through [`AppState`](crate::routes::AppState) 6//! rather than held in process-global statics. 7 8/// Package name read from `Cargo.toml` at compile time. 9pub const PKG_NAME: &str = env!; 10 11/// Package version read from `Cargo.toml` at compile time. 12pub const PKG_VERSION: &str = env!; 13 14/// Site-wide configuration set once at startup and shared across all handlers. 15 16