From 95ebc0d7e056273ce228c2f237a9b915f2208b3e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 01:27:03 +0000 Subject: [PATCH] chore(deps): bump hyper from 0.14.30 to 1.4.1 Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.30 to 1.4.1. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v0.14.30...v1.4.1) --- updated-dependencies: - dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 33 ++++++++++++++++++++++++++++++--- discovery/Cargo.toml | 2 +- transport/Cargo.toml | 2 +- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 995952b0..fb7ce3a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -329,6 +329,12 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "attohttpc" version = "0.24.1" @@ -1759,7 +1765,7 @@ dependencies = [ "base64 0.22.1", "chrono", "futures", - "hyper 0.14.30", + "hyper 1.4.1", "log", "rand 0.8.5", "reqwest", @@ -1829,7 +1835,7 @@ dependencies = [ "exocore-core", "exocore-protos", "futures", - "hyper 0.14.30", + "hyper 1.4.1", "libp2p", "libp2p-identity", "libp2p-mplex", @@ -2262,6 +2268,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "h2" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.1.0", + "indexmap 2.4.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "half" version = "2.4.1" @@ -2516,7 +2541,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", + "h2 0.3.26", "http 0.2.12", "http-body 0.4.6", "httparse", @@ -2539,9 +2564,11 @@ dependencies = [ "bytes", "futures-channel", "futures-util", + "h2 0.4.6", "http 1.1.0", "http-body 1.0.1", "httparse", + "httpdate", "itoa", "pin-project-lite", "smallvec", diff --git a/discovery/Cargo.toml b/discovery/Cargo.toml index d7bb717a..47c240cf 100644 --- a/discovery/Cargo.toml +++ b/discovery/Cargo.toml @@ -28,7 +28,7 @@ thiserror = "1.0.63" wasm-timer = "0.2.5" # For server -hyper = { version = "0.14.30", features = ["full"], optional = true } +hyper = { version = "1.4.1", features = ["full"], optional = true } tokio = { version = "1.39.3", default-features = false, features = ["macros", "time"], optional = true } [[test]] diff --git a/transport/Cargo.toml b/transport/Cargo.toml index 9ae39ebb..ce08f757 100644 --- a/transport/Cargo.toml +++ b/transport/Cargo.toml @@ -24,7 +24,7 @@ bytes = "1.7.1" exocore-core = {version = "0.1.25", path = "../core"} exocore-protos = {version = "0.1.25", path = "../protos"} futures = "0.3.30" -hyper = {version = "0.14.30", features = ["full"], optional = true} +hyper = {version = "1.4.1", features = ["full"], optional = true} libp2p = {version = "0.53.2", optional = true, default-features = false, features = ["noise", "websocket", "yamux", "ping", "identify", "macros", "tokio", "dns"]} libp2p-identity = { version = "0.2.9", features = ["secp256k1", "ed25519"], default-features = false } libp2p-mplex = {version = "0.41.0", optional = true}