fix clippy warnings
[nihav.git] / nihav-realmedia / src / lib.rs
CommitLineData
b9995c2c 1//! Crate for providing support for RealMedia formats.
5641dccf 2extern crate nihav_core;
b4d5b851 3extern crate nihav_codec_support;
5641dccf 4
f5c7ce01 5#[cfg(any(feature="decoders", feature="encoders"))]
e07387c7
KS
6#[allow(clippy::cast_lossless)]
7#[allow(clippy::collapsible_if)]
e6aaad5c 8#[allow(clippy::collapsible_else_if)]
b7c882c1 9#[allow(clippy::comparison_chain)]
e07387c7
KS
10#[allow(clippy::excessive_precision)]
11#[allow(clippy::identity_op)]
12#[allow(clippy::needless_range_loop)]
fa57381e 13#[allow(clippy::single_match)]
e07387c7
KS
14#[allow(clippy::too_many_arguments)]
15#[allow(clippy::unreadable_literal)]
16#[allow(clippy::useless_let_if_seq)]
e6aaad5c
KS
17#[allow(clippy::needless_late_init)]
18#[allow(clippy::upper_case_acronyms)]
19#[allow(clippy::manual_range_contains)]
20#[allow(clippy::wrong_self_convention)]
e64739f8
KS
21mod codecs;
22#[cfg(feature="decoders")]
78fb6560 23pub use crate::codecs::realmedia_register_all_decoders;
f5c7ce01
KS
24#[cfg(feature="encoders")]
25pub use crate::codecs::realmedia_register_all_encoders;
e64739f8 26
e07387c7
KS
27#[cfg(feature="demuxers")]
28#[allow(clippy::cast_lossless)]
29#[allow(clippy::too_many_arguments)]
30#[allow(clippy::unreadable_literal)]
31#[allow(clippy::useless_let_if_seq)]
e6aaad5c
KS
32#[allow(clippy::needless_late_init)]
33#[allow(clippy::upper_case_acronyms)]
e64739f8
KS
34mod demuxers;
35#[cfg(feature="demuxers")]
fa57381e 36pub use crate::demuxers::realmedia_register_all_demuxers;
9dc1fb4b
KS
37
38#[cfg(feature="muxers")]
39mod muxers;
40#[cfg(feature="muxers")]
41pub use crate::muxers::realmedia_register_all_muxers;