dotenv-typed 11.2.0

Zero-dependency .env file parser, variable interpolation engine, typed environment configuration loader, and secret-redacting Debug wrapper.
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

/// Layered environment configuration source combining `.env` files, explicit overrides, and OS env vars.
#[derive(Clone, Debug, Default)]
pub struct EnvConfig {
    /// Layered key-value pairs where later layers override earlier ones.
    pub(crate) values: BTreeMap<String, String>,
    /// Optional key prefix automatically prepended to lookups (e.g. `APP_`).
    pub(crate) prefix: String,
}