From 9dc64f2e68c517f139d90f4a3553d715548cc840 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Dec 2023 09:52:40 +0000 Subject: [PATCH] Bump h2 from 0.3.22 to 0.4.0 Bumps [h2](https://github.com/hyperium/h2) from 0.3.22 to 0.4.0. - [Release notes](https://github.com/hyperium/h2/releases) - [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/h2/compare/v0.3.22...v0.4.0) --- updated-dependencies: - dependency-name: h2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 52 +++++++++++++++++++++++++++++++++++++++++----------- Cargo.toml | 2 +- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0cf44ba..b18778c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -217,7 +217,7 @@ dependencies = [ "bitflags 1.3.2", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "hyper", "itoa", @@ -243,7 +243,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "rustversion", @@ -875,7 +875,26 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", + "indexmap 2.1.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "h2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d308f63daf4181410c242d34c11f928dcb3aa105852019e043c9d1f4e4368a" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http 1.0.0", "indexmap 2.1.0", "slab", "tokio", @@ -954,6 +973,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.6" @@ -961,7 +991,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -993,8 +1023,8 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", - "http", + "h2 0.3.22", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -2052,8 +2082,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "h2", - "http", + "h2 0.3.22", + "http 0.2.11", "http-body", "hyper", "hyper-timeout", @@ -2160,7 +2190,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.11", "httparse", "log", "rand", @@ -2275,10 +2305,10 @@ dependencies = [ "futures-util", "generic-array", "gentian", - "h2", + "h2 0.4.0", "hkdf", "hmac", - "http", + "http 0.2.11", "hyper", "libc", "log", diff --git a/Cargo.toml b/Cargo.toml index 679af9d2..bda2b28f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ uuid = {version = "1.3", features = ["std", "v4"]} #cidr_matcher={git="https://github.com/Qv2ray/CIDRMatcher"} brotli = "3.3.4" gentian = "0.1.8" -h2 = "0.3.20" +h2 = "0.4.0" http = "0.2" hyper = {version = "0.14.27", features = ["http1", "http2", "client", "server"]} libc = "0.2"