Module loading

Module loading 

Source

Structs§

ConfigBuilderLoader
SecretBackendLoader
Loader for secrets backends.
SourceLoader

Enums§

ComponentHint
Provides a hint to the loading system of the type of components that should be found when traversing an explicitly named directory.

Statics§

COLLECTOR
CONFIG_PATHS

Traits§

Loader
Loader represents the public part of the loading interface. Includes methods for loading from a file or folder, and accessing the final deserialized T value via the take method.

Functions§

interpolate
load
load_from_paths
load_from_paths_with_provider_and_secrets
Loads a configuration from paths. Handle secret replacement and if a provider is present in the builder, the config is used as bootstrapping for a remote source. Otherwise, provider instantiation is skipped.
load_from_str
load_from_str_with_secrets
load_source_from_paths
Uses SourceLoader to process ConfigPaths, deserializing to a toml SourceMap.
merge_path_lists
Merge the paths coming from different cli flags with different formats into a unified list of paths with formats.
prepare_input
process_paths
Expand a list of paths (potentially containing glob patterns) into real config paths, replacing it with the default paths when empty.