Re-exports§
pub use coerce::Value;
Modules§
- coerce
- Parse env strings into Rust primitives (shared by validation and
#[derive(Envro)]).
Structs§
- Field
- A composable field spec.
- Schema
- A collection of
(key, Field)specs. - Validation
Issue - A single validation failure for one key (or list element).
Enums§
Traits§
- Envro
Config - Typed config loaded from env vars via
#[derive(Envro)].
Functions§
- expand_
vars - Expand
${VAR}refs across a map, order-independent. - load_
dotenv - load .env file into process.env var
- load_
dotenv_ in_ env_ vars - Load vars from an env file into process environment variables.
- load_
dotenv_ validated - Load a
.envfile and validate it in one step. - validate
- Validate an arbitrary
EnvroVarsmap against a schema. - validate_
env - Validate the process environment against a schema.