realmedia: fix some clippy warnings
[nihav.git] / nihav-realmedia / src / lib.rs
index d7a15d0e109a5c1bda8a448fb620b62a6de72cee..412982e9925a94fea292390aff08643a3a2aab01 100644 (file)
@@ -1,4 +1,18 @@
 extern crate nihav_core;
 
+#[cfg(feature="decoders")]
+#[allow(clippy::cast_lossless)]
+#[allow(clippy::collapsible_if)]
+#[allow(clippy::excessive_precision)]
+#[allow(clippy::identity_op)]
+#[allow(clippy::needless_range_loop)]
+#[allow(clippy::too_many_arguments)]
+#[allow(clippy::unreadable_literal)]
+#[allow(clippy::useless_let_if_seq)]
 pub mod codecs;
+#[cfg(feature="demuxers")]
+#[allow(clippy::cast_lossless)]
+#[allow(clippy::too_many_arguments)]
+#[allow(clippy::unreadable_literal)]
+#[allow(clippy::useless_let_if_seq)]
 pub mod demuxers;
\ No newline at end of file