Skip to main content

relay_knowledge/env/
mod.rs

1//! Environment variable boundary for runtime configuration.
2//!
3//! This module is the only production boundary that reads process environment
4//! variables. It normalizes platform directory inputs and relay-specific
5//! overrides into typed structures before application, path, or network code
6//! consumes them.
7
8mod config;
9mod error;
10mod overrides;
11mod platform;
12mod value_parser;
13mod variables;
14
15pub use config::{EnvironmentConfig, RemoteCliEnvironmentConfig};
16pub use error::{EnvError, EnvErrorKind};
17pub use overrides::{
18    AgentEnvOverrides, FileIndexEnvOverrides, NetworkEnvOverrides, PathEnvOverrides,
19    RemoteCliEnvOverrides, RetrievalEnvOverrides, TelemetryEnvOverrides, UpdateEnvOverrides,
20    WatcherEnvOverrides, WorkerEnvOverrides,
21};
22pub use platform::{PlatformEnvironment, PlatformKind};
23pub use variables::*;
24
25pub(crate) use platform::windows_system_root_from_process;