From 287c59fce19bbe096f85430cee84d42190bc55c0 Mon Sep 17 00:00:00 2001 From: Gunnar Schulze Date: Thu, 8 Aug 2024 21:29:55 +0200 Subject: [PATCH] chore: bump versions of 'h2' and 'http' --- actix-http-test/CHANGES.md | 5 +++++ actix-http-test/Cargo.toml | 2 +- actix-http/CHANGES.md | 5 +++++ actix-http/Cargo.toml | 4 ++-- actix-router/CHANGES.md | 5 +++++ actix-router/Cargo.toml | 4 ++-- awc/CHANGES.md | 5 +++++ awc/Cargo.toml | 4 ++-- 8 files changed, 27 insertions(+), 7 deletions(-) diff --git a/actix-http-test/CHANGES.md b/actix-http-test/CHANGES.md index 4d133e3ec..4e99676e4 100644 --- a/actix-http-test/CHANGES.md +++ b/actix-http-test/CHANGES.md @@ -4,6 +4,11 @@ - Minimum supported Rust version (MSRV) is now 1.72. +### Dependencies + +- Updated `h2` to `0.4.5`. +- Updated `http` to `1.1.0`. + ## 3.2.0 - Minimum supported Rust version (MSRV) is now 1.68 due to transitive `time` dependency. diff --git a/actix-http-test/Cargo.toml b/actix-http-test/Cargo.toml index 7ccb70a45..080c4fd1f 100644 --- a/actix-http-test/Cargo.toml +++ b/actix-http-test/Cargo.toml @@ -47,7 +47,7 @@ awc = { version = "3", default-features = false } bytes = "1" futures-core = { version = "0.3.17", default-features = false } -http = "0.2.7" +http = "1.1.0" log = "0.4" socket2 = "0.5" serde = "1" diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index b2e5af79f..c566ac6c9 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -2,6 +2,11 @@ ## Unreleased +### Dependencies + +- Updated `h2` to `0.4.5`. +- Updated `http` to `1.1.0`. + ### Added - Implement `FromIterator<(HeaderName, HeaderValue)>` for `HeaderMap`. diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 8fb31da4f..702ae59ab 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -113,7 +113,7 @@ bytestring = "1" derive_more = "0.99.5" encoding_rs = "0.8" futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] } -http = "0.2.7" +http = "1.1.0" httparse = "1.5.1" httpdate = "1.0.1" itoa = "1" @@ -127,7 +127,7 @@ tokio-util = { version = "0.7", features = ["io", "codec"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } # http2 -h2 = { version = "0.3.26", optional = true } +h2 = { version = "0.4.5", optional = true } # websockets local-channel = { version = "0.1", optional = true } diff --git a/actix-router/CHANGES.md b/actix-router/CHANGES.md index 6305b45c3..89d3b4091 100644 --- a/actix-router/CHANGES.md +++ b/actix-router/CHANGES.md @@ -2,6 +2,11 @@ ## Unreleased +### Dependencies + +- Updated `h2` to `0.4.5`. +- Updated `http` to `1.1.0`. + ## 0.5.3 - Add `unicode` crate feature (on-by-default) to switch between `regex` and `regex-lite` as a trade-off between full unicode support and binary size. diff --git a/actix-router/Cargo.toml b/actix-router/Cargo.toml index 7def1bdb4..9e6bc882c 100644 --- a/actix-router/Cargo.toml +++ b/actix-router/Cargo.toml @@ -26,7 +26,7 @@ unicode = ["dep:regex"] [dependencies] bytestring = ">=0.1.5, <2" cfg-if = "1" -http = { version = "0.2.7", optional = true } +http = { version = "1.1.0", optional = true } regex = { version = "1.5", optional = true } regex-lite = "0.1" serde = "1" @@ -34,7 +34,7 @@ tracing = { version = "0.1.30", default-features = false, features = ["log"] } [dev-dependencies] criterion = { version = "0.5", features = ["html_reports"] } -http = "0.2.7" +http = "1.1.0" serde = { version = "1", features = ["derive"] } percent-encoding = "2.1" diff --git a/awc/CHANGES.md b/awc/CHANGES.md index 54c5e9869..abead81da 100644 --- a/awc/CHANGES.md +++ b/awc/CHANGES.md @@ -2,6 +2,11 @@ ## Unreleased +### Dependencies + +- Updated `h2` to `0.4.5`. +- Updated `http` to `1.1.0`. + ## 3.5.0 - Add `rustls-0_23`, `rustls-0_23-webpki-roots`, and `rustls-0_23-native-roots` crate features. diff --git a/awc/Cargo.toml b/awc/Cargo.toml index 353ca0d54..b0b9b60d8 100644 --- a/awc/Cargo.toml +++ b/awc/Cargo.toml @@ -109,8 +109,8 @@ cfg-if = "1" derive_more = "0.99.5" futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] } futures-util = { version = "0.3.17", default-features = false, features = ["alloc", "sink"] } -h2 = "0.3.26" -http = "0.2.7" +h2 = "0.4.5" +http = "1.1.0" itoa = "1" log =" 0.4" mime = "0.3"