diff --git a/Cargo.lock b/Cargo.lock index 4702b0a..7cb0311 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -664,7 +664,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", "indexmap", "slab", "tokio", @@ -725,6 +725,16 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8be7462df143984c4598a256ef469b251d7d7f9e271135073e78fc535414f3d0" +dependencies = [ + "bytes", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -732,7 +742,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.12", "pin-project-lite", ] @@ -747,7 +757,7 @@ dependencies = [ "eyre", "futures", "hex", - "http", + "http 1.4.1", "hyper", "hyper-rustls", "opendal", @@ -798,7 +808,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.12", "http-body", "httparse", "httpdate", @@ -818,7 +828,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", + "http 0.2.12", "hyper", "log", "rustls", @@ -1132,7 +1142,7 @@ dependencies = [ "flagset", "futures", "getrandom", - "http", + "http 0.2.12", "log", "md-5", "once_cell", @@ -1408,7 +1418,7 @@ dependencies = [ "hex", "hmac", "home", - "http", + "http 0.2.12", "jsonwebtoken", "log", "percent-encoding", @@ -1433,7 +1443,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.12", "http-body", "hyper", "hyper-rustls", @@ -2040,7 +2050,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", + "http 0.2.12", "http-body", "http-range-header", "pin-project-lite", diff --git a/Cargo.toml b/Cargo.toml index 1f266a9..c95c731 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ dotenv = "0.15.0" eyre = "0.6.12" url = "2.5.0" futures = "0.3.30" -http = { version = "0.2.12" } +http = { version = "1.0.0" } hyper = { version = "0.14.28", features = ["client", "server", "stream"] } hyper-rustls = { version = "0.24.2", features = ["http2"] } tokio-util = { version = "0.7.11", features = ["compat"] }