Files
foxhunt/services/broker_gateway_service/Cargo.toml
jgrusewski e047c1eea3 refactor: rename all service crates to kebab-case
Rename 7 service binaries from snake_case to kebab-case to match
K8s deployment names. Update Cargo.toml package/bin names, K8s
manifest S3 paths and commands, and cross-crate dependency keys.

- api_gateway → api-gateway
- trading_service → trading-service
- broker_gateway_service → broker-gateway
- ml_training_service → ml-training-service
- backtesting_service → backtesting-service
- trading_agent_service → trading-agent-service
- data_acquisition_service → data-acquisition-service

broker-gateway gets an explicit [lib] name = "broker_gateway_service"
since its new package name maps to broker_gateway (not the original
broker_gateway_service used in source code). All other services map
correctly with Rust's automatic hyphen-to-underscore conversion.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 22:06:00 +01:00

86 lines
2.1 KiB
TOML

[package]
name = "broker-gateway"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description = "Broker Gateway Service - FIX order routing to AMP Futures (CQG)"
[lib]
name = "broker_gateway_service"
path = "src/lib.rs"
[[bin]]
name = "broker-gateway"
path = "src/main.rs"
[dependencies]
# Core async and utilities
tokio.workspace = true
anyhow.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
serde.workspace = true
serde_json.workspace = true
once_cell.workspace = true
# gRPC and networking
tonic = { workspace = true, features = ["transport", "server", "tls-ring", "tls-webpki-roots"] }
tonic-prost.workspace = true
tonic-reflection.workspace = true
tonic-health.workspace = true
prost.workspace = true
tower.workspace = true
hyper.workspace = true
http-body-util.workspace = true
hyper-util.workspace = true
bytes.workspace = true
# Async streams
tokio-stream.workspace = true
async-stream.workspace = true
futures.workspace = true
async-trait.workspace = true
# Performance monitoring
prometheus.workspace = true
axum.workspace = true
# Database and caching
sqlx = { workspace = true, features = ["postgres", "chrono", "uuid", "json", "macros", "runtime-tokio"] }
redis = { workspace = true, features = ["tokio-comp", "connection-manager"] }
# Cryptography and security
sha2.workspace = true
base64.workspace = true
chrono.workspace = true
# Utilities
thiserror.workspace = true
uuid.workspace = true
num-traits.workspace = true
rust_decimal.workspace = true
# Internal workspace crates
common = { workspace = true, features = ["database"] }
config = { workspace = true, features = ["postgres"] }
ctrader-openapi = { workspace = true }
trading_engine = { workspace = true }
[features]
default = []
[build-dependencies]
tonic-prost-build.workspace = true
prost-build.workspace = true
[dev-dependencies]
serial_test = "3.0"
criterion = { version = "0.5", features = ["async_tokio", "html_reports"] }
tokio-test = "0.4"
[[bench]]
name = "end_to_end_latency"
harness = false