aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-commonfmt/src/lib.rs
blob: 528b8b724a46e8d528b23fa2dc657636f6a264bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! Crate for providing support for various common formats.
extern crate nihav_core;
extern crate nihav_codec_support;
extern crate nihav_registry;

#[cfg(any(feature="decoders", feature="encoders"))]
#[allow(clippy::needless_range_loop)]
#[allow(clippy::single_match)]
#[allow(clippy::unreadable_literal)]
#[allow(clippy::too_many_arguments)]
#[allow(clippy::excessive_precision)]
mod codecs;

#[cfg(feature="decoders")]
pub use crate::codecs::generic_register_all_decoders;
#[cfg(feature="encoders")]
pub use crate::codecs::generic_register_all_encoders;

#[cfg(feature="demuxers")]
mod demuxers;
#[cfg(feature="demuxers")]
pub use crate::demuxers::generic_register_all_demuxers;

#[cfg(feature="muxers")]
mod muxers;
#[cfg(feature="muxers")]
pub use crate::muxers::generic_register_all_muxers;

#[cfg(test)]
extern crate nihav_realmedia;