core: split options into separate module
[nihav.git] / nihav-core / src / lib.rs
index 2652c14f0dcb7125431e02100b230972e93a747e..303fb244ddb01a1fc9164b13bb480b2c571f497b 100644 (file)
@@ -6,6 +6,12 @@
 #[allow(clippy::unreadable_literal)]
 pub mod codecs;
 
+#[cfg(feature="compr")]
+pub mod compr;
+
+#[cfg(feature="muxers")]
+pub mod muxers;
+
 #[cfg(feature="demuxers")]
 pub mod demuxers;
 
@@ -14,21 +20,8 @@ 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;
 pub mod soundcvt;
-
-#[cfg(feature="dsp")]
-#[allow(clippy::excessive_precision)]
-#[allow(clippy::identity_op)]
-#[allow(clippy::needless_range_loop)]
-#[allow(clippy::unreadable_literal)]
-pub mod dsp;
-
-pub mod data;
-
-pub mod test;