X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=9c0fa45f53ec694a46e767654f20c0d1b62e8b01;hb=df7d2be5629b7162426f8a3c6dbf005f228008fe;hp=083dfd787fa2023abcfecd4cad01a3219a3643a2;hpb=10b2f3ac8dd7101711308b611031d3e5bd0aca2f;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 083dfd787fa..9c0fa45f53e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,22 +1,32 @@ [package] -name = "rustfmt" -version = "0.8.4" +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.4" @@ -28,8 +38,6 @@ 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"