Update axum feature set used
This commit is contained in:
parent
db0659cb3d
commit
3933bd9a8e
|
@ -145,7 +145,6 @@ dependencies = [
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_urlencoded",
|
|
||||||
"sync_wrapper",
|
"sync_wrapper",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tower",
|
"tower",
|
||||||
|
|
|
@ -14,7 +14,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Web framework
|
# 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"] }
|
axum-server = { version = "0.3.3", features = ["tls-rustls"] }
|
||||||
tower = { version = "0.4.11", features = ["util"] }
|
tower = { version = "0.4.11", features = ["util"] }
|
||||||
tower-http = { version = "0.2.1", features = ["add-extension", "cors", "compression-full", "sensitive-headers", "trace", "util"] }
|
tower-http = { version = "0.2.1", features = ["add-extension", "cors", "compression-full", "sensitive-headers", "trace", "util"] }
|
||||||
|
|
Loading…
Reference in New Issue