]> git.nihav.org Git - nihav.git/blobdiff - src/lib.rs
demuxer: use new interface
[nihav.git] / src / lib.rs
index a8ba22565d5f5b8d7be5ef022ef63336622fa8f3..07c451e150004a94aa83212da02cceaa7331682c 100644 (file)
@@ -1,8 +1,17 @@
-#[macro_use]
-extern crate bitflags;
+#[cfg(feature="decoders")]
+pub mod codecs;
 
+#[cfg(feature="demuxers")]
 pub mod demuxers;
+
 pub mod formats;
 pub mod frame;
 pub mod io;
+pub mod register;
+pub mod detect;
+
+#[cfg(feature="dsp")]
+pub mod dsp;
 
+#[cfg(test)]
+mod test;