[package]
name = "apigateway-server"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "HTTP API gateway (scaffold)"

[[bin]]
name = "apigateway-server"
path = "src/main.rs"

[dependencies]
apigateway-api = { workspace = true }
axum = { workspace = true }
clap = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tonic = { workspace = true }
tokio = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
async-trait = { workspace = true }
uuid = { workspace = true }
futures-core = "0.3"
bytes = "1"

[dev-dependencies]
iam-api = { path = "../../../iam/crates/iam-api" }
iam-authn = { path = "../../../iam/crates/iam-authn" }
iam-authz = { path = "../../../iam/crates/iam-authz" }
iam-service-auth = { path = "../../../iam/crates/iam-service-auth" }
iam-store = { path = "../../../iam/crates/iam-store" }
iam-types = { path = "../../../iam/crates/iam-types" }
creditservice-api = { path = "../../../creditservice/crates/creditservice-api" }
creditservice-types = { path = "../../../creditservice/crates/creditservice-types" }
tokio-stream = "0.1"
