From 2ea55b0ba8ca3cc11cbeb4f76bc9c876060c659c Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Thu, 5 May 2022 13:04:23 -0400 Subject: [PATCH] Undo removal of reqwest TLS support --- Cargo.lock | 16 ++++++++++++++++ Cargo.toml | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fc53be84..e7541d89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1341,6 +1341,19 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper", + "native-tls", + "tokio", + "tokio-native-tls", +] + [[package]] name = "idna" version = "0.2.3" @@ -2513,17 +2526,20 @@ dependencies = [ "http", "http-body", "hyper", + "hyper-tls", "ipnet", "js-sys", "lazy_static", "log", "mime", + "native-tls", "percent-encoding", "pin-project-lite", "serde", "serde_json", "serde_urlencoded", "tokio", + "tokio-native-tls", "url", "wasm-bindgen", "wasm-bindgen-futures", diff --git a/Cargo.toml b/Cargo.toml index 72355cda..ed870e8b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,8 +32,8 @@ primitive-types = "0.8" prometheus = { version = "0.13", default-features = false } rand = { version = "0.8", default-features = false } receipts = { git = "ssh://git@github.com/edgeandnode/receipts.git", rev = "02d09da" } -reqwest = { version = "0.11", default-features = false, features = ["json"] } -secp256k1 = { version = "0.20", default-features = false } +reqwest = { version = "0.11", features = ["json"] } +secp256k1 = { version = "0.20", default-features = false } serde = "1.0" serde_json = { version = "1.0", features = ["raw_value"] } serde_yaml = "0.8"