diff --git a/actix-http-test/Cargo.toml b/actix-http-test/Cargo.toml index bfb0a3539..222bc0465 100644 --- a/actix-http-test/Cargo.toml +++ b/actix-http-test/Cargo.toml @@ -39,8 +39,8 @@ awc = { version = "3", default-features = false } bytes = "1" futures-core = { version = "0.3.17", default-features = false } -http = "0.2.7" -log = "0.4" +http = "1" +log = "0.4.7" socket2 = "0.5" serde = "1" serde_json = "1" diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index a999e73c8..70aa1cb46 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -92,7 +92,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" httparse = "1.5.1" httpdate = "1.0.1" itoa = "1" @@ -106,7 +106,7 @@ tokio-util = { version = "0.7", features = ["io", "codec"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } # http2 -h2 = { version = "0.3.24", optional = true } +h2 = { version = "0.4.5", optional = true } # websockets local-channel = { version = "0.1", optional = true } diff --git a/actix-router/Cargo.toml b/actix-router/Cargo.toml index 56e4bed2f..e3fae1901 100644 --- a/actix-router/Cargo.toml +++ b/actix-router/Cargo.toml @@ -24,7 +24,7 @@ unicode = ["dep:regex"] [dependencies] bytestring = ">=0.1.5, <2" cfg-if = "1" -http = { version = "0.2.7", optional = true } +http = { version = "1", optional = true } regex = { version = "1.5", optional = true } regex-lite = "0.1" serde = "1" @@ -32,7 +32,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" serde = { version = "1", features = ["derive"] } percent-encoding = "2.1" diff --git a/awc/Cargo.toml b/awc/Cargo.toml index f51b3904b..96952fefd 100644 --- a/awc/Cargo.toml +++ b/awc/Cargo.toml @@ -92,8 +92,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.24" -http = "0.2.7" +h2 = "0.4.5" +http = "1" itoa = "1" log =" 0.4" mime = "0.3"