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>
80 lines
2.1 KiB
TOML
80 lines
2.1 KiB
TOML
[package]
|
|
name = "data-acquisition-service"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "Data Acquisition Service - Automated Databento data downloading and storage for HFT trading"
|
|
|
|
[dependencies]
|
|
# Core async and utilities - USE WORKSPACE
|
|
tokio.workspace = true
|
|
uuid.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
chrono.workspace = true
|
|
thiserror.workspace = true
|
|
anyhow.workspace = true
|
|
clap.workspace = true
|
|
|
|
# gRPC and protocol buffers - USE WORKSPACE
|
|
tonic.workspace = true
|
|
tonic-prost.workspace = true
|
|
tonic-health.workspace = true
|
|
tonic-reflection.workspace = true
|
|
prost.workspace = true
|
|
prost-types.workspace = true
|
|
|
|
# Database - USE WORKSPACE
|
|
sqlx.workspace = true
|
|
|
|
# Async streams and utilities - USE WORKSPACE
|
|
tokio-stream.workspace = true
|
|
tokio-util.workspace = true
|
|
futures.workspace = true
|
|
async-stream.workspace = true
|
|
async-trait.workspace = true
|
|
tokio-retry.workspace = true
|
|
|
|
# Logging, tracing and metrics - USE WORKSPACE
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
metrics.workspace = true
|
|
prometheus.workspace = true
|
|
once_cell.workspace = true
|
|
|
|
# Utilities - USE WORKSPACE
|
|
axum.workspace = true # Health endpoint HTTP server
|
|
reqwest.workspace = true # HTTP client for Databento API
|
|
bytes.workspace = true
|
|
|
|
# TLS (using explicit version since not in workspace)
|
|
rustls = { version = "0.23", features = ["ring"] }
|
|
|
|
# Internal workspace crates
|
|
config = { workspace = true, features = ["postgres"] }
|
|
common = { workspace = true, features = ["database"] }
|
|
storage.workspace = true
|
|
|
|
# Object store dependencies for MinIO/S3 integration
|
|
object_store = { workspace = true, features = ["aws"] }
|
|
|
|
# DBN (Databento Binary) for data format handling
|
|
dbn = "0.42.0"
|
|
|
|
[build-dependencies]
|
|
tonic-prost-build.workspace = true
|
|
prost-build.workspace = true
|
|
|
|
[[bin]]
|
|
name = "data-acquisition-service"
|
|
path = "src/main.rs"
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
tower.workspace = true
|
|
tower-test = "0.4.0"
|
|
mockito = "1.2" # HTTP mocking for tests
|
|
sha2 = "0.10" # Checksum calculation for tests
|