axum based webservice works.

This commit is contained in:
Micha Glave
2026-01-06 14:25:54 +01:00
commit 4c86b21ca7
7 changed files with 1830 additions and 0 deletions

15
Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
[package]
name = "tiny-dns"
version = "0.1.0"
edition = "2024"
[dependencies]
axum = { version = "0.8", features = ["macros"] }
hickory-server = "0.25"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
maud = { version = "0.27", features = ["axum"] }
http = "1.4"
tracing = "0.1"
tower-http = { version = "0.6.8", features = ["fs", "tracing"] }