From 49403ba04e53753675d2c93d17bd72a567603851 Mon Sep 17 00:00:00 2001 From: Jakub Wieczorek Date: Sat, 30 Dec 2023 13:52:15 +0100 Subject: [PATCH] Upgrade the `http` dependency to 1.0.0. --- Cargo.lock | 25 ++++++++++++++++++------- worker-sandbox/Cargo.toml | 2 +- worker/Cargo.toml | 2 +- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b0186a0..38170ab2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -446,7 +446,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.9", "indexmap", "slab", "tokio", @@ -510,6 +510,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" @@ -517,7 +528,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.9", "pin-project-lite", ] @@ -544,7 +555,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "httparse", "httpdate", @@ -1133,7 +1144,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "hyper", "hyper-tls", @@ -1785,7 +1796,7 @@ dependencies = [ "base64 0.13.1", "byteorder", "bytes", - "http", + "http 0.2.9", "httparse", "log", "rand", @@ -2354,7 +2365,7 @@ dependencies = [ "chrono-tz", "futures-channel", "futures-util", - "http", + "http 1.0.0", "js-sys", "matchit", "pin-project", @@ -2427,7 +2438,7 @@ dependencies = [ "futures-util", "getrandom", "hex", - "http", + "http 1.0.0", "md5", "rand", "regex", diff --git a/worker-sandbox/Cargo.toml b/worker-sandbox/Cargo.toml index 10026c7a..e8d26be0 100644 --- a/worker-sandbox/Cargo.toml +++ b/worker-sandbox/Cargo.toml @@ -22,7 +22,7 @@ cfg-if = "1.0.0" console_error_panic_hook = { version = "0.1.7", optional = true } getrandom = { version = "0.2.10", features = ["js"] } hex = "0.4.3" -http = "0.2.9" +http = "1.0.0" regex = "1.8.4" serde = { version = "1.0.164", features = ["derive"] } serde_json = "1.0.96" diff --git a/worker/Cargo.toml b/worker/Cargo.toml index c45a3180..151d5104 100644 --- a/worker/Cargo.toml +++ b/worker/Cargo.toml @@ -19,7 +19,7 @@ chrono = { version = "0.4.26", default-features = false, features = [ chrono-tz = { version = "0.8.2", default-features = false } futures-channel = "0.3.28" futures-util = { version = "0.3.28", default-features = false } -http = "0.2.9" +http = "1.0.0" js-sys = "0.3.63" matchit = "0.4.6" pin-project = "1.1.0"