]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Put attributes and enum variants on different lines
[rust.git] / Cargo.toml
index 5ac6bf54144d9c59731a4d4dde70f5dde1af4eb0..d39bfe0cbad4fa2338f7b9fd94632113035bc46e 100644 (file)
@@ -1,13 +1,12 @@
 [package]
 
 name = "rustfmt-nightly"
-version = "0.2.0"
+version = "0.3.6"
 authors = ["Nicholas Cameron <ncameron@mozilla.com>", "The Rustfmt developers"]
 description = "Tool to find and fix Rust formatting issues"
 repository = "https://github.com/rust-lang-nursery/rustfmt"
 readme = "README.md"
 license = "Apache-2.0/MIT"
-include = ["src/*.rs", "Cargo.toml", "build.rs", "LICENSE-*"]
 build = "build.rs"
 categories = ["development-tools"]
 
@@ -20,9 +19,16 @@ name = "rustfmt"
 [[bin]]
 name = "cargo-fmt"
 
+[[bin]]
+name = "rustfmt-format-diff"
+
+[[bin]]
+name = "git-rustfmt"
+
 [features]
-default = ["cargo-fmt"]
+default = ["cargo-fmt", "rustfmt-format-diff"]
 cargo-fmt = []
+rustfmt-format-diff = []
 
 [dependencies]
 toml = "0.4"
@@ -32,11 +38,17 @@ serde_json = "1.0"
 unicode-segmentation = "1.0.0"
 regex = "0.2"
 term = "0.4"
-strings = "0.1"
 diff = "0.1"
 log = "0.3"
 env_logger = "0.4"
 getopts = "0.2"
+derive-new = "0.5"
+cargo_metadata = "0.4"
+rustc-ap-syntax = "12.0.0"
+rustc-ap-rustc_errors = "12.0.0"
+
+[dev-dependencies]
+lazy_static = "1.0.0"
 
 [target.'cfg(unix)'.dependencies]
 libc = "0.2.11"