diff --git a/Cargo.lock b/Cargo.lock index 8dca956e..ca1a3d72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -468,7 +468,7 @@ dependencies = [ "base64 0.21.7", "bytes", "headers-core", - "http", + "http 0.2.12", "httpdate", "mime", "sha1", @@ -480,7 +480,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.12", ] [[package]] @@ -532,6 +532,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -539,10 +550,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.12", "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.2.0", +] + [[package]] name = "httparse" version = "1.9.5" @@ -565,8 +586,8 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.12", + "http-body 0.4.6", "httparse", "httpdate", "itoa", @@ -578,6 +599,18 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +dependencies = [ + "bytes", + "http 1.2.0", + "http-body 1.0.1", + "tokio", +] + [[package]] name = "hyper-proxy" version = "0.9.1" @@ -587,8 +620,8 @@ dependencies = [ "bytes", "futures", "headers", - "http", - "hyper", + "http 0.2.12", + "hyper 0.14.32", "hyper-tls", "native-tls", "tokio", @@ -604,7 +637,7 @@ checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "ct-logs", "futures-util", - "hyper", + "hyper 0.14.32", "log", "rustls", "rustls-native-certs", @@ -620,7 +653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.32", "native-tls", "tokio", "tokio-native-tls", @@ -630,7 +663,7 @@ dependencies = [ name = "iqhttp" version = "0.3.0-pre" dependencies = [ - "hyper", + "hyper 1.6.0", "hyper-proxy", "hyper-rustls", "serde", diff --git a/iqhttp/Cargo.toml b/iqhttp/Cargo.toml index 7229975c..3bf503a9 100644 --- a/iqhttp/Cargo.toml +++ b/iqhttp/Cargo.toml @@ -16,7 +16,7 @@ edition = "2021" rust-version = "1.63" [dependencies] -hyper = "0.14.10" +hyper = "1.6.0" hyper-rustls = { version = "0.22", features = ["rustls-native-certs"] } # optional dependencies