mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-21 19:11:02 +00:00
net/quinn: Enable log feature
This is required if and when we do need to capture logs from quinn for debugging. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1634>
This commit is contained in:
parent
324f3531be
commit
5bf44b6187
3 changed files with 5 additions and 2 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -2846,6 +2846,7 @@ version = "0.14.0-alpha.1"
|
|||
dependencies = [
|
||||
"async-channel",
|
||||
"bytes",
|
||||
"env_logger",
|
||||
"futures",
|
||||
"glib",
|
||||
"gst-plugin-version-helper",
|
||||
|
|
|
@ -16,8 +16,8 @@ gst.workspace = true
|
|||
gst-base = { workspace = true, features = ["v1_22"] }
|
||||
tokio = { version = "1.36.0", default-features = false, features = ["time", "rt-multi-thread", "macros"] }
|
||||
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"] }
|
||||
quinn = { version = "0.11.5", default-features = false, features = ["ring", "rustls", "runtime-tokio", "log"] }
|
||||
quinn-proto ={ version = "0.11.8", default-features = false, features = ["rustls", "log"] }
|
||||
rustls = { version = "0.23", default-features = false, features = ["std"] }
|
||||
rustls-pemfile = "2"
|
||||
rustls-pki-types = "1"
|
||||
|
@ -26,6 +26,7 @@ bytes = "1.5.0"
|
|||
thiserror = "2"
|
||||
async-channel = "2.3"
|
||||
itertools = "0.12"
|
||||
env_logger = "0.11"
|
||||
|
||||
[dev-dependencies]
|
||||
gst-check = { workspace = true, features = ["v1_20"] }
|
||||
|
|
|
@ -29,6 +29,7 @@ mod quinnquicsrc;
|
|||
mod utils;
|
||||
|
||||
fn plugin_init(plugin: &gst::Plugin) -> Result<(), glib::BoolError> {
|
||||
env_logger::init();
|
||||
#[cfg(feature = "doc")]
|
||||
{
|
||||
common::QuinnQuicRole::static_type().mark_as_plugin_api(gst::PluginAPIFlags::empty());
|
||||
|
|
Loading…
Reference in a new issue