projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct some crate configurations for enabling/disabling features
[nihav.git]
/
nihav-commonfmt
/
src
/
lib.rs
diff --git
a/nihav-commonfmt/src/lib.rs
b/nihav-commonfmt/src/lib.rs
index 54fff4ba4f3d387fae12c790893d013d0574959a..528b8b724a46e8d528b23fa2dc657636f6a264bd 100644
(file)
--- a/
nihav-commonfmt/src/lib.rs
+++ b/
nihav-commonfmt/src/lib.rs
@@
-3,7
+3,7
@@
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)]