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"]
39 serde = { version = "1.0", features = ["derive"] }
41 unicode-segmentation = "1.0.0"
49 cargo_metadata = "0.8"
51 unicode-width = "0.1.5"
52 unicode_categories = "0.1.1"
55 annotate-snippets = { version = "0.8", features = ["color"] }
57 rustfmt-config_proc_macro = { version = "0.2", path = "config_proc_macro" }
62 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
63 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
64 # for more information.
65 rustc-workspace-hack = "1.0.0"
67 # Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them.