]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Change Cargo.toml
[rust.git] / Cargo.toml
index 4a976cbe99799596e62417fd9ab6eacded20f871..c2d7ecf5a4763a6a2bdc2ff05f354aa7add69fdc 100644 (file)
@@ -1,7 +1,7 @@
 [package]
 
 name = "rustfmt"
-version = "0.0.2"
+version = "0.1.0"
 authors = ["Nicholas Cameron <ncameron@mozilla.com>", "Marcus Klaas <mail@marcusklaas.nl>", "The Rustfmt contributors"]
 description = "Tool to find and fix Rust formatting issues"
 repository = "https://github.com/rust-lang-nursery/rustfmt"
@@ -9,15 +9,21 @@ 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"
 unicode-segmentation = "0.1.2"
 regex = "0.1.41"
 term = "0.2.11"
-strings = { version = "0.0.1", git = "https://github.com/nrc/strings.rs.git" }
-diff = { git = "https://github.com/utkarshkukreti/diff.rs.git" }
-syntex_syntax = { git = "https://github.com/serde-rs/syntex" }
+strings = "0.0.1"
+diff = "0.1.7"
+syntex_syntax = "0.23.0"
 log = "0.3.2"
 env_logger = "0.3.1"
 getopts = "0.2"
+
+walkdir = {version = "0.1.5", optional = true}