]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/Cargo.toml
New upstream version 1.61.0+dfsg1
[rustc.git] / src / tools / rustfmt / Cargo.toml
CommitLineData
f20569fa
XL
1[package]
2
3name = "rustfmt-nightly"
3c0e092e 4version = "1.4.38"
f20569fa
XL
5description = "Tool to find and fix Rust formatting issues"
6repository = "https://github.com/rust-lang/rustfmt"
7readme = "README.md"
8license = "Apache-2.0/MIT"
9build = "build.rs"
10categories = ["development-tools"]
c295e0f8 11edition = "2021"
f20569fa
XL
12
13[[bin]]
14name = "rustfmt"
15path = "src/bin/main.rs"
16
17[[bin]]
18name = "cargo-fmt"
19path = "src/cargo-fmt/main.rs"
20
21[[bin]]
22name = "rustfmt-format-diff"
23path = "src/format-diff/main.rs"
24
25[[bin]]
26name = "git-rustfmt"
27path = "src/git-rustfmt/main.rs"
28
29[features]
30default = ["cargo-fmt", "rustfmt-format-diff"]
31cargo-fmt = []
32rustfmt-format-diff = []
33generic-simd = ["bytecount/generic-simd"]
34
35[dependencies]
5e7ed085 36itertools = "0.10.1"
f20569fa
XL
37toml = "0.5"
38serde = { version = "1.0", features = ["derive"] }
39serde_json = "1.0"
40unicode-segmentation = "1.0.0"
41regex = "1.0"
42term = "0.6"
43diff = "0.1"
17df50a5 44log = "0.4.14"
3c0e092e 45env_logger = "0.8"
f20569fa
XL
46getopts = "0.2"
47derive-new = "0.5"
3c0e092e 48cargo_metadata = "0.14"
f20569fa
XL
49bytecount = "0.6"
50unicode-width = "0.1.5"
51unicode_categories = "0.1.1"
52dirs = "2.0.1"
3c0e092e 53ignore = "0.4.17"
cdc7bbd5 54annotate-snippets = { version = "0.8", features = ["color"] }
f20569fa
XL
55structopt = "0.3"
56rustfmt-config_proc_macro = { version = "0.2", path = "config_proc_macro" }
57lazy_static = "1.0.0"
58anyhow = "1.0"
59thiserror = "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.
64rustc-workspace-hack = "1.0.0"
65
cdc7bbd5 66# Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them.