diff options
author | Max <max.csantos@live.com> | 2023-03-18 21:34:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 00:34:56 +0000 |
commit | 84fedabab3cc86a025f9885f0a057cfd06b31f92 (patch) | |
tree | 519e24cb0b93c0751b90bc9940bd16c463d632e8 | |
parent | dd1e6500639c25d73ff63dd8fde6ba093b2b4255 (diff) |
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.
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | ext/flash/lib.rs | 2 | ||||
-rw-r--r-- | ext/websocket/lib.rs | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock index 264db40b8..979b39654 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 0cd96c991..aecad5d13 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 b6a586d1f..21686379a 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 24a290b4b..4195f39b8 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; |