chore: Update to tower-http 0.4 (#1296)

* chore: Update to tower-http 0.4

* chore(tonic): Update to axum 0.6.9
This commit is contained in:
tottoto
2023-02-27 14:33:14 +00:00
committed by GitHub
parent d6041a99c2
commit 838d91aca3
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -250,7 +250,7 @@ tower = ["dep:futures", "dep:hyper", "dep:tower", "dep:http"]
json-codec = ["dep:serde", "dep:serde_json", "dep:bytes"]
compression = ["tonic/gzip"]
tls = ["tonic/tls"]
tls-rustls = ["dep:hyper", "dep:hyper-rustls", "dep:tower", "tower-http/add-extension", "dep:rustls-pemfile", "dep:tokio-rustls"]
tls-rustls = ["dep:hyper", "dep:hyper-rustls", "dep:tower", "tower-http/util", "tower-http/add-extension", "dep:rustls-pemfile", "dep:tokio-rustls"]
dynamic-load-balance = ["dep:tower"]
timeout = ["tokio/time", "dep:tower"]
tls-client-auth = ["tonic/tls"]
@@ -287,7 +287,7 @@ h2 = { version = "0.3", optional = true }
tokio-rustls = { version = "0.23", optional = true }
hyper-rustls = { version = "0.23", features = ["http2"], optional = true }
rustls-pemfile = { version = "1", optional = true }
tower-http = { version = "0.3", optional = true }
tower-http = { version = "0.4", optional = true }
[build-dependencies]
tonic-build = { path = "../tonic-build", features = ["prost"] }