]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | [package] |
2 | ||
3 | name = "rustfmt-nightly" | |
3c0e092e | 4 | version = "1.4.38" |
f20569fa XL |
5 | description = "Tool to find and fix Rust formatting issues" |
6 | repository = "https://github.com/rust-lang/rustfmt" | |
7 | readme = "README.md" | |
8 | license = "Apache-2.0/MIT" | |
9 | build = "build.rs" | |
10 | categories = ["development-tools"] | |
c295e0f8 | 11 | edition = "2021" |
f20569fa XL |
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] | |
5e7ed085 | 36 | itertools = "0.10.1" |
f20569fa XL |
37 | toml = "0.5" |
38 | serde = { version = "1.0", features = ["derive"] } | |
39 | serde_json = "1.0" | |
40 | unicode-segmentation = "1.0.0" | |
41 | regex = "1.0" | |
42 | term = "0.6" | |
43 | diff = "0.1" | |
17df50a5 | 44 | log = "0.4.14" |
3c0e092e | 45 | env_logger = "0.8" |
f20569fa XL |
46 | getopts = "0.2" |
47 | derive-new = "0.5" | |
3c0e092e | 48 | cargo_metadata = "0.14" |
f20569fa XL |
49 | bytecount = "0.6" |
50 | unicode-width = "0.1.5" | |
51 | unicode_categories = "0.1.1" | |
52 | dirs = "2.0.1" | |
3c0e092e | 53 | ignore = "0.4.17" |
cdc7bbd5 | 54 | annotate-snippets = { version = "0.8", features = ["color"] } |
f20569fa XL |
55 | structopt = "0.3" |
56 | rustfmt-config_proc_macro = { version = "0.2", path = "config_proc_macro" } | |
57 | lazy_static = "1.0.0" | |
58 | anyhow = "1.0" | |
59 | thiserror = "1.0" | |
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 | ||
cdc7bbd5 | 66 | # Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them. |