From 04c840a1d9292fd7080d1d7eb5c2e4cb365e7bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 24 Mar 2024 11:21:45 +0200 Subject: [PATCH] mpegts: Always re-export the contents of the auto module Pre-1.20 it currently has nothing to re-export and would cause clippy warnings, but like this it won't be forgotten to update the conditions if new API is added that is available from older versions. Part-of: --- gstreamer-mpegts/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gstreamer-mpegts/src/lib.rs b/gstreamer-mpegts/src/lib.rs index 12aad9d15..099e553b2 100644 --- a/gstreamer-mpegts/src/lib.rs +++ b/gstreamer-mpegts/src/lib.rs @@ -22,6 +22,7 @@ pub fn init() { assert_initialized_main_thread!(); } -// Workaround for https://github.com/gtk-rs/gir/issues/1555. #[allow(unused_imports)] mod auto; +#[allow(unused_imports)] +pub use crate::auto::*;