[package]
name = "flashdns-server"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "FlashDNS authoritative DNS server"

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

[dependencies]
flashdns-types = { workspace = true }
flashdns-api = { workspace = true }
chainfire-client = { path = "../../../chainfire/chainfire-client" }
flaredb-client = { path = "../../../flaredb/crates/flaredb-client" }
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 }
async-trait = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
metrics-exporter-prometheus = { workspace = true }
config = { workspace = true }
toml = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
bytes = { workspace = true }
dashmap = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
trust-dns-proto = { workspace = true }
ipnet = { workspace = true }
base64 = "0.22"
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "sqlite"] }

[lints]
workspace = true
