mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-28 06:21:06 +00:00
af54b2396b
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>
56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
[package]
|
|
name = "gst-plugin-quinn"
|
|
version.workspace = true
|
|
authors = ["Sanchayan Maity <sanchayan@asymptotic.io"]
|
|
repository.workspace = true
|
|
license = "MPL-2.0"
|
|
edition.workspace = true
|
|
description = "GStreamer Plugin for QUIC"
|
|
rust-version.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
gst.workspace = true
|
|
gst-base.workspace = true
|
|
tokio = { version = "1.36.0", default-features = false, features = ["time", "rt-multi-thread"] }
|
|
futures = "0.3.30"
|
|
quinn = { version = "0.11.5", default-features = false, features = ["ring", "rustls", "runtime-tokio"] }
|
|
quinn-proto ={ version = "0.11.8", default-features = false, features = ["rustls"] }
|
|
rustls = { version = "0.23", default-features = false, features = ["std"] }
|
|
rustls-pemfile = "2"
|
|
rustls-pki-types = "1"
|
|
rcgen = "0.13"
|
|
bytes = "1.5.0"
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
gst-check = { workspace = true, features = ["v1_20"] }
|
|
serial_test = "3"
|
|
|
|
[lib]
|
|
name = "gstquinn"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper.workspace = true
|
|
|
|
[features]
|
|
static = []
|
|
capi = []
|
|
doc = []
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.9.21"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
import_library = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gobject-2.0, glib-2.0"
|