]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
b62a25431ed9827afca6df215729e6b728200996
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "1.0.1"
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"
8 readme = "README.md"
9 license = "Apache-2.0/MIT"
10 build = "build.rs"
11 categories = ["development-tools"]
12
13 [[bin]]
14 name = "rustfmt"
15 path = "src/bin/main.rs"
16
17 [[bin]]
18 name = "cargo-fmt"
19 path = "src/cargo-fmt/main.rs"
20
21 [[bin]]
22 name = "rustfmt-format-diff"
23 path = "src/format-diff/main.rs"
24
25 [[bin]]
26 name = "git-rustfmt"
27 path = "src/git-rustfmt/main.rs"
28
29 [features]
30 default = ["cargo-fmt", "rustfmt-format-diff"]
31 cargo-fmt = []
32 rustfmt-format-diff = []
33 generic-simd = ["bytecount/generic-simd"]
34
35 [dependencies]
36 atty = "0.2"
37 itertools = "0.8"
38 toml = "0.4"
39 serde = "1.0"
40 serde_derive = "1.0"
41 serde_json = "1.0"
42 unicode-segmentation = "1.0.0"
43 regex = "1.0"
44 term = "0.5"
45 diff = "0.1"
46 log = "0.4"
47 env_logger = "0.6"
48 getopts = "0.2"
49 derive-new = "0.5"
50 cargo_metadata = "0.7"
51 rustc-ap-rustc_target = "366.0.0"
52 rustc-ap-syntax = "366.0.0"
53 rustc-ap-syntax_pos = "366.0.0"
54 failure = "0.1.3"
55 bytecount = "0.5"
56 unicode-width = "0.1.5"
57 unicode_categories = "0.1.1"
58 dirs = "1.0.4"
59
60 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
61 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
62 # for more information.
63 rustc-workspace-hack = "1.0.0"
64
65 [dev-dependencies]
66 lazy_static = "1.0.0"