Files
foxhunt/trading-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

48 lines
1.0 KiB
TOML

[package]
name = "trading-data"
version = "0.1.0"
edition = "2021"
authors = ["Foxhunt Trading System"]
license = "MIT"
description = "Trading data repository layer for high-frequency trading system"
[dependencies]
# Database layer
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "rust_decimal"] }
# Async runtime
tokio = { version = "1.0", features = ["full"] }
async-trait = "0.1"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Financial types
rust_decimal = { version = "1.32", features = ["serde", "db-postgres"] }
rust_decimal_macros = "1.32"
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Unique identifiers
uuid = { version = "1.0", features = ["v4", "serde"] }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Logging
tracing = "0.1"
# Internal workspace crates
common = { path = "../common" }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.0"
rstest = "0.18"
[features]
default = []
test-utils = []