]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Check whether '\\'' is char literal or lifetime
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "0.4.0"
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-nursery/rustfmt"
8 readme = "README.md"
9 license = "Apache-2.0/MIT"
10 build = "build.rs"
11 categories = ["development-tools"]
12
13 [lib]
14 doctest = false
15
16 [[bin]]
17 name = "rustfmt"
18 path = "src/bin/main.rs"
19
20 [[bin]]
21 name = "cargo-fmt"
22 path = "src/cargo-fmt/main.rs"
23
24 [[bin]]
25 name = "rustfmt-format-diff"
26 path = "src/format-diff/main.rs"
27
28 [[bin]]
29 name = "git-rustfmt"
30 path = "src/git-rustfmt/main.rs"
31
32 [features]
33 default = ["cargo-fmt", "rustfmt-format-diff"]
34 cargo-fmt = []
35 rustfmt-format-diff = []
36
37 [dependencies]
38 itertools = "0.7"
39 toml = "0.4"
40 serde = "1.0"
41 serde_derive = "1.0"
42 serde_json = "1.0"
43 unicode-segmentation = "1.0.0"
44 regex = "0.2"
45 term = "0.5"
46 diff = "0.1"
47 log = "0.4"
48 env_logger = "0.5"
49 getopts = "0.2"
50 derive-new = "0.5"
51 cargo_metadata = "0.5"
52 rustc-ap-syntax = "60.0.0"
53 rustc-ap-rustc_errors = "60.0.0"
54
55 [dev-dependencies]
56 lazy_static = "1.0.0"
57
58 [target.'cfg(unix)'.dependencies]
59 libc = "0.2.11"
60
61 [target.'cfg(windows)'.dependencies]
62 winapi = { version = "0.3" }