chore(deps): use axum-extra
This commit is contained in:
parent
1e1f673642
commit
c2ba56ee13
1 changed files with 8 additions and 2 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -10,7 +10,13 @@ documentation = "https://docs.rs/activitypub_federation/"
|
|||
|
||||
[features]
|
||||
default = ["axum"]
|
||||
axum = ["dep:axum", "dep:tower", "dep:hyper", "dep:http-body-util"]
|
||||
axum = [
|
||||
"dep:axum",
|
||||
"dep:axum-extra",
|
||||
"dep:tower",
|
||||
"dep:hyper",
|
||||
"dep:http-body-util",
|
||||
]
|
||||
diesel = ["dep:diesel"]
|
||||
|
||||
[lints.rust]
|
||||
|
|
@ -84,8 +90,8 @@ moka = { version = "0.12.8", features = ["future"] }
|
|||
# Axum
|
||||
axum = { version = "0.7.5", features = [
|
||||
"json",
|
||||
"headers",
|
||||
], default-features = false, optional = true }
|
||||
axum-extra = { version = "0.9.3", optional = true }
|
||||
tower = { version = "0.4.13", optional = true }
|
||||
hyper = { version = "1.4.1", optional = true }
|
||||
http-body-util = { version = "0.1.2", optional = true }
|
||||
|
|
|
|||
Loading…
Reference in a new issue