tesser-config

Crates.iotesser-config
lib.rstesser-config
version0.9.3
created_at2025-11-19 03:45:13.593599+00
updated_at2025-12-04 04:48:26.367763+00
descriptionConfiguration loading and typed settings for Tesser components
homepage
repositoryhttps://github.com/tesserspace/tesser
max_upload_size
id1939375
size29,913
Zijing Zhang (pluveto)

documentation

README

tesser-config

Layered configuration loader shared by every binary in the workspace.

Overview

  • Wraps the config crate to merge config/default.toml, config/{env}.toml, config/local.toml, and TESSER_* environment variables.
  • Exposes strongly typed structs (AppConfig, ExchangeConfig, LiveRuntimeConfig, etc.) consumed by tesser-cli and other binaries.
  • Handles defaults for data paths, log levels, backtest equity, live state path, metrics bind address, and alert thresholds.

Usage

let cfg = tesser_config::load_config(Some("default"))?;
println!("Data path: {}", cfg.data_path.display());

Tests

cargo test -p tesser-config
Commit count: 0

cargo fmt