core: fix some clippy warnings
[nihav.git] / nihav-core / src / lib.rs
index 08e7134906784825bcba042b6e1db41698355892..a3e2df12925794f2ebc2c023c1fab8d760b60335 100644 (file)
@@ -1,12 +1,17 @@
 #[cfg(feature="decoders")]
+#[allow(clippy::cast_lossless)]
+#[allow(clippy::identity_op)]
+#[allow(clippy::too_many_arguments)]
 #[allow(clippy::unreadable_literal)]
 pub mod codecs;
 
 #[cfg(feature="demuxers")]
 pub mod demuxers;
 
+#[allow(clippy::too_many_arguments)]
 pub mod formats;
 pub mod frame;
+#[allow(clippy::too_many_arguments)]
 pub mod io;
 pub mod refs;
 pub mod register;
@@ -15,6 +20,9 @@ pub mod detect;
 pub mod scale;
 
 #[cfg(feature="dsp")]
+#[allow(clippy::excessive_precision)]
+#[allow(clippy::identity_op)]
+#[allow(clippy::needless_range_loop)]
 #[allow(clippy::unreadable_literal)]
 pub mod dsp;