]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Move Indent and Shape to shape.rs from lib.rs
[rust.git] / Cargo.toml
1 [package]
2
3 name = "rustfmt-nightly"
4 version = "0.2.6"
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/**", "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 [[bin]]
21 name = "cargo-fmt"
22
23 [[bin]]
24 name = "rustfmt-format-diff"
25
26 [features]
27 default = ["cargo-fmt", "rustfmt-format-diff"]
28 cargo-fmt = []
29 rustfmt-format-diff = []
30
31 [dependencies]
32 toml = "0.4"
33 serde = "1.0"
34 serde_derive = "1.0"
35 serde_json = "1.0"
36 unicode-segmentation = "1.0.0"
37 regex = "0.2"
38 term = "0.4"
39 strings = "0.1"
40 diff = "0.1"
41 log = "0.3"
42 env_logger = "0.4"
43 getopts = "0.2"
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"