X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=a79c974b31ddf4a38eaad49bd144452b9798f15e;hb=32e882789ba98cf6c02b1822beecacbcb8800269;hp=591e60ef2390503ea55ffc33bfe95e7b2aaf80cd;hpb=11391dfe7b97f3457a794ca8fe863188367f6549;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 591e60ef239..a79c974b31d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,27 +1,42 @@ [package] name = "rustfmt" -version = "0.3.0" -authors = ["Nicholas Cameron ", "Marcus Klaas ", "The Rustfmt contributors"] +version = "0.9" +authors = ["Nicholas Cameron ", "The Rustfmt developers"] description = "Tool to find and fix Rust formatting issues" repository = "https://github.com/rust-lang-nursery/rustfmt" readme = "README.md" license = "Apache-2.0/MIT" -include = ["src/*.rs", "Cargo.toml"] +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 = "0.0.1" -diff = "0.1.8" -syntex_syntax = "0.30" -log = "0.3.2" -env_logger = "0.3.1" +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.1" +diff = "0.1" +syntex_syntax = "0.59" +syntex_errors = "0.59" +log = "0.3" +env_logger = "0.4" getopts = "0.2" + +[target.'cfg(unix)'.dependencies] +libc = "0.2.11" + +[target.'cfg(windows)'.dependencies] +kernel32-sys = "0.2.2" +winapi = "0.2.7"