From 4dd72da6db9da3560ef308b1ad8908909a52a050 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 21 Aug 2023 11:43:45 -0700 Subject: [PATCH] enable tls for reqwest --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 55b1235..cd3ebc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,14 +15,11 @@ default = ["reqwest"] [dependencies] byteorder = "1.4.2" -# Minimal dependencices without SSL support. -reqwest = { version = "0.11.0", default-features = false, optional = true } +reqwest = { version = "0.11.0", default-features = false, features = ["default-tls"], optional = true } bytes = { version = "1.0.1" } thiserror = "1.0" log = "0.4.13" async-trait = "0.1.51" [dev-dependencies] -# One test needs SSL support; just use the default system bindings for that. -reqwest = { version = "0.11.0", default-features = true } tokio = { version = "1.0.2", default-features = false, features = ["rt-multi-thread", "macros"] }