yodel/options
Configuration options for loading and parsing config files.
Note: These types are re-exported from the main yodel module.
Use the builder functions in yodel to construct options rather than
importing this module directly.
Types
The format of the configuration file.
pub type Format {
Auto
Json
Toml
Yaml
}
Constructors
-
AutoAutomatically detect format
-
JsonParse as JSON
-
TomlParse as TOML
-
YamlParse as YAML
Configuration options for loading config files.
Create options using yodel.default_options() and configure using
builder functions like yodel.with_format() and yodel.with_resolve_mode().
pub opaque type Options
The resolve mode for environment variable placeholders.
pub type ResolveMode {
Strict
Lenient
}
Constructors
-
StrictFail if any placeholder cannot be resolved
-
LenientPreserve unresolved placeholders in the output