mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-01 09:13:48 +00:00
speechmatics: Specify rustls as an explicit dependency
Commit b01829ac3
switched speechmatics use of async-tungstenite to
rustls. However, this resulted in an error like below.
```
Could not automatically determine the process-level CryptoProvider from Rustls crate features.
Call CryptoProvider::install_default() before this point to select a provider manually, or make sure exactly one of the 'aws-lc-rs' and 'ring' features is enabled.
See the documentation of the CryptoProvider type for more information.
```
rustls crate requires that a specific provider be selected explicitly
by installing the provider manually which would require a code change
or specifying as an explicit dependency with the ring feature enabled.
Fix this by opting for the latter approach.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2502>
This commit is contained in:
parent
2732b0e543
commit
788781e915
2 changed files with 2 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -3372,6 +3372,7 @@ dependencies = [
|
|||
"gstreamer-audio",
|
||||
"gstreamer-base",
|
||||
"http 1.3.1",
|
||||
"rustls 0.23.31",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
|
|
|
@ -15,6 +15,7 @@ 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-rustls-native-certs"] }
|
||||
rustls = { version = "0.23", default-features = false, features = ["std", "ring"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
atomic_refcell = "0.1"
|
||||
|
|
Loading…
Reference in a new issue