core: fix clippy warnings
[nihav.git] / nihav-core / src / lib.rs
index 75dbc78d8101baeacb26537e8f565f9f7675bb52..d9eab81e107c95fda31eb27e8cdd7339b607a7bc 100644 (file)
@@ -1,3 +1,4 @@
+//! Core functionality of NihAV intended to be used by both crates implementing format support and users.
 #[cfg(feature="decoders")]
 #[allow(clippy::cast_lossless)]
 #[allow(clippy::identity_op)]
@@ -5,28 +6,30 @@
 #[allow(clippy::unreadable_literal)]
 pub mod codecs;
 
+#[cfg(feature="compr")]
+#[allow(clippy::manual_memcpy)]
+#[allow(clippy::needless_range_loop)]
+pub mod compr;
+
+#[cfg(feature="muxers")]
+pub mod muxers;
+
 #[cfg(feature="demuxers")]
 pub mod demuxers;
 
+#[allow(clippy::needless_range_loop)]
 #[allow(clippy::too_many_arguments)]
 pub mod formats;
 pub mod frame;
 #[allow(clippy::too_many_arguments)]
 pub mod io;
+pub mod options;
 pub mod refs;
-pub mod register;
-#[allow(clippy::unreadable_literal)]
-pub mod detect;
 pub mod reorder;
-pub mod scale;
-
-#[cfg(feature="dsp")]
-#[allow(clippy::excessive_precision)]
-#[allow(clippy::identity_op)]
+#[allow(clippy::collapsible_if)]
+#[allow(clippy::many_single_char_names)]
 #[allow(clippy::needless_range_loop)]
+#[allow(clippy::trivially_copy_pass_by_ref)]
+pub mod scale;
 #[allow(clippy::unreadable_literal)]
-pub mod dsp;
-
-pub mod data;
-
-pub mod test;
+pub mod soundcvt;