Skip to main content

Crate pf_config

Crate pf_config 

Source
Expand description

pf_config - Layered configuration loader

Sources (in precedence, low -> high):

  • Cargo.toml section (feature: cargo-toml)
  • JSON files
  • .env (feature: dotenv)
  • OS environment variables

This crate is target-agnostic by design; initial implementation is native-only.

Structs§

LoadOptions

Enums§

ConfigError
EnvKeyTransform

Functions§

load_config
load_config_untyped