[package]
name = "lightningstor-server"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "LightningStor object storage server"

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

[dependencies]
lightningstor-types = { workspace = true }
lightningstor-api = { workspace = true }
lightningstor-distributed = { workspace = true }
lightningstor-storage = { workspace = true }
chainfire-client = { path = "../../../chainfire/chainfire-client" }
flaredb-client = { path = "../../../flaredb/crates/flaredb-client" }
iam-api = { path = "../../../iam/crates/iam-api" }
iam-service-auth = { path = "../../../iam/crates/iam-service-auth" }
tonic = { workspace = true }
tonic-health = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
futures = { workspace = true }
axum = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true }
http = { workspace = true }
http-body-util = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
metrics-exporter-prometheus = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_urlencoded = "0.7"
url = "2.5"
toml = { workspace = true }
quick-xml = { workspace = true }
bytes = { workspace = true }
dashmap = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
base64 = { workspace = true }
hex = { workspace = true }
hmac = "0.12"
md-5 = { workspace = true }
sha2 = { workspace = true }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "sqlite"] }

[dev-dependencies]
tempfile = "3"

[lints]
workspace = true
