3 name = "rustfmt-nightly"
5 authors = ["Nicholas Cameron <ncameron@mozilla.com>", "The Rustfmt developers"]
6 description = "Tool to find and fix Rust formatting issues"
7 repository = "https://github.com/rust-lang/rustfmt"
9 license = "Apache-2.0/MIT"
11 categories = ["development-tools"]
15 path = "src/bin/main.rs"
19 path = "src/cargo-fmt/main.rs"
22 name = "rustfmt-format-diff"
23 path = "src/format-diff/main.rs"
27 path = "src/git-rustfmt/main.rs"
30 default = ["cargo-fmt", "rustfmt-format-diff"]
32 rustfmt-format-diff = []
33 generic-simd = ["bytecount/generic-simd"]
42 unicode-segmentation = "1.0.0"
50 cargo_metadata = "0.6"
51 rustc-ap-rustc_target = "306.0.0"
52 rustc-ap-syntax = "306.0.0"
53 rustc-ap-syntax_pos = "306.0.0"
57 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
58 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
59 # for more information.
60 rustc-workspace-hack = "1.0.0"