Expand description
Traits and types consumed by the Config derive macro. Re-export from confgr_core.
Enums§
- Confgr
Error - Shared error type for configuration-related errors.
Traits§
- Confgr
- Provides a unified approach to load configurations from environment variables, files, and default settings. This trait is typically derived using a macro to automate implementations based on struct field names and annotations.
- Empty
- Creates an empty configuration layer, used to initialize all
None’s, instead ofDefault. - FromEnv
- Deserializes a configuration layer from environment variables.
- From
File - Deserializes a configuration layer from a file.
- Merge
- Merges configuration layers. Self takes precedence over other.