Skip to main content

Crate tt_config

Crate tt_config 

Source
Expand description

Layered configuration loader.

Minimal env-var loader for the Gateway. Adds layered file (yaml/toml) and CLI-flag merging in later iterations when those callers exist.

§Reading

use tt_config::Config;
let cfg = Config::from_env().expect("env vars valid");

§Conventions

Structs§

Config
Gateway runtime configuration.

Enums§

ConfigError
Top-level errors from config loading.