From 4025c5b1176f9d1a0fc1c85c478a34e35627581d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:36:10 +0000 Subject: [PATCH] fix(deps): update rust crate hyper to v1 --- Cargo.lock | 51 +++++++++++++++++++++++++++++++++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 46 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85ada295..cf972170 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -203,7 +203,7 @@ dependencies = [ "futures-util", "getrandom", "hex", - "hyper", + "hyper 1.0.1", "if-addrs", "jsonwebtoken", "mime_guess", @@ -284,7 +284,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87651e5b8ed9cb4a20c04296bfae1a4d10cf2546f0e057328ccb742c55fbc91e" dependencies = [ "futures-util", - "hyper", + "hyper 0.14.27", "rustls-pemfile", "thiserror", "tokio", @@ -406,6 +406,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" @@ -413,10 +424,20 @@ 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 = "httparse" version = "1.8.0" @@ -439,8 +460,8 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.9", + "http-body 0.4.5", "httparse", "httpdate", "itoa", @@ -452,6 +473,24 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "403f9214f3e703236b221f1a9cd88ec8b4adfa5296de01ab96216361f4692f56" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.0.0", + "http-body 1.0.0", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "tokio", +] + [[package]] name = "idna" version = "0.3.0" @@ -1229,7 +1268,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "rand", diff --git a/Cargo.toml b/Cargo.toml index 5d59eea4..46328404 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ once_cell = "1.18.0" serde_json = "1.0.108" tracing = { version = "0.1.40", features = ["release_max_level_debug"] } tracing-subscriber = "0.3.18" -hyper = { version = "0.14.27", features = ["server", "http1"] } +hyper = { version = "1.0.1", features = ["server", "http1"] } tokio-tungstenite = "0.20.1" getrandom = "0.2.11" hex = "0.4.3"