]> git.nihav.org Git - nihav.git/commitdiff
features for disabling components
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 17 May 2017 14:14:10 +0000 (16:14 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 17 May 2017 14:14:10 +0000 (16:14 +0200)
Cargo.toml

index 302339dd1393c18da06d9aebf6867c6bd99d2f5c..febb4c6ede78eb769e39af8b831d312409b2b0da 100644 (file)
@@ -4,4 +4,15 @@ version = "0.1.0"
 authors = ["Kostya Shishkov <kostya.shishkov@gmail.com>"]
 
 [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"]