1pub mod app_builder;
12pub mod banner;
13pub mod build_info;
14pub mod config;
15pub mod handlers;
16pub mod response;
17
18pub use app_builder::AppBuilder;
19pub use build_info::BuildInfo;
20pub use config::{
21 AppConfig, BannerConfig, CacheBackend, CacheConfig, Config, ConfigError, CorsConfig,
22 Environment, FeatureFlags, HttpConfig, LogBackend, LogFormat, LoggingConfig,
23};
24pub use handlers::{CoreState, HealthCheck, ReadyChecker};
25pub use response::{ApiError, ApiResponse, ApiResult};
26
27#[cfg(test)]
28mod tests {
29 use super::*;
30
31 #[test]
32 fn core_crate_compiles() {
33 let _ = Environment::Dev;
35 let _ = LogFormat::Pretty;
36 let _ = LogBackend::Tracing;
37 let _ = CacheBackend::Moka;
38 let _ = BuildInfo::default();
39 }
40}