From c99580ec51f85e9c719bbdee542608715d739bc7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 05:33:26 +0000 Subject: [PATCH] Bump tower-http from 0.4.4 to 0.5.0 in /loremaster-web-server Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.4.4 to 0.5.0. - [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.0) --- updated-dependencies: - dependency-name: tower-http dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- loremaster-web-server/Cargo.lock | 78 +++++++++++++++++++++++--------- loremaster-web-server/Cargo.toml | 2 +- 2 files changed, 57 insertions(+), 23 deletions(-) diff --git a/loremaster-web-server/Cargo.lock b/loremaster-web-server/Cargo.lock index ff0f5234..f5e646c0 100644 --- a/loremaster-web-server/Cargo.lock +++ b/loremaster-web-server/Cargo.lock @@ -195,8 +195,8 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "hyper", "itoa", "matchit", @@ -227,8 +227,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "mime", "rustversion", "tower-layer", @@ -246,8 +246,8 @@ dependencies = [ "bytes", "cookie", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "mime", "pin-project-lite", "serde", @@ -267,8 +267,8 @@ dependencies = [ "arc-swap", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "hyper", "pin-project-lite", "rustls", @@ -817,7 +817,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.9", "indexmap", "slab", "tokio", @@ -859,7 +859,7 @@ dependencies = [ "bitflags 1.3.2", "bytes", "headers-core", - "http", + "http 0.2.9", "httpdate", "mime", "sha1", @@ -871,7 +871,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.9", ] [[package]] @@ -933,6 +933,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -940,15 +951,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.9", + "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", + "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", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", "pin-project-lite", ] [[package]] name = "http-range-header" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" +checksum = "3ce4ef31cda248bbdb6e6820603b82dfcd9e833db65a43e997a0ccec777d11fe" [[package]] name = "httparse" @@ -979,8 +1013,8 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -2301,16 +2335,16 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "09e12e6351354851911bdf8c2b8f2ab15050c567d70a8b9a37ae7b8301a4080d" dependencies = [ "bitflags 2.3.2", "bytes", - "futures-core", "futures-util", - "http", - "http-body", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", "http-range-header", "httpdate", "mime", @@ -2384,7 +2418,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "rand", diff --git a/loremaster-web-server/Cargo.toml b/loremaster-web-server/Cargo.toml index 2b5ae947..eb0fc5d0 100644 --- a/loremaster-web-server/Cargo.toml +++ b/loremaster-web-server/Cargo.toml @@ -61,7 +61,7 @@ tokio = { version = "1.34.0", features = ["full"] } tokio-stream = { version = "0.1.14" } tokio-test = { version = "0.4.3" } # Tower middleware and utilities for HTTP clients and servers -tower-http = { version = "0.4.4", features = ["cors", "fs"] } +tower-http = { version = "0.5.0", features = ["cors", "fs"] } # Implementation of Universally Unique Identifiers (Uuid) uuid = { version = "1.6.0", features = ["v4", "serde"] } webauthn-rs = { version = "0.4.8", features = [