From b01829ac35b320ff39bbbbf6174c657ec9208ab7 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Wed, 27 Aug 2025 16:56:24 +0530 Subject: [PATCH] speechmatics: Use rustls for async-tungstenite We need to use rustls as without this, using rustls with async-tungstenite fails to build in net/webrtc. Part-of: --- Cargo.lock | 3 --- audio/speechmatics/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf40a499e..f12bfa059 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -262,12 +262,10 @@ dependencies = [ "futures-task", "futures-util", "log", - "native-tls", "pin-project-lite", "rustls-native-certs 0.8.1", "rustls-pki-types", "tokio", - "tokio-native-tls", "tokio-rustls 0.26.2", "tungstenite 0.27.0", ] @@ -8484,7 +8482,6 @@ dependencies = [ "http 1.3.1", "httparse", "log", - "native-tls", "rand 0.9.2", "rustls 0.23.31", "rustls-pki-types", diff --git a/audio/speechmatics/Cargo.toml b/audio/speechmatics/Cargo.toml index 2e8ff53d3..059e7a9a0 100644 --- a/audio/speechmatics/Cargo.toml +++ b/audio/speechmatics/Cargo.toml @@ -14,7 +14,7 @@ gst.workspace = true gst-base.workspace = true gst-audio = { workspace = true, features = ["v1_16"] } tokio = { version = "1", features = [ "full" ] } -async-tungstenite = { version = "0.31", features = ["tokio", "tokio-runtime", "tokio-native-tls"] } +async-tungstenite = { version = "0.31", features = ["tokio", "tokio-runtime", "tokio-rustls-native-certs"] } serde = { version = "1", features = ["derive"] } serde_json = "1" atomic_refcell = "0.1"