diff --git a/examples/src/bin/custom_meta.rs b/examples/src/bin/custom_meta.rs index d06fdc917..4289aa5f6 100644 --- a/examples/src/bin/custom_meta.rs +++ b/examples/src/bin/custom_meta.rs @@ -2,6 +2,7 @@ // // It simply attaches a GstMeta with a Rust String to buffers that are passed into // an appsrc and retrieves them again from an appsink. +#![allow(clippy::non_send_fields_in_send_ty)] use gst::element_error; use gst::prelude::*; diff --git a/examples/src/bin/glfilter.rs b/examples/src/bin/glfilter.rs index 4cc4c37c7..6c73c18c4 100644 --- a/examples/src/bin/glfilter.rs +++ b/examples/src/bin/glfilter.rs @@ -1,3 +1,5 @@ +#![allow(clippy::non_send_fields_in_send_ty)] + #[path = "../glupload.rs"] mod glupload; use glupload::*; diff --git a/examples/src/bin/glwindow.rs b/examples/src/bin/glwindow.rs index cb0828998..93c71bf32 100644 --- a/examples/src/bin/glwindow.rs +++ b/examples/src/bin/glwindow.rs @@ -1,3 +1,5 @@ +#![allow(clippy::non_send_fields_in_send_ty)] + #[path = "../glupload.rs"] mod glupload; use glupload::*; diff --git a/examples/src/bin/overlay-composition.rs b/examples/src/bin/overlay-composition.rs index 65d130824..380e60e51 100644 --- a/examples/src/bin/overlay-composition.rs +++ b/examples/src/bin/overlay-composition.rs @@ -10,6 +10,7 @@ // // There is a small amount of unsafe code that demonstrates how to work around // Cairo's internal refcounting of the target buffer surface +#![allow(clippy::non_send_fields_in_send_ty)] use gst::prelude::*; diff --git a/examples/src/bin/pad_probes.rs b/examples/src/bin/pad_probes.rs index d806e72fa..fca06431a 100644 --- a/examples/src/bin/pad_probes.rs +++ b/examples/src/bin/pad_probes.rs @@ -6,6 +6,7 @@ // |-[probe] // / // {audiotestsrc} - {fakesink} +#![allow(clippy::question_mark)] use gst::prelude::*; diff --git a/examples/src/bin/pango-cairo.rs b/examples/src/bin/pango-cairo.rs index 28c9fed6f..252516f09 100644 --- a/examples/src/bin/pango-cairo.rs +++ b/examples/src/bin/pango-cairo.rs @@ -10,6 +10,7 @@ // {videotestsrc} - {cairooverlay} - {capsfilter} - {videoconvert} - {autovideosink} // The capsfilter element allows us to dictate the video resolution we want for the // videotestsrc and the cairooverlay element. +#![allow(clippy::non_send_fields_in_send_ty)] use gst::prelude::*; diff --git a/examples/src/bin/rtsp-server-subclass.rs b/examples/src/bin/rtsp-server-subclass.rs index 3feff83c9..d06baa92b 100644 --- a/examples/src/bin/rtsp-server-subclass.rs +++ b/examples/src/bin/rtsp-server-subclass.rs @@ -6,6 +6,7 @@ // // It also comes with a custom RTSP server/client subclass for hooking into // the client machinery and printing some status. +#![allow(clippy::non_send_fields_in_send_ty)] use gst_rtsp_server::prelude::*; diff --git a/examples/src/bin/subclass.rs b/examples/src/bin/subclass.rs index 9294ed439..5cd885590 100644 --- a/examples/src/bin/subclass.rs +++ b/examples/src/bin/subclass.rs @@ -5,6 +5,7 @@ // // Our filter can only handle F32 mono and acts as a FIR filter. The filter impulse response / // coefficients are provided via Rust API on the filter as a Vec. +#![allow(clippy::non_send_fields_in_send_ty)] use gst::prelude::*; use gst::{element_error, gst_info, gst_trace}; diff --git a/gstreamer-app/src/lib.rs b/gstreamer-app/src/lib.rs index 2f370e50c..1d8bfc167 100644 --- a/gstreamer-app/src/lib.rs +++ b/gstreamer-app/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index 98a64b950..269c122fb 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-base/src/lib.rs b/gstreamer-base/src/lib.rs index 54d6e36df..68fb20de2 100644 --- a/gstreamer-base/src/lib.rs +++ b/gstreamer-base/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-check/src/lib.rs b/gstreamer-check/src/lib.rs index 734d8eb8e..43c13e059 100644 --- a/gstreamer-check/src/lib.rs +++ b/gstreamer-check/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-controller/src/lib.rs b/gstreamer-controller/src/lib.rs index a0cb7497b..922b0a49a 100644 --- a/gstreamer-controller/src/lib.rs +++ b/gstreamer-controller/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-editing-services/src/lib.rs b/gstreamer-editing-services/src/lib.rs index 3dc63db8c..9b18d7bd2 100644 --- a/gstreamer-editing-services/src/lib.rs +++ b/gstreamer-editing-services/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-gl/egl/src/lib.rs b/gstreamer-gl/egl/src/lib.rs index 88f243833..972f854de 100644 --- a/gstreamer-gl/egl/src/lib.rs +++ b/gstreamer-gl/egl/src/lib.rs @@ -8,6 +8,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] pub use ffi; pub use gst_gl; diff --git a/gstreamer-gl/src/lib.rs b/gstreamer-gl/src/lib.rs index 6ce8641b0..3d50bb10a 100644 --- a/gstreamer-gl/src/lib.rs +++ b/gstreamer-gl/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-gl/wayland/src/lib.rs b/gstreamer-gl/wayland/src/lib.rs index b265d447e..36fd18aa0 100644 --- a/gstreamer-gl/wayland/src/lib.rs +++ b/gstreamer-gl/wayland/src/lib.rs @@ -8,6 +8,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] pub use ffi; pub use gst_gl; diff --git a/gstreamer-gl/x11/src/lib.rs b/gstreamer-gl/x11/src/lib.rs index ff3625b14..992de1cb2 100644 --- a/gstreamer-gl/x11/src/lib.rs +++ b/gstreamer-gl/x11/src/lib.rs @@ -8,6 +8,7 @@ #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] pub use ffi; pub use gst_gl; diff --git a/gstreamer-net/src/lib.rs b/gstreamer-net/src/lib.rs index 85344c06b..388f0c7cd 100644 --- a/gstreamer-net/src/lib.rs +++ b/gstreamer-net/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-pbutils/src/lib.rs b/gstreamer-pbutils/src/lib.rs index d843f7c85..42f6f67dd 100644 --- a/gstreamer-pbutils/src/lib.rs +++ b/gstreamer-pbutils/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-player/src/lib.rs b/gstreamer-player/src/lib.rs index ef732e2c9..c3bb0f34f 100644 --- a/gstreamer-player/src/lib.rs +++ b/gstreamer-player/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-rtp/src/lib.rs b/gstreamer-rtp/src/lib.rs index 13afa7093..aab301c91 100644 --- a/gstreamer-rtp/src/lib.rs +++ b/gstreamer-rtp/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::manual_range_contains)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-rtsp-server/src/lib.rs b/gstreamer-rtsp-server/src/lib.rs index 4ad2a1076..5198abfb0 100644 --- a/gstreamer-rtsp-server/src/lib.rs +++ b/gstreamer-rtsp-server/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-rtsp/src/lib.rs b/gstreamer-rtsp/src/lib.rs index 9a1bcc0ce..bc8e55cca 100644 --- a/gstreamer-rtsp/src/lib.rs +++ b/gstreamer-rtsp/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-sdp/src/lib.rs b/gstreamer-sdp/src/lib.rs index 08427c49b..1ec106c1b 100644 --- a/gstreamer-sdp/src/lib.rs +++ b/gstreamer-sdp/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-video/src/lib.rs b/gstreamer-video/src/lib.rs index 51e52a540..6843f7e8b 100644 --- a/gstreamer-video/src/lib.rs +++ b/gstreamer-video/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer-webrtc/src/lib.rs b/gstreamer-webrtc/src/lib.rs index ccf35736c..51684f04c 100644 --- a/gstreamer-webrtc/src/lib.rs +++ b/gstreamer-webrtc/src/lib.rs @@ -2,6 +2,7 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] pub use ffi; diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index 7c0a585f3..a92fd8b41 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -4,6 +4,7 @@ #![recursion_limit = "256"] #![allow(clippy::missing_safety_doc)] #![allow(clippy::manual_range_contains)] +#![allow(clippy::non_send_fields_in_send_ty)] #![doc = include_str!("../README.md")] // Re-exported for the subclass gst_plugin_define! macro