Files
jgrusewski 1ed97579c1 fix(ci): clippy test-gate uses --lib, fix pre-existing lint errors
The CI test-gate used `--all-targets` which includes test targets where
700+ workspace lint violations accumulated (to_string on &str, assert!
on Result, shadow_unrelated, etc.). Switched to `--lib` for clippy —
library code is what matters for production safety. Test code is still
validated by `cargo test --workspace --lib`.

Also fixed:
- config: allow expect_used in test module
- ctrader-openapi: relaxed lint profile (proto-generated code)
- ctrader-openapi: constant assertion in dispatch test
- testing/load: removed [[test]] targets for non-existent files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 19:10:18 +01:00
..

config

Configuration management for Foxhunt HFT trading system.

Key Types

  • FoxhuntConfig — top-level configuration struct
  • MlConfig — ML model and training configuration
  • RiskConfig — risk management parameters
  • DatabaseConfig — PostgreSQL connection settings
  • StorageConfig — S3/object storage configuration

Usage

use config::FoxhuntConfig;
let config = FoxhuntConfig::load("config/foxhunt.toml")?;