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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2487>
This commit is contained in:
Sanchayan Maity 2025-08-27 16:56:24 +05:30
parent 83ed0bed76
commit b01829ac35
2 changed files with 1 additions and 4 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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"