From 4d5df20d586888744a7af4db057d19b583425873 Mon Sep 17 00:00:00 2001 From: Alexander Lyon Date: Sat, 2 Mar 2024 04:53:26 +0000 Subject: [PATCH] feat: Allow selecting webpki for reqwest (#4303) add support for webpki --- core/Cargo.lock | 1 + core/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/core/Cargo.lock b/core/Cargo.lock index b30dbaa06b04..3cb8756de2d1 100644 --- a/core/Cargo.lock +++ b/core/Cargo.lock @@ -5331,6 +5331,7 @@ dependencies = [ "wasm-bindgen-futures", "wasm-streams", "web-sys", + "webpki-roots 0.25.4", "winreg", ] diff --git a/core/Cargo.toml b/core/Cargo.toml index 7119772d475c..e95322cffa3f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -71,6 +71,7 @@ trust-dns = ["reqwest/trust-dns"] # Enable rustls for TLS support rustls = ["reqwest/rustls-tls-native-roots"] +rustls-webpki = ["reqwest/rustls-tls-webpki-roots"] # Enable native-tls for TLS support native-tls = ["reqwest/native-tls"] # Enable vendored native-tls for TLS support