Crate config_tools
Source pub use builder::ConfigBuilder;
- builder
- general_defaults
- Generate a
Config
object with default values in a section entitled “DEFAULT”.
Variables are supported in key and value fields, but must be strings. - sectioned_defaults
- Generate a
Config
object with sections and default values.
Variables are supported in section, key, and value fields, but must be strings.
- Config
- Represents an INI-style configuration, including both general
values (not tied to any section) and sectioned key-value pairs.
- Error
- Represents errors that may occur during loading, saving, or parsing
configuration files.
- LoadOutcome
- The result of loading a configuration, indicating whether the config was
loaded from a file or constructed from a default fallback.
- Section
- FromSection
- Derives the
Section
trait for a struct.