From b426ec44ddeaf02ff9c7c81cc2e76cef3a0764e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 04:19:44 +0000 Subject: [PATCH] chore(deps): Bump tower-http from 0.4.4 to 0.5.1 Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.4.4 to 0.5.1. - [Release notes](https://github.com/tower-rs/tower-http/releases) - [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.4.4...tower-http-0.5.1) --- updated-dependencies: - dependency-name: tower-http dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 75 +++++++++++++++++++++++++++++++++++++++++------------- Cargo.toml | 2 +- 2 files changed, 59 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f9aaf04aae424..c9f2bca7bd300 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -867,7 +867,7 @@ dependencies = [ "aws-types", "bytes 1.5.0", "http 0.2.9", - "http-body", + "http-body 0.4.5", "pin-project-lite", "tracing 0.1.40", ] @@ -1028,7 +1028,7 @@ dependencies = [ "aws-types", "bytes 1.5.0", "http 0.2.9", - "http-body", + "http-body 0.4.5", "once_cell", "percent-encoding", "regex", @@ -1151,7 +1151,7 @@ dependencies = [ "crc32fast", "hex", "http 0.2.9", - "http-body", + "http-body 0.4.5", "md-5", "pin-project-lite", "sha1", @@ -1183,7 +1183,7 @@ dependencies = [ "bytes-utils", "futures-core", "http 0.2.9", - "http-body", + "http-body 0.4.5", "once_cell", "percent-encoding", "pin-project-lite", @@ -1224,7 +1224,7 @@ dependencies = [ "fastrand 2.0.1", "h2 0.3.22", "http 0.2.9", - "http-body", + "http-body 0.4.5", "hyper", "hyper-rustls", "once_cell", @@ -1261,7 +1261,7 @@ dependencies = [ "bytes-utils", "futures-core", "http 0.2.9", - "http-body", + "http-body 0.4.5", "itoa", "num-integer", "pin-project-lite", @@ -1307,7 +1307,7 @@ dependencies = [ "bytes 1.5.0", "futures-util", "http 0.2.9", - "http-body", + "http-body 0.4.5", "hyper", "itoa", "matchit", @@ -1334,7 +1334,7 @@ dependencies = [ "bytes 1.5.0", "futures-util", "http 0.2.9", - "http-body", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", @@ -4156,6 +4156,29 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes 1.5.0", + "http 1.0.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" +dependencies = [ + "bytes 1.5.0", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", + "pin-project-lite", +] + [[package]] name = "http-range-header" version = "0.3.1" @@ -4223,7 +4246,7 @@ dependencies = [ "futures-util", "h2 0.3.22", "http 0.2.9", - "http-body", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -4765,7 +4788,7 @@ dependencies = [ "either", "futures 0.3.30", "http 0.2.9", - "http-body", + "http-body 0.4.5", "hyper", "hyper-openssl", "hyper-timeout", @@ -4783,7 +4806,7 @@ dependencies = [ "tokio", "tokio-util", "tower", - "tower-http", + "tower-http 0.4.4", "tracing 0.1.40", ] @@ -7453,7 +7476,7 @@ dependencies = [ "futures-util", "h2 0.3.22", "http 0.2.9", - "http-body", + "http-body 0.4.5", "hyper", "hyper-rustls", "hyper-tls", @@ -9178,7 +9201,7 @@ dependencies = [ "flate2", "h2 0.3.22", "http 0.2.9", - "http-body", + "http-body 0.4.5", "hyper", "hyper-timeout", "percent-encoding", @@ -9248,17 +9271,35 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "async-compression", "base64 0.21.7", "bitflags 2.4.1", "bytes 1.5.0", "futures-core", "futures-util", "http 0.2.9", - "http-body", + "http-body 0.4.5", "http-range-header", "mime", "pin-project-lite", + "tower-layer", + "tower-service", + "tracing 0.1.40", +] + +[[package]] +name = "tower-http" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0da193277a4e2c33e59e09b5861580c33dd0a637c3883d0fa74ba40c0374af2e" +dependencies = [ + "async-compression", + "bitflags 2.4.1", + "bytes 1.5.0", + "futures-core", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", + "pin-project-lite", "tokio", "tokio-util", "tower-layer", @@ -9895,7 +9936,7 @@ dependencies = [ "hickory-proto", "hostname", "http 0.2.9", - "http-body", + "http-body 0.4.5", "http-serde", "hyper", "hyper-openssl", @@ -9986,7 +10027,7 @@ dependencies = [ "tonic", "tonic-build 0.10.2", "tower", - "tower-http", + "tower-http 0.5.1", "tower-test", "tracing 0.1.40", "tracing-core 0.1.32", diff --git a/Cargo.toml b/Cargo.toml index 7d44cf64b6a87..59cecd00476a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -188,7 +188,7 @@ opendal = {version = "0.44", default-features = false, features = ["native-tls", # Tower tower = { version = "0.4.13", default-features = false, features = ["buffer", "limit", "retry", "timeout", "util", "balance", "discover"] } -tower-http = { version = "0.4.4", default-features = false, features = ["decompression-gzip", "trace"]} +tower-http = { version = "0.5.1", default-features = false, features = ["decompression-gzip", "trace"]} # Serde serde = { version = "1.0.195", default-features = false, features = ["derive"] } serde-toml-merge = { version = "0.3.3", default-features = false }