[package]
name = "rustfmt-nightly"
-version = "0.1.7"
+version = "0.2.16"
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"]
[[bin]]
name = "cargo-fmt"
+[[bin]]
+name = "rustfmt-format-diff"
+
+[[bin]]
+name = "git-fmt"
+
[features]
-default = ["cargo-fmt"]
+default = ["cargo-fmt", "rustfmt-format-diff"]
cargo-fmt = []
+rustfmt-format-diff = []
[dependencies]
toml = "0.4"
log = "0.3"
env_logger = "0.4"
getopts = "0.2"
+derive-new = "0.5"
+cargo_metadata = "0.3"
[target.'cfg(unix)'.dependencies]
libc = "0.2.11"