- Fixed all FromPrimitive imports across codebase - Resolved all common::types import paths (219+ files) - Fixed Volume constructor issues (type alias vs struct) - Resolved all E0308 type mismatches - Fixed ExecutionReport and BrokerError imports - Added missing Price arithmetic assignment traits - Fixed Decimal to_f64 method calls with ToPrimitive - Eliminated all re-exports per architectural rules Errors reduced from 436 to 106 - 76% reduction achieved
38 lines
1011 B
TOML
38 lines
1011 B
TOML
[package]
|
|
name = "database"
|
|
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 = "Database schemas and utilities for Foxhunt HFT Trading System"
|
|
|
|
[dependencies]
|
|
# Database dependencies
|
|
sqlx = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
chrono = { workspace = true }
|
|
uuid = { workspace = true }
|
|
rust_decimal = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
# Internal workspace crates
|
|
trading_engine = { workspace = true }
|
|
common = { path = "../common" }
|
|
|
|
# Configuration
|
|
config = { path = "../crates/config" }
|
|
|
|
[dev-dependencies]
|
|
tokio-test = { workspace = true }
|
|
tempfile = { workspace = true } |