Add back cargo-fmt binary (#1670)

When there are no `[[bin]]` sections, all the binaries in `src/bin` are
automatically picked up. When a section is added, that is no longer the
case, so all the binaries need to be specified explicitly.
This commit is contained in:
Robin Stocker 2017-06-14 14:16:51 +10:00
parent 5f1bab26c4
commit a13db07b03
2 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,9 @@ doctest = false
[[bin]]
name = "rustfmt"
[[bin]]
name = "cargo-fmt"
[features]
default = ["cargo-fmt"]
cargo-fmt = []

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
extern crate rustfmt;
extern crate rustfmt_nightly as rustfmt;
extern crate diff;
extern crate regex;
extern crate term;