fix clippy warnings for update to rustc 1.46
[nihav.git] / nihav-duck / src / lib.rs
index 40b5f2b198e71d009328867deb7120456e18002f..366a2dbf1e2b101deb492d42e76d524986e235b0 100644 (file)
@@ -1,6 +1,15 @@
 extern crate nihav_core;
+extern crate nihav_codec_support;
 
-pub mod codecs;
+#[allow(clippy::collapsible_if)]
+#[allow(clippy::comparison_chain)]
+#[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_decoders;
 
 #[cfg(test)]
 extern crate nihav_commonfmt;