From 12e20e851e0087669a6cd6a8ca70ebfa044eb91d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:43:45 +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 710f93fda..ab82ba16d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -323,6 +323,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" @@ -1752,7 +1758,7 @@ dependencies = [ "base64 0.22.1", "chrono", "futures", - "hyper 0.14.30", + "hyper 1.4.1", "log", "rand 0.8.5", "reqwest", @@ -1822,7 +1828,7 @@ dependencies = [ "exocore-core", "exocore-protos", "futures", - "hyper 0.14.30", + "hyper 1.4.1", "libp2p", "libp2p-identity", "libp2p-mplex", @@ -2255,6 +2261,25 @@ dependencies = [ "tracing", ] +[[package]] +name = "h2" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http 1.1.0", + "indexmap 2.2.6", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "half" version = "2.4.1" @@ -2509,7 +2534,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", + "h2 0.3.26", "http 0.2.12", "http-body 0.4.6", "httparse", @@ -2532,9 +2557,11 @@ dependencies = [ "bytes", "futures-channel", "futures-util", + "h2 0.4.5", "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 9382cc31e..702bb85d3 100644 --- a/discovery/Cargo.toml +++ b/discovery/Cargo.toml @@ -28,7 +28,7 @@ thiserror = "1.0.59" wasm-timer = "0.2.5" # For server -hyper = { version = "0.14.28", features = ["full"], optional = true } +hyper = { version = "1.4.1", features = ["full"], optional = true } tokio = { version = "1.38.0", default-features = false, features = ["macros", "time"], optional = true } [[test]] diff --git a/transport/Cargo.toml b/transport/Cargo.toml index 3dadfa4e9..1e45c6641 100644 --- a/transport/Cargo.toml +++ b/transport/Cargo.toml @@ -24,7 +24,7 @@ bytes = "1.6.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.28", 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}