X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=a79c974b31ddf4a38eaad49bd144452b9798f15e;hb=32e882789ba98cf6c02b1822beecacbcb8800269;hp=6cc358ca199018e27ea4d520f0701876e7d61304;hpb=ce97bc08be91d931b5c8ec62bc35c4915b63c8d5;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 6cc358ca199..a79c974b31d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,27 +1,42 @@ [package] name = "rustfmt" -version = "0.4.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" -rustc-serialize = "0.3" -unicode-segmentation = "0.1" -regex = "0.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.0.1" +strings = "0.1" diff = "0.1" -syntex_syntax = "0.30" +syntex_syntax = "0.59" +syntex_errors = "0.59" log = "0.3" -env_logger = "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"