duck: fix or silence clippy warnings
[nihav.git] / nihav-duck / src / lib.rs
index 40b5f2b198e71d009328867deb7120456e18002f..a3d59f0b01b176fb82cb753aa51dca523fc5adac 100644 (file)
@@ -1,6 +1,14 @@
 extern crate nihav_core;
+extern crate nihav_codec_support;
 
-pub mod codecs;
+#[allow(clippy::collapsible_if)]
+#[allow(clippy::excessive_precision)]
+#[allow(clippy::identity_op)]
+#[allow(clippy::unreadable_literal)]
+#[allow(clippy::verbose_bit_mask)]
+mod codecs;
+
+pub use crate::codecs::duck_register_all_codecs;
 
 #[cfg(test)]
 extern crate nihav_commonfmt;