[package]
name = "creditservice-api"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "Reference quota and admission service integrated with Photon auth"

[dependencies]
creditservice-types = { workspace = true }
creditservice-proto = { workspace = true }
photon-auth-client = { workspace = true }
apigateway-api = { path = "../../../apigateway/crates/apigateway-api" }
flaredb-client = { workspace = true }
iam-types = { path = "../../../iam/crates/iam-types" }

tokio = { workspace = true }
tonic = { workspace = true }
tonic-health = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }

async-trait = { workspace = true }
tracing = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
reqwest = { workspace = true }
thiserror = { workspace = true }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "sqlite"] }
