X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=9c0fa45f53ec694a46e767654f20c0d1b62e8b01;hb=df7d2be5629b7162426f8a3c6dbf005f228008fe;hp=414c45c887a3309182b4de0b97f605a60897c14b;hpb=80f3b3c9c415d55b01446476d2ef2e02ce15ae0d;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 414c45c887a..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,15 +38,9 @@ regex = "0.2" term = "0.4" 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" - -[build-dependencies] -walkdir = "1.0.3" [target.'cfg(unix)'.dependencies] libc = "0.2.11"