Expand description
Runtime primitives exposed to the macro-generated code.
Modules§
Structs§
- CliArguments
- Pulls overrides from
std::env::args. - Config
Builder - Builder that merges a set of
ConfigSourceinstances. - Config
File - Source backed by a configuration file on disk.
Enums§
- Config
Error - Unified error returned by the runtime components.
- Config
Node - Representation of a configuration tree.
- File
Format - Supported on-disk formats.
Traits§
- Config
Source - Trait implemented by configuration sources (files, CLI, etc).
- From
Node - Trait implemented by types that can be created from a
ConfigNode.
Functions§
- load_
from_ path - Parse a configuration file into a
ConfigNode. - merge_
nodes - Combine two configuration trees, where values from
overlaytake precedence.