From b0b97653a9da2c12936e9682fd01053b8f732678 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 26 Feb 2021 16:04:58 +0100 Subject: [PATCH] Rollback reqwest to 0.10.10 --- Cargo.lock | 171 ++++++++++++++++++----------------------------------- Cargo.toml | 2 +- 2 files changed, 57 insertions(+), 116 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96ff9fd..9d9972f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,7 +17,7 @@ dependencies = [ "futures-core", "futures-sink", "log", - "tokio 0.2.22", + "tokio", "tokio-util 0.2.0", ] @@ -33,7 +33,7 @@ dependencies = [ "futures-sink", "log", "pin-project 0.4.23", - "tokio 0.2.22", + "tokio", "tokio-util 0.3.1", ] @@ -82,7 +82,7 @@ dependencies = [ "futures-core", "futures-util", "fxhash", - "h2 0.2.4", + "h2", "http", "httparse", "indexmap", @@ -138,7 +138,7 @@ dependencies = [ "futures-channel", "futures-util", "smallvec", - "tokio 0.2.22", + "tokio", ] [[package]] @@ -153,7 +153,7 @@ dependencies = [ "actix-utils 1.0.6", "futures", "log", - "mio 0.6.21", + "mio", "mio-uds", "net2", "num_cpus", @@ -924,30 +924,10 @@ dependencies = [ "indexmap", "log", "slab", - "tokio 0.2.22", + "tokio", "tokio-util 0.3.1", ] -[[package]] -name = "h2" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b67e66362108efccd8ac053abafc8b7a8d86a37e6e48fc4f6f7485eb5e9e6a5" -dependencies = [ - "bytes 1.0.1", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio 1.2.0", - "tokio-util 0.6.3", - "tracing", - "tracing-futures", -] - [[package]] name = "heck" version = "0.3.1" @@ -1017,11 +997,11 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2861bd27ee074e5ee891e8b539837a9430012e249d7f0ca2d795650f579c1994" +checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ - "bytes 1.0.1", + "bytes 0.5.6", "http", ] @@ -1039,15 +1019,15 @@ checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" [[package]] name = "hyper" -version = "0.14.4" +version = "0.13.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8e946c2b1349055e0b72ae281b238baf1a3ea7307c7e9f9d64673bdd9c26ac7" +checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" dependencies = [ - "bytes 1.0.1", + "bytes 0.5.6", "futures-channel", "futures-core", "futures-util", - "h2 0.3.0", + "h2", "http", "http-body", "httparse", @@ -1055,7 +1035,7 @@ dependencies = [ "itoa", "pin-project 1.0.1", "socket2", - "tokio 1.2.0", + "tokio", "tower-service", "tracing", "want", @@ -1063,15 +1043,15 @@ dependencies = [ [[package]] name = "hyper-tls" -version = "0.5.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" dependencies = [ - "bytes 1.0.1", + "bytes 0.5.6", "hyper", "native-tls", - "tokio 1.2.0", - "tokio-native-tls", + "tokio", + "tokio-tls", ] [[package]] @@ -1324,6 +1304,16 @@ version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" +[[package]] +name = "mime_guess" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2684d4c2e97d99848d30b324b00c8fcc7e5c897b7cbb5819b09e7c90e8baf212" +dependencies = [ + "mime", + "unicase", +] + [[package]] name = "miniz_oxide" version = "0.3.6" @@ -1346,25 +1336,12 @@ dependencies = [ "kernel32-sys", "libc", "log", - "miow 0.2.1", + "miow", "net2", "slab", "winapi 0.2.8", ] -[[package]] -name = "mio" -version = "0.7.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7" -dependencies = [ - "libc", - "log", - "miow 0.3.6", - "ntapi", - "winapi 0.3.8", -] - [[package]] name = "mio-uds" version = "0.6.7" @@ -1373,7 +1350,7 @@ checksum = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" dependencies = [ "iovec", "libc", - "mio 0.6.21", + "mio", ] [[package]] @@ -1388,16 +1365,6 @@ dependencies = [ "ws2_32-sys", ] -[[package]] -name = "miow" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897" -dependencies = [ - "socket2", - "winapi 0.3.8", -] - [[package]] name = "native-tls" version = "0.2.3" @@ -1444,15 +1411,6 @@ dependencies = [ "version_check 0.1.5", ] -[[package]] -name = "ntapi" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a31937dea023539c72ddae0e3571deadc1414b300483fa7aaec176168cfa9d2" -dependencies = [ - "winapi 0.3.8", -] - [[package]] name = "num-integer" version = "0.1.42" @@ -1822,12 +1780,12 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.0" +version = "0.10.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd281b1030aa675fb90aa994d07187645bb3c8fc756ca766e7c3070b439de9de" +checksum = "0718f81a8e14c4dbb3b34cf23dc6aaf9ab8a0dfec160c534b3dbca1aaa21f47c" dependencies = [ "base64 0.13.0", - "bytes 1.0.1", + "bytes 0.5.6", "encoding_rs", "futures-core", "futures-util", @@ -1840,13 +1798,14 @@ dependencies = [ "lazy_static", "log", "mime", + "mime_guess", "native-tls", "percent-encoding", "pin-project-lite 0.2.0", "serde 1.0.123", "serde_urlencoded", - "tokio 1.2.0", - "tokio-native-tls", + "tokio", + "tokio-tls", "url", "wasm-bindgen", "wasm-bindgen-futures", @@ -2307,7 +2266,7 @@ dependencies = [ "lazy_static", "libc", "memchr", - "mio 0.6.21", + "mio", "mio-uds", "pin-project-lite 0.1.4", "signal-hook-registry", @@ -2316,27 +2275,13 @@ dependencies = [ ] [[package]] -name = "tokio" -version = "1.2.0" +name = "tokio-tls" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8190d04c665ea9e6b6a0dc45523ade572c088d2e6566244c1122671dbf4ae3a" -dependencies = [ - "autocfg", - "bytes 1.0.1", - "libc", - "memchr", - "mio 0.7.7", - "pin-project-lite 0.2.0", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" +checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343" dependencies = [ "native-tls", - "tokio 1.2.0", + "tokio", ] [[package]] @@ -2350,7 +2295,7 @@ dependencies = [ "futures-sink", "log", "pin-project-lite 0.1.4", - "tokio 0.2.22", + "tokio", ] [[package]] @@ -2364,21 +2309,7 @@ dependencies = [ "futures-sink", "log", "pin-project-lite 0.1.4", - "tokio 0.2.22", -] - -[[package]] -name = "tokio-util" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb7cb2f00c5ae8df755b252306272cd1790d39728363936e01827e11f0b017b" -dependencies = [ - "bytes 1.0.1", - "futures-core", - "futures-sink", - "log", - "pin-project-lite 0.2.0", - "tokio 1.2.0", + "tokio", ] [[package]] @@ -2403,6 +2334,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01ebdc2bb4498ab1ab5f5b73c5803825e60199229ccba0698170e3be0e7f959f" dependencies = [ "cfg-if 1.0.0", + "log", "pin-project-lite 0.2.0", "tracing-attributes", "tracing-core", @@ -2510,7 +2442,7 @@ dependencies = [ "rand 0.7.3", "smallvec", "thiserror", - "tokio 0.2.22", + "tokio", "url", ] @@ -2530,7 +2462,7 @@ dependencies = [ "resolv-conf", "smallvec", "thiserror", - "tokio 0.2.22", + "tokio", "trust-dns-proto", ] @@ -2552,6 +2484,15 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +[[package]] +name = "unicase" +version = "2.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" +dependencies = [ + "version_check 0.9.1", +] + [[package]] name = "unicode-bidi" version = "0.3.4" diff --git a/Cargo.toml b/Cargo.toml index 40e6398..b6525b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ git2 = "0.13.17" lazy_static = "1.4.0" number_prefix = "0.4.0" openssl-probe = "0.1.2" -reqwest = "0.11.0" +reqwest = "0.10.10" serde = "1.0.123" serde_derive = "1.0.103" serde_json = "1.0.63"