What problem does it solve?
Genies projects often require consistent configuration management across multiple crates. This skill provides a YAML-driven approach to loading application configuration, applying environment variable overrides, defaults, and validation, reducing boilerplate and configuration errors.
Core Features & Use Cases
- YAML-based configuration loading for Genies applications via ApplicationConfig and ConfigCore.
- Environment variable overrides with snake_case to SCREAMING_SNAKE_CASE mapping and default values support.
- Validation and defaults via #[config(...)] attributes and the ConfigCore macro to ensure safe startup.
- Easy integration with logging setup through init_log() and centralized configuration.
Quick Start
Create an application.yml with your settings and load it at startup using ApplicationConfig::from_sources.