Files
foxhunt/risk/Cargo.toml
jgrusewski ea9d8f2c88 🚨 ARCHITECTURAL DISASTER: THREE Competing Type Sources Discovered
## Critical Investigation Results

**DISASTER CONFIRMED**: Agents discovered THREE type sources instead of ONE:
1. foxhunt-common-types/ (SHOULD NOT EXIST - still active!)
2. trading_engine/src/types/ (massive duplication)
3. common/src/types.rs (depends on competing crate)

## Evidence of Violations
- foxhunt-common-types still in workspace members (line 86)
- common/Cargo.toml depends on foxhunt-common-types (line 48)
- 48+ duplicate type definitions across OrderSide, OrderStatus, OrderType
- Compilation failures due to competing imports

## Immediate Action Required
- Choose ONE canonical source
- DELETE foxhunt-common-types completely
- Consolidate ALL types to single source
- Fix THREE-WAY import chaos

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 15:33:34 +02:00

68 lines
1.4 KiB
TOML

[package]
name = "risk"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
publish.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
# Core workspace dependencies
trading_engine = { workspace = true }
config = { workspace = true }
common = { path = "../common" }
chrono.workspace = true
dashmap.workspace = true
futures.workspace = true
num-traits.workspace = true
serde.workspace = true
tokio.workspace = true
tracing.workspace = true
uuid.workspace = true
rust_decimal.workspace = true
statrs.workspace = true
ndarray.workspace = true
num.workspace = true
thiserror.workspace = true
rand.workspace = true
rand_distr = "0.4"
fastrand = "2.0"
# linfa ecosystem REMOVED - not used in codebase
# All ML operations moved to ml crate with candle-core
approx.workspace = true
rayon.workspace = true
orderbook = { workspace = true, optional = true }
anyhow.workspace = true
redis.workspace = true
serde_json.workspace = true
nalgebra.workspace = true
prometheus.workspace = true
lazy_static.workspace = true
async-trait.workspace = true
reqwest.workspace = true
tracing-subscriber.workspace = true
[dev-dependencies]
tokio-test = "0.4"
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.2"
rstest = "0.18"
tempfile = "3.8"
[lints]
workspace = true