From da4eab8fdb2a5adab54d41186808a333f1a06db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Mon, 22 Apr 2024 21:36:49 +0200 Subject: [PATCH] Add rustls-tls to reqwest in validator-client --- Cargo.lock | 11 +++++++++-- common/client-libs/validator-client/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 386287164c..24db08ad2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4384,7 +4384,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] @@ -8335,6 +8335,7 @@ dependencies = [ "wasm-bindgen-futures", "wasm-streams", "web-sys", + "webpki-roots 0.25.4", "winreg", ] @@ -9500,7 +9501,7 @@ dependencies = [ "time", "tokio-stream", "url", - "webpki-roots", + "webpki-roots 0.22.6", ] [[package]] @@ -11183,6 +11184,12 @@ dependencies = [ "webpki 0.22.4", ] +[[package]] +name = "webpki-roots" +version = "0.25.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" + [[package]] name = "webrtc" version = "0.6.0" diff --git a/common/client-libs/validator-client/Cargo.toml b/common/client-libs/validator-client/Cargo.toml index 158062138a..1e530e2487 100644 --- a/common/client-libs/validator-client/Cargo.toml +++ b/common/client-libs/validator-client/Cargo.toml @@ -24,7 +24,7 @@ nym-group-contract-common = { path = "../../cosmwasm-smart-contracts/group-contr nym-service-provider-directory-common = { path = "../../cosmwasm-smart-contracts/service-provider-directory" } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -reqwest = { workspace = true, features = ["json"] } +reqwest = { workspace = true, features = ["json", "rustls-tls"] } nym-http-api-client = { path = "../../../common/http-api-client"} thiserror = { workspace = true } log = { workspace = true }