diff --git a/gstreamer-allocators/src/lib.rs b/gstreamer-allocators/src/lib.rs index e735ddd4f..7eac5250a 100644 --- a/gstreamer-allocators/src/lib.rs +++ b/gstreamer-allocators/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::use_self)] #[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-app/src/lib.rs b/gstreamer-app/src/lib.rs index a2e987b88..5e2454dae 100644 --- a/gstreamer-app/src/lib.rs +++ b/gstreamer-app/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -22,11 +21,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-audio/src/lib.rs b/gstreamer-audio/src/lib.rs index fb30e332e..8b415589a 100644 --- a/gstreamer-audio/src/lib.rs +++ b/gstreamer-audio/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -22,12 +21,7 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-base/src/lib.rs b/gstreamer-base/src/lib.rs index 6406c2f40..06df20149 100644 --- a/gstreamer-base/src/lib.rs +++ b/gstreamer-base/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,12 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::{functions::*, *}; diff --git a/gstreamer-check/src/lib.rs b/gstreamer-check/src/lib.rs index e7a9a491c..67810609e 100644 --- a/gstreamer-check/src/lib.rs +++ b/gstreamer-check/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,12 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-controller/src/lib.rs b/gstreamer-controller/src/lib.rs index 02fbbcb15..1a2d54784 100644 --- a/gstreamer-controller/src/lib.rs +++ b/gstreamer-controller/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; mod control_point; pub use crate::auto::*; diff --git a/gstreamer-editing-services/src/lib.rs b/gstreamer-editing-services/src/lib.rs index 3b666ff18..cfa3fc474 100644 --- a/gstreamer-editing-services/src/lib.rs +++ b/gstreamer-editing-services/src/lib.rs @@ -2,7 +2,6 @@ #![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")] use std::sync::Once; @@ -51,10 +50,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] #[allow(deprecated)] #[allow(unused_imports)] diff --git a/gstreamer-gl/egl/src/lib.rs b/gstreamer-gl/egl/src/lib.rs index e706b18db..694749717 100644 --- a/gstreamer-gl/egl/src/lib.rs +++ b/gstreamer-gl/egl/src/lib.rs @@ -8,7 +8,6 @@ #![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; @@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread { }; } -#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-gl/src/lib.rs b/gstreamer-gl/src/lib.rs index 93bd68398..25b91e036 100644 --- a/gstreamer-gl/src/lib.rs +++ b/gstreamer-gl/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -23,11 +22,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::{functions::*, *}; diff --git a/gstreamer-gl/wayland/src/lib.rs b/gstreamer-gl/wayland/src/lib.rs index 9ff471514..ff61e7c99 100644 --- a/gstreamer-gl/wayland/src/lib.rs +++ b/gstreamer-gl/wayland/src/lib.rs @@ -8,7 +8,6 @@ #![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; @@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread { }; } -#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-gl/x11/src/lib.rs b/gstreamer-gl/x11/src/lib.rs index d9b7ec59f..5d4eca9ed 100644 --- a/gstreamer-gl/x11/src/lib.rs +++ b/gstreamer-gl/x11/src/lib.rs @@ -8,7 +8,6 @@ #![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; @@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread { }; } -#[allow(clippy::use_self)] mod auto; pub use auto::*; diff --git a/gstreamer-mpegts/src/lib.rs b/gstreamer-mpegts/src/lib.rs index aebbffd8f..9d9fda1b3 100644 --- a/gstreamer-mpegts/src/lib.rs +++ b/gstreamer-mpegts/src/lib.rs @@ -1,6 +1,5 @@ #![cfg_attr(feature = "dox", feature(doc_cfg))] #![allow(clippy::missing_safety_doc)] -#![allow(clippy::non_send_fields_in_send_ty)] use std::sync::Once; diff --git a/gstreamer-net/src/lib.rs b/gstreamer-net/src/lib.rs index 783c3cdee..6a3a6e094 100644 --- a/gstreamer-net/src/lib.rs +++ b/gstreamer-net/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::{auto::*, net_address_meta::*}; mod net_address_meta; diff --git a/gstreamer-pbutils/src/lib.rs b/gstreamer-pbutils/src/lib.rs index b23e62f7b..466ebf7de 100644 --- a/gstreamer-pbutils/src/lib.rs +++ b/gstreamer-pbutils/src/lib.rs @@ -2,7 +2,6 @@ #![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")] use std::sync::Once; @@ -28,12 +27,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::{functions::*, *}; diff --git a/gstreamer-play/src/lib.rs b/gstreamer-play/src/lib.rs index 46578a339..329ea6757 100644 --- a/gstreamer-play/src/lib.rs +++ b/gstreamer-play/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -22,7 +21,6 @@ macro_rules! assert_initialized_main_thread { } #[allow(clippy::needless_borrow)] -#[allow(unused_imports)] mod auto; pub(crate) use crate::auto::PlayMessage as PlayMessageType; pub use crate::auto::*; diff --git a/gstreamer-player/src/lib.rs b/gstreamer-player/src/lib.rs index 6babd7362..eeb011114 100644 --- a/gstreamer-player/src/lib.rs +++ b/gstreamer-player/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,12 +20,6 @@ macro_rules! assert_initialized_main_thread { }; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::cast_ptr_alignment)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] #[allow(unused_imports)] mod auto; diff --git a/gstreamer-rtp/src/lib.rs b/gstreamer-rtp/src/lib.rs index be3272a27..d67429e1c 100644 --- a/gstreamer-rtp/src/lib.rs +++ b/gstreamer-rtp/src/lib.rs @@ -1,8 +1,6 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![cfg_attr(feature = "dox", feature(doc_cfg))] -#![allow(clippy::manual_range_contains)] -#![allow(clippy::non_send_fields_in_send_ty)] #![allow(clippy::missing_safety_doc)] #![doc = include_str!("../README.md")] @@ -22,12 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(non_snake_case)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::{functions::*, *}; diff --git a/gstreamer-rtp/src/rtp_buffer.rs b/gstreamer-rtp/src/rtp_buffer.rs index 683ba1b14..b65a7ef9a 100644 --- a/gstreamer-rtp/src/rtp_buffer.rs +++ b/gstreamer-rtp/src/rtp_buffer.rs @@ -128,6 +128,7 @@ impl<'a> RTPBuffer<'a, Writable> { } #[doc(alias = "gst_rtp_buffer_add_extension_onebyte_header")] + #[allow(clippy::manual_range_contains)] pub fn add_extension_onebyte_header( &mut self, id: u8, diff --git a/gstreamer-rtsp-server/src/lib.rs b/gstreamer-rtsp-server/src/lib.rs index 78301869e..9e923b15b 100644 --- a/gstreamer-rtsp-server/src/lib.rs +++ b/gstreamer-rtsp-server/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -25,13 +24,7 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] #[allow(clippy::type_complexity)] -#[allow(clippy::let_and_return)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-rtsp/src/lib.rs b/gstreamer-rtsp/src/lib.rs index c9e463631..e1c55a54a 100644 --- a/gstreamer-rtsp/src/lib.rs +++ b/gstreamer-rtsp/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -22,10 +21,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-sdp/src/lib.rs b/gstreamer-sdp/src/lib.rs index 0d3256984..664e84a14 100644 --- a/gstreamer-sdp/src/lib.rs +++ b/gstreamer-sdp/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(non_snake_case)] -#[allow(clippy::use_self)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-validate/src/lib.rs b/gstreamer-validate/src/lib.rs index 1be216e45..60bd8c2c9 100644 --- a/gstreamer-validate/src/lib.rs +++ b/gstreamer-validate/src/lib.rs @@ -2,7 +2,6 @@ #![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")] #[doc(hidden)] @@ -35,17 +34,10 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(non_snake_case)] #[allow(clippy::needless_borrow)] -#[allow(clippy::use_self)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; -#[allow(dead_code)] mod functions; pub use functions::*; diff --git a/gstreamer-video/src/lib.rs b/gstreamer-video/src/lib.rs index 21d96765c..6ce135e1d 100644 --- a/gstreamer-video/src/lib.rs +++ b/gstreamer-video/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -22,12 +21,7 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] -#[allow(unused_imports)] mod auto; pub use crate::auto::*; diff --git a/gstreamer-webrtc/src/lib.rs b/gstreamer-webrtc/src/lib.rs index 84f180169..ce94232d8 100644 --- a/gstreamer-webrtc/src/lib.rs +++ b/gstreamer-webrtc/src/lib.rs @@ -2,7 +2,6 @@ #![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; @@ -14,10 +13,6 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] #[allow(unused_imports)] mod auto; diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index 992f78d72..3c61c0e7d 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -4,7 +4,6 @@ #![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 @@ -39,14 +38,8 @@ macro_rules! skip_assert_initialized { () => {}; } -#[allow(clippy::unreadable_literal)] -#[allow(clippy::too_many_arguments)] -#[allow(clippy::match_same_arms)] -#[allow(clippy::type_complexity)] -#[allow(clippy::use_self)] #[allow(clippy::needless_borrow)] #[allow(clippy::let_unit_value)] -#[allow(unused_imports)] mod auto; pub use crate::auto::{functions::*, *};