Structs§
- Annotated
Value - Configuration variable with its source information.
- Config
Env - NonEmpty
Command Args Vec - Wrapper to reject an array without command name.
- RawConfig
- Newtype for unprocessed (or unresolved)
StackedConfig.
Enums§
- Command
Name AndArgs - Command name and arguments specified by config.
- Config
ArgKind - Configuration source/data type provided as command-line argument.
Constants§
Functions§
- config_
from_ environment - Initializes stacked config with the given
default_layersand infallible sources. - default_
config_ layers - default_
config_ migrations - List of rules to migrate deprecated config variables.
- find_
all_ variables - Return all variable names found in the args, without the dollar sign
- interpolate_
variables - parse_
config_ args - Parses
--config*arguments. - parse_
value_ or_ bare_ string - Parses a TOML value expression. Interprets the given value as string if it can’t be parsed and doesn’t look like a TOML expression.
- resolved_
config_ values - Collects values under the given
filter_prefixname recursively, from all layers. - to_
serializable_ value - Converts
ConfigValue(ortoml_edit::Value) totoml::Valuewhich implementsserde::Serialize.