From 84fedabab3cc86a025f9885f0a057cfd06b31f92 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 18 Mar 2023 21:34:56 -0300 Subject: [PATCH] chore: bump http to ^0.29.0 (#18259) `http` is very stable, it's safe to "unpin" it from `=0.28.0` version. This helps embedders that depend on newer version of `http` crate. --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- ext/flash/lib.rs | 2 +- ext/websocket/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 264db40b8e..979b396541 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2100,9 +2100,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" dependencies = [ "bytes", "fnv", diff --git a/Cargo.toml b/Cargo.toml index 0cd96c9915..aecad5d135 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,7 +91,7 @@ encoding_rs = "=0.8.31" flate2 = "=1.0.24" fs3 = "0.5.0" futures = "0.3.21" -http = "=0.2.8" +http = "0.2.9" hyper = "0.14.18" indexmap = { version = "1.9.2", features = ["serde"] } libc = "0.2.126" diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs index b6a586d1fe..21686379a4 100644 --- a/ext/flash/lib.rs +++ b/ext/flash/lib.rs @@ -22,11 +22,11 @@ use deno_core::ZeroCopyBuf; use deno_core::V8_WRAPPER_OBJECT_INDEX; use deno_tls::load_certs; use deno_tls::load_private_keys; -use http::header::HeaderName; use http::header::CONNECTION; use http::header::CONTENT_LENGTH; use http::header::EXPECT; use http::header::TRANSFER_ENCODING; +use http::HeaderName; use http::HeaderValue; use log::trace; use mio::net::TcpListener; diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index 24a290b4be..4195f39b8b 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -20,7 +20,7 @@ use deno_core::Resource; use deno_core::ResourceId; use deno_core::ZeroCopyBuf; use deno_tls::create_client_config; -use http::header::HeaderName; +use http::HeaderName; use http::HeaderValue; use http::Method; use http::Request;