Switch from axum to axum-core and http
This will hopefully keep dependency churn lower.
This commit is contained in:
parent
cbc313ec52
commit
f4b3588ae1
3 changed files with 25 additions and 7 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue