[package]
name = "bindcar"
version = "0.5.1"
edition = "2021"
rust-version = "1.75"
authors = ["Erick Bourgeois <firestoned@firestoned.io>"]
license = "MIT"
description = "HTTP REST API for managing BIND9 zones via rndc"
repository = "https://github.com/firestoned/bindcar"
keywords = ["dns", "bind9", "rndc", "api", "kubernetes"]
categories = ["api-bindings", "network-programming", "web-programming::http-server"]
readme = "README.md"
[lib]
name = "bindcar"
path = "src/lib.rs"
[[bin]]
name = "bindcar"
path = "src/main.rs"
[dependencies]
axum = "0.8"
tower = "0.5"
tower-http = { version = "0.6", features = ["trace"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = "0.4"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
anyhow = "1.0"
thiserror = "1.0"
utoipa = { version = "5", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9", features = ["axum"] }
prometheus = "0.14"
lazy_static = "1.4"
tower_governor = "0.8"
rndc = "0.1.3"
nom = "7"
kube = { version = "2.0", features = ["client", "rustls-tls"], optional = true }
k8s-openapi = { version = "0.26", default-features = false, optional = true }
[features]
default = []
k8s-token-review = ["kube", "k8s-openapi"]
[dev-dependencies]
serde_json = "1.0"
tower = { version = "0.5", features = ["util"] }
serial_test = "3.2"
tempfile = "3.14"
k8s-openapi = { version = "0.26", features = ["v1_31"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true