]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Handle non-ascii character at boundary (#5089)
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "1.4.38"
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"]
11 edition = "2021"
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]
36 itertools = "0.9"
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"
44 log = "0.4.14"
45 env_logger = "0.8"
46 getopts = "0.2"
47 derive-new = "0.5"
48 cargo_metadata = "0.14"
49 bytecount = "0.6"
50 unicode-width = "0.1.5"
51 unicode_categories = "0.1.1"
52 dirs = "2.0.1"
53 ignore = "0.4.17"
54 annotate-snippets = { version = "0.8", features = ["color"] }
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
66 # Rustc dependencies are loaded from the sysroot, Cargo doesn't know about them.