From 26429d7e2e3b4eff9edb4ffd9c9d75a647faf191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Thu, 21 Sep 2023 19:05:02 +0100 Subject: [PATCH] disable reqwest default-tls, and allow downstream crates to choose their tls flavor --- beacon-api-client/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beacon-api-client/Cargo.toml b/beacon-api-client/Cargo.toml index 76ac9c7a2..84cadeb51 100644 --- a/beacon-api-client/Cargo.toml +++ b/beacon-api-client/Cargo.toml @@ -7,14 +7,15 @@ license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["cli"] +default = ["cli", "reqwest/native-tls"] cli = ["clap"] +rustls = ["reqwest/rustls-tls"] [dependencies] tokio = { version = "1.0", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } -reqwest = { version = "0.11.10", features = ["json", "native-tls-vendored"] } +reqwest = { version = "0.11.10", default-features = false, features = ["json"] } url = "2.2.2" http = "0.2.7"