From 77071e0b70aeabb96f5f74cf95d7d9ee864d14f5 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 17 May 2017 16:14:10 +0200 Subject: [PATCH] features for disabling components --- Cargo.toml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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"] -- 2.39.5