X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=9c0fa45f53ec694a46e767654f20c0d1b62e8b01;hb=df7d2be5629b7162426f8a3c6dbf005f228008fe;hp=b6a27da9b54974220205e7ad22dc81c8a174ee58;hpb=6c206d29315561a3c12cbbea3aba6a8dcffde092;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index b6a27da9b54..9c0fa45f53e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,41 +1,46 @@ [package] -name = "rustfmt" -version = "0.8.1" +name = "rustfmt-nightly" +version = "0.2.6" 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", "build.rs", "LICENSE-*"] +include = ["src/**", "Cargo.toml", "build.rs", "LICENSE-*"] build = "build.rs" categories = ["development-tools"] [lib] doctest = false +[[bin]] +name = "rustfmt" + +[[bin]] +name = "cargo-fmt" + +[[bin]] +name = "rustfmt-format-diff" + [features] -default = ["cargo-fmt"] +default = ["cargo-fmt", "rustfmt-format-diff"] cargo-fmt = [] +rustfmt-format-diff = [] [dependencies] -toml = "0.2.1" -rustc-serialize = "0.3" +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.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"