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"]
40 serde = { version = "1.0", features = ["derive"] }
42 unicode-segmentation = "1.0.0"
50 cargo_metadata = "0.8"
51 rustc-ap-rustc_target = "542.0.0"
52 rustc-ap-syntax = "542.0.0"
53 rustc-ap-syntax_pos = "542.0.0"
56 unicode-width = "0.1.5"
57 unicode_categories = "0.1.1"
60 annotate-snippets = { version = "0.6", features = ["ansi_term"] }
63 rustfmt-config_proc_macro = { version = "0.1.2", path = "config_proc_macro" }
65 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
66 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
67 # for more information.
68 rustc-workspace-hack = "1.0.0"