X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=568227869b8c66991722454b81f5ff97a588044e;hb=9f83f2918743bcce81e1e004daf512d4aaa605ce;hp=e8b81eb84825012de42472da7e5f59b1ec51d1d0;hpb=0860633e40792e473506a28ced93d8baf687fb09;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index e8b81eb8482..568227869b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,20 +1,47 @@ [package] name = "rustfmt" -version = "0.0.1" -authors = ["Nicholas Cameron "] +version = "0.8.3" +authors = ["Nicholas Cameron ", "The Rustfmt developers"] 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", "LICENSE-*"] +build = "build.rs" +categories = ["development-tools"] + +[lib] +doctest = false + +[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" } +toml = "0.4" +serde = "1.0" +serde_derive = "1.0" +serde_json = "1.0" +unicode-segmentation = "1.0.0" +regex = "0.2" +term = "0.4" +strings = "0.0.1" +diff = "0.1" +syntex_syntax = "0.58" +syntex_errors = "0.58" +log = "0.3" +env_logger = "0.4" +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"