]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Add derive-new to dependencies
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "0.2.14"
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
19 [[bin]]
20 name = "cargo-fmt"
21
22 [[bin]]
23 name = "rustfmt-format-diff"
24
25 [features]
26 default = ["cargo-fmt", "rustfmt-format-diff"]
27 cargo-fmt = []
28 rustfmt-format-diff = []
29
30 [dependencies]
31 toml = "0.4"
32 serde = "1.0"
33 serde_derive = "1.0"
34 serde_json = "1.0"
35 unicode-segmentation = "1.0.0"
36 regex = "0.2"
37 term = "0.4"
38 strings = "0.1"
39 diff = "0.1"
40 log = "0.3"
41 env_logger = "0.4"
42 getopts = "0.2"
43 derive-new = "0.5"
44
45 [target.'cfg(unix)'.dependencies]
46 libc = "0.2.11"
47
48 [target.'cfg(windows)'.dependencies]
49 kernel32-sys = "0.2.2"
50 winapi = "0.2.7"