X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=7b07fde43992f57ef108dd454e1d1ebddc7583bf;hb=ceea3c6a35bfada9536bac674fc6308831f1938c;hp=eb97707e667ab393d012c9d0fe62c44dac66fdb4;hpb=2ab97a24e799568750d7a5e8053edda0abc64c31;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index eb97707e667..7b07fde4399 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,21 +11,15 @@ authors = [ description = "A bunch of helpful lints to avoid common pitfalls in Rust" repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["clippy", "lint", "plugin"] categories = ["development-tools", "development-tools::cargo-plugins"] build = "build.rs" edition = "2018" publish = false -[badges] -travis-ci = { repository = "rust-lang/rust-clippy" } -appveyor = { repository = "rust-lang/rust-clippy" } - -[lib] -name = "clippy" -plugin = true -test = false +# [badges] +# FIXME(flip1995): Add GHA badge once rust-lang/crates.io#1838 is merged [[bin]] name = "cargo-clippy" @@ -42,15 +36,17 @@ clippy_lints = { version = "0.0.212", path = "clippy_lints" } # end automatic update regex = "1" semver = "0.9" -rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"} +rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"} +tempfile = { version = "3.1.0", optional = true } +lazy_static = "1.0" [dev-dependencies] -cargo_metadata = "0.7.1" -compiletest_rs = { version = "0.3.22", features = ["tmp"] } +cargo_metadata = "0.9.0" +compiletest_rs = { version = "0.5.0", features = ["tmp"] } +tester = "0.7" lazy_static = "1.0" -serde_derive = "1.0" clippy-mini-macro-test = { version = "0.2", path = "mini-macro" } -serde = "1.0" +serde = { version = "1.0", features = ["derive"] } derive-new = "0.5" # A noop dependency that changes in the Rust repository, it's a bit of a hack. @@ -59,7 +55,8 @@ derive-new = "0.5" rustc-workspace-hack = "1.0.0" [build-dependencies] -rustc_tools_util = { version = "0.1.1", path = "rustc_tools_util"} +rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"} [features] -debugging = [] +deny-warnings = [] +integration = ["tempfile"]