Switch from axum to axum-core and http

This will hopefully keep dependency churn lower.
This commit is contained in:
Joscha 2024-12-02 20:46:14 +01:00
parent cbc313ec52
commit f4b3588ae1
3 changed files with 25 additions and 7 deletions

View file

@ -9,8 +9,12 @@ license = "MIT OR Apache-2.0"
keywords = ["html", "svg", "mathml", "hiccup"]
categories = ["web-programming", "template-engine"]
[features]
axum = ["dep:axum-core", "dep:http"]
[dependencies]
axum = { version = "0.7.9", optional = true }
axum-core = { version = "0.4.5", optional = true }
http = { version = "1.1.0", optional = true }
[lints]
rust.unsafe_code = { level = "forbid", priority = 1 }