From 20c7c07dc00236b2d74aaed8c79a805aec54f89e Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 2 Mar 2023 16:21:13 +0000 Subject: [PATCH] fix http version req --- actix-http-test/Cargo.toml | 2 +- actix-http/CHANGES.md | 4 ++++ actix-http/Cargo.toml | 2 +- actix-router/Cargo.toml | 4 ++-- actix-web/Cargo.toml | 1 - awc/Cargo.toml | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/actix-http-test/Cargo.toml b/actix-http-test/Cargo.toml index cd5e87162..cb4754125 100644 --- a/actix-http-test/Cargo.toml +++ b/actix-http-test/Cargo.toml @@ -39,7 +39,7 @@ awc = { version = "3", default-features = false } bytes = "1" futures-core = { version = "0.3.17", default-features = false } -http = "0.2.5" +http = "0.2.7" log = "0.4" socket2 = "0.4" serde = "1.0" diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index 3a7af60af..29cc22d35 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -2,6 +2,10 @@ ## Unreleased - 2023-xx-xx +### Fixed + +- Use correct `http` version requirement to ensure support for const `HeaderName` definitions. + ## 3.3.0 - 2023-01-21 ### Added diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 108b2314a..77fcd4243 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -68,7 +68,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.5" +http = "0.2.7" httparse = "1.5.1" httpdate = "1.0.1" itoa = "1" diff --git a/actix-router/Cargo.toml b/actix-router/Cargo.toml index f3a5f15e4..f8efd5350 100644 --- a/actix-router/Cargo.toml +++ b/actix-router/Cargo.toml @@ -21,14 +21,14 @@ default = ["http"] [dependencies] bytestring = ">=0.1.5, <2" -http = { version = "0.2.5", optional = true } +http = { version = "0.2.7", optional = true } regex = "1.5" serde = "1" tracing = { version = "0.1.30", default-features = false, features = ["log"] } [dev-dependencies] criterion = { version = "0.4", features = ["html_reports"] } -http = "0.2.5" +http = "0.2.7" serde = { version = "1", features = ["derive"] } percent-encoding = "2.1" diff --git a/actix-web/Cargo.toml b/actix-web/Cargo.toml index 664379c79..c7314422d 100644 --- a/actix-web/Cargo.toml +++ b/actix-web/Cargo.toml @@ -81,7 +81,6 @@ derive_more = "0.99.8" encoding_rs = "0.8" futures-core = { version = "0.3.17", default-features = false } futures-util = { version = "0.3.17", default-features = false } -http = "0.2.8" itoa = "1" language-tags = "0.3" log = "0.4" diff --git a/awc/Cargo.toml b/awc/Cargo.toml index 8a75e28f7..8edc90fd1 100644 --- a/awc/Cargo.toml +++ b/awc/Cargo.toml @@ -69,7 +69,7 @@ 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.9" -http = "0.2.5" +http = "0.2.7" itoa = "1" log =" 0.4" mime = "0.3"