X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=b8c77b6bf1c2789a360caf7c1de3567bcb63a2b9;hb=90db34a9618011e5ac189612e7954624582cf05a;hp=ebd4e8e7f1e73b6f7f87b9b82cc074191922588f;hpb=45bcf59bdee49bb81182e89abceae2d5466e9986;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index ebd4e8e7f1e..b8c77b6bf1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,24 +1,41 @@ [package] name = "rustfmt" -version = "0.0.1" -authors = ["Nicholas Cameron "] +version = "0.6.3" +authors = ["Nicholas Cameron ", "Marcus Klaas ", "The Rustfmt contributors"] description = "Tool to find and fix Rust formatting issues" -repository = "https://github.com/nick29581/rustfmt" +repository = "https://github.com/rust-lang-nursery/rustfmt" readme = "README.md" license = "Apache-2.0/MIT" +include = ["src/*.rs", "Cargo.toml", "build.rs"] +build = "build.rs" + +[features] +default = ["cargo-fmt"] +cargo-fmt = [] [dependencies] -toml = "0.1.20" -rustc-serialize = "0.3.14" -unicode-segmentation = "0.1.2" -regex = "0.1.41" -term = "0.2.11" -strings = { version = "0.0.1", git = "https://github.com/nrc/strings.rs.git" } -diff = { git = "https://github.com/utkarshkukreti/diff.rs.git" } -syntex_syntax = { git = "https://github.com/serde-rs/syntex" } -log = "0.3.2" -env_logger = "0.3.1" +toml = "0.2.1" +rustc-serialize = "0.3" +unicode-segmentation = "1.0.0" +regex = "0.1" +term = "0.4" +strings = "0.0.1" +diff = "0.1" +syntex_syntax = "0.52" +syntex_errors = "0.52" +log = "0.3" +env_logger = "0.3" getopts = "0.2" +itertools = "0.5.8" +multimap = "0.3" + +[build-dependencies] +walkdir = "1.0.3" + +[target.'cfg(unix)'.dependencies] +libc = "0.2.11" -[dev-dependencies] +[target.'cfg(windows)'.dependencies] +kernel32-sys = "0.2.2" +winapi = "0.2.7"