]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Change Cargo.toml
[rust.git] / Cargo.toml
index a3a167920484f934319df2e262339b9f6212bbc0..c2d7ecf5a4763a6a2bdc2ff05f354aa7add69fdc 100644 (file)
@@ -9,6 +9,10 @@ readme = "README.md"
 license = "Apache-2.0/MIT"
 include = ["src/*.rs", "Cargo.toml"]
 
+[features]
+default = ["cargo-fmt"]
+cargo-fmt = ["walkdir"]
+
 [dependencies]
 toml = "0.1.20"
 rustc-serialize = "0.3.14"
@@ -21,3 +25,5 @@ syntex_syntax = "0.23.0"
 log = "0.3.2"
 env_logger = "0.3.1"
 getopts = "0.2"
+
+walkdir = {version = "0.1.5", optional = true}