X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=373e720b0d5c07024e2d253cb8191bfcb54c01eb;hb=4587b6628d1dff4a3c23ffcaadb7276d12f1e165;hp=8421670a1a465dce0d955d9561180b32efeb1b7e;hpb=ceb9b7d66de723a2d312d72a796d23142bbc6329;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 8421670a1a4..373e720b0d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,6 @@ [package] name = "clippy" -version = "0.0.212" -authors = [ - "Manish Goregaokar ", - "Andre Bogus ", - "Georg Brandl ", - "Martin Carton ", - "Oliver Schneider " -] +version = "0.1.63" description = "A bunch of helpful lints to avoid common pitfalls in Rust" repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" @@ -15,12 +8,9 @@ license = "MIT OR Apache-2.0" keywords = ["clippy", "lint", "plugin"] categories = ["development-tools", "development-tools::cargo-plugins"] build = "build.rs" -edition = "2018" +edition = "2021" publish = false -# [badges] -# FIXME(flip1995): Add GHA badge once rust-lang/crates.io#1838 is merged - [[bin]] name = "cargo-clippy" test = false @@ -31,32 +21,45 @@ name = "clippy-driver" path = "src/driver.rs" [dependencies] -# begin automatic update -clippy_lints = { version = "0.0.212", path = "clippy_lints" } -# end automatic update -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" +clippy_lints = { path = "clippy_lints" } +semver = "1.0" +rustc_tools_util = { path = "rustc_tools_util" } +tempfile = { version = "3.2", optional = true } +termize = "0.1" [dev-dependencies] -cargo_metadata = "0.9.0" -compiletest_rs = { version = "0.4.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"] } -derive-new = "0.5" +compiletest_rs = { version = "0.7.1", features = ["tmp"] } +tester = "0.9" +regex = "1.5" +# This is used by the `collect-metadata` alias. +filetime = "0.2" # A noop dependency that changes in the Rust repository, it's a bit of a hack. # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust` # for more information. -rustc-workspace-hack = "1.0.0" +rustc-workspace-hack = "1.0" + +# UI test dependencies +clippy_utils = { path = "clippy_utils" } +derive-new = "0.5" +if_chain = "1.0" +itertools = "0.10.1" +quote = "1.0" +serde = { version = "1.0.125", features = ["derive"] } +syn = { version = "1.0", features = ["full"] } +futures = "0.3" +parking_lot = "0.11.2" +tokio = { version = "1", features = ["io-util"] } +rustc-semver = "1.1" [build-dependencies] -rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"} +rustc_tools_util = { version = "0.2", path = "rustc_tools_util" } [features] -deny-warnings = [] +deny-warnings = ["clippy_lints/deny-warnings"] integration = ["tempfile"] +internal = ["clippy_lints/internal"] + +[package.metadata.rust-analyzer] +# This package uses #[feature(rustc_private)] +rustc_private = true