]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/Cargo.toml
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / Cargo.toml
CommitLineData
f20569fa
XL
1[package]
2
3name = "rustfmt-nightly"
4version = "1.4.36"
5authors = ["Nicholas Cameron <ncameron@mozilla.com>", "The Rustfmt developers"]
6description = "Tool to find and fix Rust formatting issues"
7repository = "https://github.com/rust-lang/rustfmt"
8readme = "README.md"
9license = "Apache-2.0/MIT"
10build = "build.rs"
11categories = ["development-tools"]
12edition = "2018"
13
14[[bin]]
15name = "rustfmt"
16path = "src/bin/main.rs"
17
18[[bin]]
19name = "cargo-fmt"
20path = "src/cargo-fmt/main.rs"
21
22[[bin]]
23name = "rustfmt-format-diff"
24path = "src/format-diff/main.rs"
25
26[[bin]]
27name = "git-rustfmt"
28path = "src/git-rustfmt/main.rs"
29
30[features]
31default = ["cargo-fmt", "rustfmt-format-diff"]
32cargo-fmt = []
33rustfmt-format-diff = []
34generic-simd = ["bytecount/generic-simd"]
35
36[dependencies]
37itertools = "0.8"
38toml = "0.5"
39serde = { version = "1.0", features = ["derive"] }
40serde_json = "1.0"
41unicode-segmentation = "1.0.0"
42regex = "1.0"
43term = "0.6"
44diff = "0.1"
45log = "0.4"
46env_logger = "0.6"
47getopts = "0.2"
48derive-new = "0.5"
49cargo_metadata = "0.8"
50bytecount = "0.6"
51unicode-width = "0.1.5"
52unicode_categories = "0.1.1"
53dirs = "2.0.1"
54ignore = "0.4.11"
55annotate-snippets = { version = "0.6", features = ["ansi_term"] }
56structopt = "0.3"
57rustfmt-config_proc_macro = { version = "0.2", path = "config_proc_macro" }
58lazy_static = "1.0.0"
59anyhow = "1.0"
60thiserror = "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.
65rustc-workspace-hack = "1.0.0"
66
67[dependencies.rustc_ast]
68package = "rustc-ap-rustc_ast"
69version = "705.0.0"
70
71[dependencies.rustc_ast_pretty]
72package = "rustc-ap-rustc_ast_pretty"
73version = "705.0.0"
74
75[dependencies.rustc_attr]
76package = "rustc-ap-rustc_attr"
77version = "705.0.0"
78
79[dependencies.rustc_data_structures]
80package = "rustc-ap-rustc_data_structures"
81version = "705.0.0"
82
83[dependencies.rustc_errors]
84package = "rustc-ap-rustc_errors"
85version = "705.0.0"
86
87[dependencies.rustc_expand]
88package = "rustc-ap-rustc_expand"
89version = "705.0.0"
90
91[dependencies.rustc_parse]
92package = "rustc-ap-rustc_parse"
93version = "705.0.0"
94
95[dependencies.rustc_session]
96package = "rustc-ap-rustc_session"
97version = "705.0.0"
98
99[dependencies.rustc_span]
100package = "rustc-ap-rustc_span"
101version = "705.0.0"