]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Release 1.1.0
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "1.1.0"
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 edition = "2018"
13
14 [[bin]]
15 name = "rustfmt"
16 path = "src/bin/main.rs"
17
18 [[bin]]
19 name = "cargo-fmt"
20 path = "src/cargo-fmt/main.rs"
21
22 [[bin]]
23 name = "rustfmt-format-diff"
24 path = "src/format-diff/main.rs"
25
26 [[bin]]
27 name = "git-rustfmt"
28 path = "src/git-rustfmt/main.rs"
29
30 [features]
31 default = ["cargo-fmt", "rustfmt-format-diff"]
32 cargo-fmt = []
33 rustfmt-format-diff = []
34 generic-simd = ["bytecount/generic-simd"]
35
36 [dependencies]
37 atty = "0.2"
38 itertools = "0.8"
39 toml = "0.4"
40 serde = "1.0"
41 serde_derive = "1.0"
42 serde_json = "1.0"
43 unicode-segmentation = "1.0.0"
44 regex = "1.0"
45 term = "0.5"
46 diff = "0.1"
47 log = "0.4"
48 env_logger = "0.6"
49 getopts = "0.2"
50 derive-new = "0.5"
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"
55 failure = "0.1.3"
56 bytecount = "0.5"
57 unicode-width = "0.1.5"
58 unicode_categories = "0.1.1"
59 dirs = "1.0.4"
60
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"
65
66 [dev-dependencies]
67 lazy_static = "1.0.0"