From 1140c369424d06447bce7b45d5e61bf7a4eea13b Mon Sep 17 00:00:00 2001 From: Finn Bear Date: Tue, 9 May 2023 19:28:08 -0700 Subject: [PATCH] Bugfix #1949 - use correct feature flag for wss over rustls. (#1960) --- Cargo.lock | 1 + lib/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 2e09ba1c..fc1d9dbf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4364,6 +4364,7 @@ dependencies = [ "tokio-rustls", "tungstenite", "webpki", + "webpki-roots", ] [[package]] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 4789a498..9b18660d 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -35,7 +35,7 @@ kv-fdb-7_1 = ["foundationdb/fdb-7_1", "kv-fdb"] scripting = ["dep:js"] http = ["dep:reqwest"] native-tls = ["dep:native-tls", "reqwest?/native-tls", "tokio-tungstenite?/native-tls"] -rustls = ["dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/__rustls-tls"] +rustls = ["dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/rustls-tls-webpki-roots"] # Private features kv-fdb = ["foundationdb"]