Added configurable user agents that get served the text version by default

This commit is contained in:
Slatian
2023-02-21 10:00:10 +01:00
parent c4379d4c19
commit c7ba9a6346
6 changed files with 71 additions and 3 deletions

View File

@ -7,7 +7,7 @@ authors = ["Slatian <baschdel@disroot.org>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.6", features = ["macros"] }
axum = { version = "0.6", features = ["macros", "headers"] }
axum-client-ip = "0.4"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }