core: fix or silence clippy warnings
[nihav.git] / nihav-core / src / lib.rs
... / ...
CommitLineData
1//! Core functionality of NihAV intended to be used by both crates implementing format support and users.
2#[cfg(feature="decoders")]
3#[allow(clippy::cast_lossless)]
4#[allow(clippy::identity_op)]
5#[allow(clippy::too_many_arguments)]
6#[allow(clippy::unreadable_literal)]
7pub mod codecs;
8
9#[cfg(feature="compr")]
10#[allow(clippy::manual_memcpy)]
11#[allow(clippy::needless_range_loop)]
12pub mod compr;
13
14#[cfg(feature="muxers")]
15pub mod muxers;
16
17#[cfg(feature="demuxers")]
18pub mod demuxers;
19
20#[allow(clippy::too_many_arguments)]
21pub mod formats;
22pub mod frame;
23#[allow(clippy::too_many_arguments)]
24pub mod io;
25pub mod options;
26pub mod refs;
27pub mod reorder;
28#[allow(clippy::collapsible_if)]
29#[allow(clippy::many_single_char_names)]
30#[allow(clippy::needless_range_loop)]
31#[allow(clippy::trivially_copy_pass_by_ref)]
32pub mod scale;
33#[allow(clippy::unreadable_literal)]
34pub mod soundcvt;