From 6c26a4d67366525b3d3b7d722a55d3c8a86c9415 Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Fri, 20 Sep 2024 00:13:54 +0000 Subject: [PATCH] fix(deps): update rust crate tower-http to 0.6.0 --- Cargo.lock | 48 +++++++++++++++++++-------------- crates/cibus_backend/Cargo.toml | 2 +- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7bd3e3a..be9ebb1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -108,7 +108,7 @@ dependencies = [ "async-graphql-value", "async-stream", "async-trait", - "base64 0.22.1", + "base64", "bytes", "fast_chemail", "fnv", @@ -248,7 +248,7 @@ dependencies = [ "serde_urlencoded", "sync_wrapper 1.0.0", "tokio", - "tower", + "tower 0.4.13", "tower-layer", "tower-service", "tracing", @@ -290,12 +290,6 @@ dependencies = [ "rustc-demangle", ] -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - [[package]] name = "base64" version = "0.22.1" @@ -1584,7 +1578,7 @@ version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425" dependencies = [ - "base64 0.22.1", + "base64", "rustls-pki-types", ] @@ -1897,7 +1891,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64bb4714269afa44aef2755150a0fc19d756fb580a67db8885608cf02f47d06a" dependencies = [ "atoi", - "base64 0.22.1", + "base64", "bitflags 2.5.0", "byteorder", "bytes", @@ -1939,7 +1933,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fa91a732d854c5d7726349bb4bb879bb9478993ceb764247660aee25f67c2f8" dependencies = [ "atoi", - "base64 0.22.1", + "base64", "bitflags 2.5.0", "byteorder", "crc", @@ -2211,13 +2205,27 @@ dependencies = [ ] [[package]] -name = "tower-http" -version = "0.5.2" +name = "tower" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper 0.1.2", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41515cc9e193536d93fd0dbbea0c73819c08eca76e0b30909a325c3ec90985bb" dependencies = [ "async-compression", - "base64 0.21.7", + "base64", "bitflags 2.5.0", "bytes", "futures-core", @@ -2234,7 +2242,7 @@ dependencies = [ "pin-project-lite", "tokio", "tokio-util", - "tower", + "tower 0.5.1", "tower-layer", "tower-service", "tracing", @@ -2243,15 +2251,15 @@ dependencies = [ [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" diff --git a/crates/cibus_backend/Cargo.toml b/crates/cibus_backend/Cargo.toml index a0d0c8c..6db3660 100644 --- a/crates/cibus_backend/Cargo.toml +++ b/crates/cibus_backend/Cargo.toml @@ -15,4 +15,4 @@ anyhow = "1.0.86" dotenv = "0.15.0" tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } -tower-http = { version = "0.5.2", features = ["full"] } +tower-http = { version = "0.6.0", features = ["full"] } -- 2.45.2