feat: Implement a new layered architecture for the QR generator, integrating Axum, Maud, and HTMX, and updating documentation.

This commit is contained in:
2025-12-30 03:28:03 +01:00
parent 286e10160f
commit 9f12d44489
25 changed files with 2713 additions and 536 deletions

View File

@@ -1,13 +1,24 @@
[package]
name = "qr-generator"
version = "0.1.0"
edition = "2021"
name = "k-qr"
version = "0.2.0"
edition = "2024"
[dependencies]
axum = { version = "0.7.5", features = ["macros"] }
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread"] }
qrcode = "0.12.0"
image = "0.23.14"
maud = { version = "0.26.0", features = ["axum"] }
tower-http = { version = "0.5.2", features = ["cors"] }
axum = { version = "0.8.8", features = ["macros"] }
tokio = { version = "1.0", features = ["full"] }
maud = { version = "0.27", features = ["axum"] }
qrcode = "0.14"
image = "0.25"
tower-http = { version = "0.6.8", features = ["trace"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0.17"
anyhow = "1.0"
config = "0.15.19"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = "2.5"
base64 = "0.22.1"
async-trait = "0.1.89"
[dev-dependencies]
mockall = "0.14.0"