X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=7b07fde43992f57ef108dd454e1d1ebddc7583bf;hb=ceea3c6a35bfada9536bac674fc6308831f1938c;hp=f68251adb5eab97f38ad1993c09d23615e31abeb;hpb=28a39e9741467f52b4cf0b6996deab4a97ea5ca6;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index f68251adb5e..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" @@ -43,10 +37,13 @@ clippy_lints = { version = "0.0.212", path = "clippy_lints" } regex = "1" semver = "0.9" 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.8.0" -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" clippy-mini-macro-test = { version = "0.2", path = "mini-macro" } serde = { version = "1.0", features = ["derive"] } @@ -61,4 +58,5 @@ rustc-workspace-hack = "1.0.0" rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"} [features] -debugging = [] +deny-warnings = [] +integration = ["tempfile"]