Browse Source

Update axum feature set used

async
Jonas Platte 4 years ago
parent
commit
3933bd9a8e
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
  1. 1
      Cargo.lock
  2. 2
      Cargo.toml

1
Cargo.lock generated

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

2
Cargo.toml

@ -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"] }

Loading…
Cancel
Save