Crate forgeconf_core

Crate forgeconf_core 

Source
Expand description

Runtime primitives exposed to the macro-generated code.

Modules§

validators

Structs§

CliArguments
Pulls overrides from std::env::args.
ConfigBuilder
Builder that merges a set of ConfigSource instances.
ConfigFile
Source backed by a configuration file on disk.

Enums§

ConfigError
Unified error returned by the runtime components.
ConfigNode
Representation of a configuration tree.
FileFormat
Supported on-disk formats.

Traits§

ConfigSource
Trait implemented by configuration sources (files, CLI, etc).
FromNode
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 overlay take precedence.