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"]
16 path = "src/bin/main.rs"
20 path = "src/cargo-fmt/main.rs"
23 name = "rustfmt-format-diff"
24 path = "src/format-diff/main.rs"
28 path = "src/git-rustfmt/main.rs"
31 default = ["cargo-fmt", "rustfmt-format-diff"]
33 rustfmt-format-diff = []
34 generic-simd = ["bytecount/generic-simd"]
43 unicode-segmentation = "1.0.0"
51 cargo_metadata = "0.7"
52 rustc-ap-rustc_target = "407.0.0"
53 rustc-ap-syntax = "407.0.0"
54 rustc-ap-syntax_pos = "407.0.0"
57 unicode-width = "0.1.5"
58 unicode_categories = "0.1.1"
61 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
62 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
63 # for more information.
64 rustc-workspace-hack = "1.0.0"