Expand description
This crate is a configuration library that loads and merges configuration YAML files using active profiles list passed by user.
Modules§
Structs§
- Config
Provider - Tool to transform read configuration to Configuration DTO .
- Read
Config Files Command - Command which profiles to read and from
Functions§
- read_
yaml_ config_ from_ files - Scans
config_dir
looking for files matching patternapplication-*.yml
where*
is an active profile specified in the command. Alsoapplication.yml
is loaded as a base configuration that is later on updated and extended with config from passed profiles.