diff --git a/Cargo.lock b/Cargo.lock index c9b8e1dd..1f6ccda6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -131,7 +131,7 @@ dependencies = [ "bytes", "futures-util", "headers", - "http", + "http 0.2.11", "http-body", "hyper", "itoa", @@ -160,7 +160,7 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "mime", "rustversion", @@ -177,7 +177,7 @@ dependencies = [ "arc-swap", "bytes", "futures-util", - "http", + "http 0.2.11", "http-body", "hyper", "pin-project-lite", @@ -407,7 +407,7 @@ dependencies = [ "futures-util", "heed", "hmac", - "http", + "http 1.0.0", "hyper", "hyperlocal", "image", @@ -935,7 +935,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap 1.9.3", "slab", "tokio", @@ -977,7 +977,7 @@ dependencies = [ "base64", "bytes", "headers-core", - "http", + "http 0.2.11", "httpdate", "mime", "sha1", @@ -989,7 +989,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.11", ] [[package]] @@ -1077,6 +1077,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -1084,7 +1095,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -1117,7 +1128,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -1137,7 +1148,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" dependencies = [ "futures-util", - "http", + "http 0.2.11", "hyper", "rustls", "tokio", @@ -2072,7 +2083,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "hyper", "hyper-rustls", @@ -2187,7 +2198,7 @@ source = "git+https://github.com/ruma/ruma?rev=5446ea979b314b90da1734f20efaff443 dependencies = [ "assign", "bytes", - "http", + "http 0.2.11", "js_int", "js_option", "maplit", @@ -2207,7 +2218,7 @@ dependencies = [ "base64", "bytes", "form_urlencoded", - "http", + "http 0.2.11", "indexmap 2.0.0", "js_int", "konst", @@ -3047,7 +3058,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", + "http 0.2.11", "http-body", "http-range-header", "pin-project-lite", diff --git a/Cargo.toml b/Cargo.toml index 3e1f73fa..aaa84b8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ persy = { version = "1.4.4", optional = true, features = ["background_ops"] } # Used for the http request / response body type for Ruma endpoints used with reqwest bytes = "1.5.0" -http = "0.2.11" +http = "1.0.0" # Used to find data directory for default db path directories = "5.0.1" # Used for ruma wrapper