Move 17 library crates into crates/, CLI binary into bin/fxt, consolidate 10 test crates into testing/, split config crate from deployment config files. Root directory reduced from 38+ to ~17 directories. All Cargo.toml paths and build.rs proto refs updated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
62 lines
1.2 KiB
TOML
62 lines
1.2 KiB
TOML
[package]
|
|
name = "test_harness"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# Core async runtime
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-test = "0.4"
|
|
tokio-stream = "0.1"
|
|
|
|
# gRPC and protobuf
|
|
tonic = "0.14"
|
|
tonic-prost = "0.14"
|
|
prost = "0.14"
|
|
prost-types = "0.14"
|
|
|
|
# Database
|
|
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "json", "bigdecimal"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
|
|
# Time and UUID
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
|
|
# Numerical
|
|
rust_decimal = { version = "1.32", features = ["serde-float"] }
|
|
bigdecimal = "0.4"
|
|
|
|
# Utilities
|
|
futures = "0.3"
|
|
rand = "0.8"
|
|
|
|
# Testing
|
|
assert_matches = "1.5"
|
|
|
|
# Local dependencies
|
|
trading_engine = { path = "../../crates/trading_engine" }
|
|
data = { path = "../../crates/data" }
|
|
ml = { path = "../../crates/ml" }
|
|
risk = { path = "../../crates/risk" }
|
|
config = { path = "../../crates/config" }
|
|
common = { path = "../../crates/common" }
|
|
|
|
|
|
[build-dependencies]
|
|
tonic-prost-build = "0.14"
|
|
|
|
[lib]
|
|
name = "test_harness"
|
|
path = "lib.rs"
|