tesser-config
Layered configuration loader shared by every binary in the workspace.
Overview
- Wraps the
configcrate to mergeconfig/default.toml,config/{env}.toml,config/local.toml, andTESSER_*environment variables. - Exposes strongly typed structs (
AppConfig,ExchangeConfig,LiveRuntimeConfig, etc.) consumed bytesser-cliand other binaries. - Handles defaults for data paths, log levels, backtest equity, live state path, metrics bind address, and alert thresholds.
Usage
let cfg = load_config?;
println!;
Tests