]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
dfb2b0ad54da1bb1a54402fccc89d9240ad9ac9c
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "1.4.36"
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 itertools = "0.8"
38 toml = "0.5"
39 serde = { version = "1.0", features = ["derive"] }
40 serde_json = "1.0"
41 unicode-segmentation = "1.0.0"
42 regex = "1.0"
43 term = "0.6"
44 diff = "0.1"
45 log = "0.4"
46 env_logger = "0.6"
47 getopts = "0.2"
48 derive-new = "0.5"
49 cargo_metadata = "0.8"
50 bytecount = "0.6"
51 unicode-width = "0.1.5"
52 unicode_categories = "0.1.1"
53 dirs = "2.0.1"
54 ignore = "0.4.11"
55 annotate-snippets = { version = "0.6", features = ["ansi_term"] }
56 structopt = "0.3"
57 rustfmt-config_proc_macro = { version = "0.2", path = "config_proc_macro" }
58 lazy_static = "1.0.0"
59 anyhow = "1.0"
60 thiserror = "1.0"
61
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"
66
67 [dependencies.rustc_ast]
68 package = "rustc-ap-rustc_ast"
69 version = "711.0.0"
70
71 [dependencies.rustc_ast_pretty]
72 package = "rustc-ap-rustc_ast_pretty"
73 version = "711.0.0"
74
75 [dependencies.rustc_data_structures]
76 package = "rustc-ap-rustc_data_structures"
77 version = "711.0.0"
78
79 [dependencies.rustc_errors]
80 package = "rustc-ap-rustc_errors"
81 version = "711.0.0"
82
83 [dependencies.rustc_expand]
84 package = "rustc-ap-rustc_expand"
85 version = "711.0.0"
86
87 [dependencies.rustc_parse]
88 package = "rustc-ap-rustc_parse"
89 version = "711.0.0"
90
91 [dependencies.rustc_session]
92 package = "rustc-ap-rustc_session"
93 version = "711.0.0"
94
95 [dependencies.rustc_span]
96 package = "rustc-ap-rustc_span"
97 version = "711.0.0"