Spaces:
Sleeping
Sleeping
| pub mod env; | |
| pub mod types; | |
| use serde::{Deserialize, Serialize}; | |
| pub use types::*; | |
| /// The root configuration object loaded at application startup. | |
| /// | |
| /// It aggregates all subsystem configurations into a single strongly-typed struct. | |
| pub struct Config { | |
| /// Server Configuration | |
| pub server: ServerConfig, | |
| /// Database Configuration | |
| pub database: DatabaseConfig, | |
| /// External Services Configuration | |
| pub services: ServicesConfig, | |
| /// Security Configuration | |
| pub security: SecurityConfig, | |
| /// Observability Configuration | |
| pub observability: ObservabilityConfig, | |
| } | |