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>
48 lines
986 B
TOML
48 lines
986 B
TOML
[package]
|
|
name = "test_common"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# Database
|
|
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "migrate"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Time & UUID
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Decimal math
|
|
rust_decimal = "1.31"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "2.0"
|
|
|
|
# Random number generation
|
|
rand = "0.8"
|
|
|
|
# Testing utilities
|
|
tempfile = "3.8"
|
|
once_cell = "1.19"
|
|
|
|
# Common crate dependencies
|
|
common = { path = "../../crates/common" }
|
|
ml = { path = "../../crates/ml" }
|
|
risk = { path = "../../crates/risk" }
|
|
config = { path = "../../crates/config" }
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|