Add axum-extra integration

This commit is contained in:
Diggory Blake 2023-08-14 12:31:02 +01:00
parent 7cd323a0fa
commit bf9ed6ae36
No known key found for this signature in database
GPG key ID: E6BDFA83146ABD40
2 changed files with 18 additions and 2 deletions

View file

@ -14,12 +14,16 @@ all-features = true
default = []
async = ["async-trait"]
axum = ["dep:axum", "async", "tracing", "thiserror"]
axum-extra = ["axum", "dep:axum-extra"]
[dependencies]
parking_lot = "0.12.1"
anymap = { version = "1.0.0-beta.2", features = ["hashbrown"] }
async-trait = { version = "0.1", optional = true }
axum = { version = "0.6", optional = true }
axum-extra = { version = "0.7.7", optional = true, features = [
"cookie-private",
] }
tracing = { version = "0.1", optional = true }
thiserror = { version = "1.0", optional = true }
anyhow = { version = "1.0" }