X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-core%2Fsrc%2Flib.rs;h=303fb244ddb01a1fc9164b13bb480b2c571f497b;hb=a0ddfb3d1ef6509bfd5cc957187f98d01c806bd8;hp=75dbc78d8101baeacb26537e8f565f9f7675bb52;hpb=ca8452f0b03bdf2c416eeee51ba59a8c9cd8c502;p=nihav.git diff --git a/nihav-core/src/lib.rs b/nihav-core/src/lib.rs index 75dbc78..303fb24 100644 --- a/nihav-core/src/lib.rs +++ b/nihav-core/src/lib.rs @@ -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,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; @@ -13,20 +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; - -#[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; +pub mod soundcvt;