Files
foxhunt/risk-data/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

64 lines
1.4 KiB
TOML

[package]
name = "risk-data"
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
description = "Risk data repository for high-frequency trading risk management"
[dependencies]
# Core workspace dependencies
trading_engine = { path = "../trading_engine" }
common = { path = "../common" }
# Database dependencies
sqlx.workspace = true
redis.workspace = true
# Async runtime and utilities
tokio.workspace = true
futures.workspace = true
async-trait.workspace = true
# Serialization and data handling
serde.workspace = true
serde_json.workspace = true
chrono.workspace = true
uuid.workspace = true
rust_decimal.workspace = true
# Risk calculation dependencies
statrs.workspace = true
ndarray.workspace = true
num-traits.workspace = true
# Logging and monitoring
tracing.workspace = true
prometheus.workspace = true
# Error handling
thiserror.workspace = true
anyhow.workspace = true
# Performance utilities
dashmap.workspace = true
smallvec.workspace = true
parking_lot.workspace = true
# Development and testing dependencies
[dev-dependencies]
tokio-test.workspace = true
tempfile.workspace = true
rstest.workspace = true
proptest.workspace = true
# testcontainers.workspace = true # REMOVED - too heavy
[lints]
workspace = true