X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Flib.rs;h=528b8b724a46e8d528b23fa2dc657636f6a264bd;hb=51382a9ad683e7b4d5907f63cd8e103f531f577c;hp=b02cd8157d2572d58961d0928add20331223adbd;hpb=78fb6560c73965d834b215fb0b49505ae5443288;p=nihav.git diff --git a/nihav-commonfmt/src/lib.rs b/nihav-commonfmt/src/lib.rs index b02cd81..528b8b7 100644 --- a/nihav-commonfmt/src/lib.rs +++ b/nihav-commonfmt/src/lib.rs @@ -1,8 +1,9 @@ +//! Crate for providing support for various common formats. extern crate nihav_core; extern crate nihav_codec_support; extern crate nihav_registry; -#[cfg(feature="decoders")] +#[cfg(any(feature="decoders", feature="encoders"))] #[allow(clippy::needless_range_loop)] #[allow(clippy::single_match)] #[allow(clippy::unreadable_literal)]