From 13b55df1d0f83ccb12eced6a9a7a1f392157843d Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Wed, 27 Apr 2022 15:14:55 +0200 Subject: [PATCH] chore: update tower-http (#985) * Update tower-http * one more update --- examples/Cargo.toml | 2 +- tests/compression/Cargo.toml | 2 +- tests/integration_tests/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index a917042..cbf2897 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -225,7 +225,7 @@ h2 = "0.3" tokio-rustls = "*" hyper-rustls = { version = "0.23", features = ["http2"] } rustls-pemfile = "*" -tower-http = { version = "0.2", features = ["add-extension"] } +tower-http = { version = "0.3", features = ["add-extension"] } [build-dependencies] diff --git a/tests/compression/Cargo.toml b/tests/compression/Cargo.toml index 5a59f56..f97fd6f 100644 --- a/tests/compression/Cargo.toml +++ b/tests/compression/Cargo.toml @@ -18,7 +18,7 @@ tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = {version = "0.1.5", features = ["net"]} tonic = {path = "../../tonic", features = ["compression"]} tower = {version = "0.4", features = []} -tower-http = {version = "0.2", features = ["map-response-body", "map-request-body"]} +tower-http = {version = "0.3", features = ["map-response-body", "map-request-body"]} [build-dependencies] tonic-build = {path = "../../tonic-build", features = ["compression"]} diff --git a/tests/integration_tests/Cargo.toml b/tests/integration_tests/Cargo.toml index 543f8e0..8afd94d 100644 --- a/tests/integration_tests/Cargo.toml +++ b/tests/integration_tests/Cargo.toml @@ -23,7 +23,7 @@ http-body = "0.4" hyper = "0.14" tokio-stream = {version = "0.1.5", features = ["net"]} tower = {version = "0.4", features = []} -tower-http = { version = "0.2", features = ["set-header", "trace"] } +tower-http = { version = "0.3", features = ["set-header", "trace"] } tower-service = "0.3" tracing-subscriber = {version = "0.3", features = ["env-filter"]}