]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Move to Libsyntax
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "0.1.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 include = ["src/*.rs", "Cargo.toml", "build.rs", "LICENSE-*"]
11 build = "build.rs"
12 categories = ["development-tools"]
13
14 [lib]
15 doctest = false
16
17 [[bin]]
18 name = "rustfmt"
19
20 [features]
21 default = ["cargo-fmt"]
22 cargo-fmt = []
23
24 [dependencies]
25 toml = "0.4"
26 serde = "1.0"
27 serde_derive = "1.0"
28 serde_json = "1.0"
29 unicode-segmentation = "1.0.0"
30 regex = "0.2"
31 term = "0.4"
32 strings = "0.1"
33 diff = "0.1"
34 log = "0.3"
35 env_logger = "0.4"
36 getopts = "0.2"
37
38 [target.'cfg(unix)'.dependencies]
39 libc = "0.2.11"
40
41 [target.'cfg(windows)'.dependencies]
42 kernel32-sys = "0.2.2"
43 winapi = "0.2.7"