Skip to main content

Module env_source

Module env_source 

Source
Expand description

The execution environment, behind a trait (spec §4.1 line type 3, ${env:NAME}).

${env:NAME} passthrough reads from the process environment at resolution time. Behind EnvSource so the resolver is tested deterministically with MockEnvSource; production uses SystemEnvSource.

Structs§

MockEnvSource
An in-memory environment for tests.
SystemEnvSource
The real process environment (std::env::var).

Traits§

EnvSource
A read-only view of named environment variables.