Files
foxhunt/testing/service-load/Cargo.toml
jgrusewski 9c3d741a08 refactor: restructure repo — crates/, bin/, testing/ layout
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>
2026-02-25 11:56:00 +01:00

74 lines
1.7 KiB
TOML

[package]
name = "trading_service_load_tests"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description = "Load testing suite for trading service throughput validation"
# SQLx offline mode disabled for load tests (no compile-time verification needed)
# Queries are validated at runtime during test execution
[lib]
name = "trading_service_load_tests"
path = "src/lib.rs"
[[bin]]
name = "throughput_validator"
path = "src/main.rs"
[dependencies]
# Core async runtime
tokio = { workspace = true }
tokio-stream.workspace = true
futures.workspace = true
# gRPC clients
tonic = { workspace = true, features = ["transport", "tls-ring", "tls-webpki-roots"] }
tonic-prost.workspace = true
prost.workspace = true
# Metrics and histograms
hdrhistogram = "7.5"
prometheus.workspace = true
# System monitoring
sysinfo = "0.34"
# Data structures for concurrency
dashmap = "6.0"
parking_lot.workspace = true
# Serialization and configuration
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
toml.workspace = true
# CLI and utilities
clap = { version = "4.5", features = ["derive"] }
anyhow.workspace = true
thiserror.workspace = true
chrono.workspace = true
uuid.workspace = true
rand.workspace = true
# Authentication
jsonwebtoken = "9.3"
base64.workspace = true
# Logging
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["env-filter"] }
# Internal dependencies
common = { workspace = true }
trading_engine = { workspace = true }
[build-dependencies]
tonic-prost-build.workspace = true
prost-build.workspace = true
[dev-dependencies]
sqlx = { workspace = true, features = ["macros", "postgres", "runtime-tokio-rustls", "uuid", "chrono"] }