]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Simplify code around visit_fn (#3698)
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "1.3.3"
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.5"
40 serde = { version = "1.0", features = ["derive"] }
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.8"
51 rustc-ap-rustc_target = "491.0.0"
52 rustc-ap-syntax = "491.0.0"
53 rustc-ap-syntax_pos = "491.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 = "2.0.1"
59 ignore = "0.4.6"
60 annotate-snippets = { version = "0.5.0", features = ["ansi_term"] }
61 structopt = "0.2.18"
62
63 rustfmt-config_proc_macro = { version = "0.1", path = "config_proc_macro" }
64
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"
69
70 [dev-dependencies]
71 lazy_static = "1.0.0"