Jalil David Salamé Messina
5745e1aaf7
- clean up code to my new (and improved) standards - print better miette diagnostigs for the error tests - add an IP saving feature: save the last IP that successfully updated the records and usa that when restarting the service. This allows seamles upgrades of `webnsupdate` without having to manually trigger a DNS update
34 lines
813 B
TOML
34 lines
813 B
TOML
cargo-features = ["codegen-backend"]
|
|
|
|
[package]
|
|
description = "An HTTP server using HTTP basic auth to make secure calls to nsupdate"
|
|
name = "webnsupdate"
|
|
version = "0.3.0-dev"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
axum = "0.7.7"
|
|
axum-auth = { version = "0.7.0", default-features = false, features = [
|
|
"auth-basic",
|
|
] }
|
|
axum-client-ip = "0.6.1"
|
|
base64 = "0.22.1"
|
|
clap = { version = "4.5.20", features = ["derive", "env"] }
|
|
http = "1.1.0"
|
|
miette = { version = "7.2.0", features = ["fancy"] }
|
|
ring = { version = "0.17.8", features = ["std"] }
|
|
tokio = { version = "1.40.0", features = [
|
|
"macros",
|
|
"rt",
|
|
"process",
|
|
"io-util",
|
|
] }
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|
|
|
[dev-dependencies]
|
|
insta = "1.40.0"
|
|
|
|
[profile.dev]
|
|
debug = 0
|
|
codegen-backend = "cranelift"
|