Crate pepe_config

source ·

Modules§

Structs§

  • A prioritized configuration repository. It maintains a set of configuration sources, fetches values to populate those, and provides them according to the source’s priority.
  • A configuration builder
  • An environment source collects a dictionary of environment variables values into a hierarchical config Value type. We have to be aware how the config tree is created from the environment dictionary, therefore we are mindful about prefixes for the environment keys, level separators, encoding form (kebab, snake case) etc.
  • A configuration source backed up by a file.
  • Describes a file sourced from a file
  • Describes a file sourced from a string
  • Wrapper type for values that contains secrets, which attempts to limit accidental exposure and ensure secrets are wiped from memory when dropped. (e.g. passwords, cryptographic keys, access tokens or other credentials)
  • A configuration value.

Enums§

  • Defines the type of casing a string can be.
  • Represents all possible errors that can occur when working with configuration.
  • File formats provided by the library.
  • Underlying kind of the configuration value.

Traits§

Functions§

Type Aliases§