- secrecy: migrate Secret<String> -> SecretString across services; adjust usages - warnings: clean unused imports/structs (no behavior change) - docker-compose: remove unnecessary host port mappings; rely on app-network; keep frontend only - build: set build.context to repo root; reference per-service Dockerfiles - add: root .dockerignore to exclude target/node_modules/ref/archive/docs and logs - data-persistence-service: refine cargo-chef with path deps; slim context; copy correct targets - Dockerfiles: normalize multi-stage builds; fix WORKDIR and release binary paths - nats: resolve 4222 conflict by not binding to host - verified: all rust services build successfully with new flow
39 lines
773 B
TOML
39 lines
773 B
TOML
[package]
|
|
name = "api-gateway"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
# Web Service
|
|
axum = "0.8.7"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tower-http = { version = "0.6.6", features = ["cors"] }
|
|
|
|
# Shared Contracts
|
|
common-contracts = { path = "../common-contracts" }
|
|
|
|
# Message Queue (NATS)
|
|
async-nats = "0.45.0"
|
|
futures-util = "0.3"
|
|
|
|
# HTTP Client
|
|
reqwest = { version = "0.12", features = ["json"] }
|
|
|
|
# Concurrency & Async
|
|
uuid = { version = "1.8", features = ["v4"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Logging & Telemetry
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Configuration
|
|
config = "0.15.19"
|
|
|
|
# Error Handling
|
|
thiserror = "2.0.17"
|
|
anyhow = "1.0"
|