How-to guides¶
Short, task-shaped recipes for people who already know what they want to do.
- Layer configuration sources — embedded defaults, one or more user files, and an environment prefix.
- Override settings with environment variables — how to name the variable, and the two naming mistakes that fail silently.
- Reload configuration at runtime — explicit
reload, subscribing to changes, and the
hot-reloadwatcher. - Write config back and export a schema —
the
mutablefeature, and what it is not good at.
New to the crate? Start with the tutorial, Add layered configuration to a Rust CLI.