[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", "trace"] }
utoipa = { version = "5.4", features = ["chrono", "uuid"] }
utoipa-swagger-ui = { version = "9.0", features = ["axum", "vendored"] }
service_kit = { version = "0.1.2" }

# Shared Contracts
common-contracts = { path = "../common-contracts", default-features = false }

# Message Queue (NATS)
async-nats = "0.45.0"
futures-util = "0.3"
async-stream = "0.3"

# HTTP Client
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }

# 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"
chrono = "0.4.42"
