Ignore clippy::non_send_fields_in_send_ty lint

It's useless in its current shape and wrongly triggering on all types.

See https://github.com/rust-lang/rust-clippy/issues/8045
This commit is contained in:
Sebastian Dröge 2022-01-13 23:12:53 +02:00
parent 847e800269
commit 605c633579
28 changed files with 30 additions and 0 deletions

View file

@ -2,6 +2,7 @@
// //
// It simply attaches a GstMeta with a Rust String to buffers that are passed into // It simply attaches a GstMeta with a Rust String to buffers that are passed into
// an appsrc and retrieves them again from an appsink. // an appsrc and retrieves them again from an appsink.
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::element_error; use gst::element_error;
use gst::prelude::*; use gst::prelude::*;

View file

@ -1,3 +1,5 @@
#![allow(clippy::non_send_fields_in_send_ty)]
#[path = "../glupload.rs"] #[path = "../glupload.rs"]
mod glupload; mod glupload;
use glupload::*; use glupload::*;

View file

@ -1,3 +1,5 @@
#![allow(clippy::non_send_fields_in_send_ty)]
#[path = "../glupload.rs"] #[path = "../glupload.rs"]
mod glupload; mod glupload;
use glupload::*; use glupload::*;

View file

@ -10,6 +10,7 @@
// //
// There is a small amount of unsafe code that demonstrates how to work around // There is a small amount of unsafe code that demonstrates how to work around
// Cairo's internal refcounting of the target buffer surface // Cairo's internal refcounting of the target buffer surface
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::prelude::*; use gst::prelude::*;

View file

@ -6,6 +6,7 @@
// |-[probe] // |-[probe]
// / // /
// {audiotestsrc} - {fakesink} // {audiotestsrc} - {fakesink}
#![allow(clippy::question_mark)]
use gst::prelude::*; use gst::prelude::*;

View file

@ -10,6 +10,7 @@
// {videotestsrc} - {cairooverlay} - {capsfilter} - {videoconvert} - {autovideosink} // {videotestsrc} - {cairooverlay} - {capsfilter} - {videoconvert} - {autovideosink}
// The capsfilter element allows us to dictate the video resolution we want for the // The capsfilter element allows us to dictate the video resolution we want for the
// videotestsrc and the cairooverlay element. // videotestsrc and the cairooverlay element.
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::prelude::*; use gst::prelude::*;

View file

@ -6,6 +6,7 @@
// //
// It also comes with a custom RTSP server/client subclass for hooking into // It also comes with a custom RTSP server/client subclass for hooking into
// the client machinery and printing some status. // the client machinery and printing some status.
#![allow(clippy::non_send_fields_in_send_ty)]
use gst_rtsp_server::prelude::*; use gst_rtsp_server::prelude::*;

View file

@ -5,6 +5,7 @@
// //
// Our filter can only handle F32 mono and acts as a FIR filter. The filter impulse response / // 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<f32>. // coefficients are provided via Rust API on the filter as a Vec<f32>.
#![allow(clippy::non_send_fields_in_send_ty)]
use gst::prelude::*; use gst::prelude::*;
use gst::{element_error, gst_info, gst_trace}; use gst::{element_error, gst_info, gst_trace};

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -8,6 +8,7 @@
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
pub use ffi; pub use ffi;
pub use gst_gl; pub use gst_gl;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -8,6 +8,7 @@
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
pub use ffi; pub use ffi;
pub use gst_gl; pub use gst_gl;

View file

@ -8,6 +8,7 @@
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
pub use ffi; pub use ffi;
pub use gst_gl; pub use gst_gl;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::manual_range_contains)] #![allow(clippy::manual_range_contains)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -2,6 +2,7 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))] #![cfg_attr(feature = "dox", feature(doc_cfg))]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
pub use ffi; pub use ffi;

View file

@ -4,6 +4,7 @@
#![recursion_limit = "256"] #![recursion_limit = "256"]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]
#![allow(clippy::manual_range_contains)] #![allow(clippy::manual_range_contains)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![doc = include_str!("../README.md")] #![doc = include_str!("../README.md")]
// Re-exported for the subclass gst_plugin_define! macro // Re-exported for the subclass gst_plugin_define! macro