]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Catch panics in the parser before they crash rustfmt
[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 toml = "0.4"
39 serde = "1.0"
40 serde_derive = "1.0"
41 serde_json = "1.0"
42 unicode-segmentation = "1.0.0"
43 regex = "0.2"
44 term = "0.5"
45 diff = "0.1"
46 log = "0.4"
47 env_logger = "0.5"
48 getopts = "0.2"
49 derive-new = "0.5"
50 cargo_metadata = "0.5"
51 rustc-ap-syntax = "60.0.0"
52 rustc-ap-rustc_errors = "60.0.0"
53
54 [dev-dependencies]
55 lazy_static = "1.0.0"
56
57 [target.'cfg(unix)'.dependencies]
58 libc = "0.2.11"
59
60 [target.'cfg(windows)'.dependencies]
61 winapi = { version = "0.3" }