From: Kostya Shishkov Date: Wed, 17 May 2017 14:14:10 +0000 (+0200) Subject: features for disabling components X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=77071e0b70aeabb96f5f74cf95d7d9ee864d14f5;p=nihav.git features for disabling components --- diff --git a/Cargo.toml b/Cargo.toml index 302339d..febb4c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,4 +4,15 @@ version = "0.1.0" authors = ["Kostya Shishkov "] [dependencies] -bitflags = "0.5.0" \ No newline at end of file +bitflags = "0.5.0" + +[features] +default = ["all_decoders", "all_demuxers"] +demuxers = [] +all_demuxers = ["demuxer_avi", "demuxer_gdv"] +demuxer_avi = ["demuxers"] +demuxer_gdv = ["demuxers"] + +decoders = [] +all_decoders = ["decoder_indeo2"] +decoder_indeo2 = ["decoders"]