gst-plugins-rs/net/quinn/src
Sanchayan Maity af54b2396b net/quinn: Specify crypto provider explicitly
rustls allows the choice of ring or aws-lc-rs as the cryptographic
library implementation. This is enabled/selected via Cargo feature
flags. We have plugins directly or indirectly depending on rustls
like quinn, aws and spotify. In the presence of multiple plugins,
selecting different implementations as the default, rustls can
panic.

The safest way to avoid this is by using builder_with_provider
and selecting a provider explicitly.

See below issues for further discussion and clarifications.
https://github.com/rustls/rustls/issues/1877
https://github.com/seanmonstar/reqwest/pull/2225

While at it, also specify features explicitly for quinn and rustls.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1878>
2024-10-23 21:24:22 +05:30
..
quinnquicsink Remove once_cell dependency 2024-10-21 17:53:18 +00:00
quinnquicsrc Remove once_cell dependency 2024-10-21 17:53:18 +00:00
common.rs net/quinn: Allow dropping buffers when buffer size exceeds maximum datagram size 2024-06-25 20:15:40 +05:30
lib.rs net/quinn: Make QUIC role configurable 2024-05-31 23:20:38 +02:00
utils.rs net/quinn: Specify crypto provider explicitly 2024-10-23 21:24:22 +05:30