From d8120864dcca041b615d7f5ce38b081012a1cba3 Mon Sep 17 00:00:00 2001 From: Alexander Shtuchkin Date: Thu, 15 Feb 2024 04:22:06 -0500 Subject: [PATCH] Add rustls flavor of http (#30) --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f30b28a..0aaaf63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,8 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] -http = ["reqwest"] +http = ["reqwest/default-tls"] +http-rustls = ["reqwest/rustls-tls"] data-url = ["dep:data-url"] png = ["image/png"] @@ -43,7 +44,7 @@ serde = ["dep:serde", "half/serde", "cgmath/serde"] cgmath = "0.18" half = {version="2", features=["std", "num-traits", "zerocopy"]} thiserror = "1" -reqwest = {version = "0.11", optional = true } +reqwest = {version = "0.11", optional = true, default-features = false } gltf = { version = "1", optional = true, features=["KHR_materials_ior", "KHR_materials_transmission"] } wavefront_obj = { version = "10", optional = true } image = { version = "0.24", optional = true, default-features = false}