Update axum feature set used

This commit is contained in:
Jonas Platte 2022-03-31 22:52:16 +02:00
parent db0659cb3d
commit 3933bd9a8e
No known key found for this signature in database
GPG key ID: 7D261D771D915378
2 changed files with 1 additions and 2 deletions

1
Cargo.lock generated
View file

@ -145,7 +145,6 @@ dependencies = [
"pin-project-lite",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper",
"tokio",
"tower",

View file

@ -14,7 +14,7 @@ edition = "2021"
[dependencies]
# Web framework
axum = { version = "0.5.0", features = ["headers"], optional = true }
axum = { version = "0.5.0", default-features = false, features = ["headers", "http1", "http2", "json", "matched-path"], optional = true }
axum-server = { version = "0.3.3", features = ["tls-rustls"] }
tower = { version = "0.4.11", features = ["util"] }
tower-http = { version = "0.2.1", features = ["add-extension", "cors", "compression-full", "sensitive-headers", "trace", "util"] }