Files
foxhunt/common/Cargo.toml
jgrusewski eb5fe84e22 🔥 COMPILATION SUCCESS: Complete resolution of all 543+ compilation errors
ARCHITECTURAL ACHIEVEMENTS:
 Zero compilation errors across entire workspace
 Complete elimination of circular dependencies
 Proper configuration architecture with centralized config crate
 Fixed all type mismatches and missing fields
 Restored proper crate structure (config at root level)

MAJOR FIXES:
- Fixed 19 critical data crate compilation errors
- Resolved configuration struct field mismatches
- Fixed enum variant naming (CSV → Csv)
- Corrected type conversions (FromPrimitive, compression types)
- Fixed HashMap key types (u32 vs usize)
- Resolved TLOBProcessor constructor issues

WORKSPACE STATUS:
- All services compile successfully
- Trading Service:  Ready
- Backtesting Service:  Ready
- ML Training Service:  Ready
- TLI Client:  Ready

Only documentation warnings remain (3,316 warnings to be addressed)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 10:59:34 +02:00

61 lines
1.5 KiB
TOML

[package]
name = "common"
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 = "Shared utilities and common types for Foxhunt HFT Trading System"
[dependencies]
# Core async and utilities
tokio.workspace = true
futures.workspace = true
async-trait.workspace = true
# Serialization
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
# Error handling
thiserror.workspace = true
anyhow.workspace = true
# Time handling
chrono = { workspace = true, features = ["serde"] }
# Financial types
rust_decimal = { workspace = true, features = ["serde", "macros"] }
num-traits.workspace = true
# Database dependencies
sqlx = { workspace = true, features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "rust_decimal"], optional = true }
redis.workspace = true
# Logging and tracing
tracing.workspace = true
tracing-subscriber.workspace = true
# Configuration
toml.workspace = true
config = { path = "../config" }
# Trading engine dependency removed - common is now the canonical source
# Utilities
uuid = { workspace = true, features = ["v4", "serde"] }
once_cell.workspace = true
[dev-dependencies]
tokio-test.workspace = true
tempfile.workspace = true
[features]
default = ["database"]
database = ["sqlx"]