Expand description
§Cirious Codex Config
cirious_codex_config is a robust configuration management framework tailored for the
Cirious ecosystem. It provides a highly optimized foundation for loading, parsing,
and validating application settings from various sources, ensuring a secure and
reliable setup process.
§Overview
- Flexible Loading: Built-in support for merging configurations from multiple sources, including files (TOML, JSON, YAML) and environment variables.
- Structured Deserialization: Seamless integration with
serdeto map your settings directly into strongly-typed Rust structures. - Diagnostic Integration: Designed to work flawlessly with the broader Cirious Codex ecosystem to provide detailed, actionable error tracking when configuration issues occur.
Re-exports§
pub use builder::ConfigBuilder;pub use merge::deep_merge;pub use secrets::resolve_secrets;pub use secrets::resolve_with_providers;pub use secrets::SecretProvider;pub use watch::watch_config;
Modules§
- builder
- Configuration builder module that handles merging and overrides.
- format
- Contains abstractions for parsing configuration files in various formats
- merge
- Merge module for merging configurations.
- secrets
- Secrets module for managing secrets.
- watch
- Watch module for live reloading configuration files. Live reloading utility for Cirious Codex Config.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.