Expand description
Per-environment application configuration loaded from config/<env>.yml.
Config is a trait so applications can supply their own backing store;
YamlConfig is the default implementation that deserializes the YAML file
for the environment reported by Environment::get_env.
Structs§
- Logger
Config - Re-exported so
config::LoggerConfigresolves; the logger config lives indoido-corealongside the logger it drives. Logging settings, deserialized from theloggersection ofconfig/<env>.yml. - Server
Config - Server bind settings. The listen address is the
bindIP joined withport(e.g.0.0.0.0:3000). - Yaml
Config - File-based
Configdeserialized fromconfig/<env>.yml.
Traits§
- Config
- Application configuration. Used as a trait object (
Box<dyn Config>) so the backing store can be swapped without touching call sites.