Crate config_tools

Source

Re-exports§

pub use builder::ConfigBuilder;

Modules§

builder

Macros§

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.

Structs§

Config
Represents an INI-style configuration, including both general values (not tied to any section) and sectioned key-value pairs.

Enums§

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.

Traits§

Section

Derive Macros§

FromSection
Derives the Section trait for a struct.