X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=clippy_lints%2FCargo.toml;h=0661c2803864c15545b050f15a2ddb9a3fd43634;hb=b2f8a27ff2662b440d0dd65cdb609d303b2fa280;hp=423e13e9dd5afdd3df7c985f0651bb3e34f15b8a;hpb=f783ff3d52e1a2877bd61191229244f56cab4c07;p=rust.git diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 423e13e9dd5..0661c280386 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,37 +1,38 @@ [package] name = "clippy_lints" -# begin automatic update -version = "0.0.212" -# end automatic update -authors = [ - "Manish Goregaokar ", - "Andre Bogus ", - "Georg Brandl ", - "Martin Carton " -] +version = "0.1.59" description = "A bunch of helpful lints to avoid common pitfalls in Rust" repository = "https://github.com/rust-lang/rust-clippy" readme = "README.md" -license = "MPL-2.0" +license = "MIT OR Apache-2.0" keywords = ["clippy", "lint", "plugin"] -edition = "2018" +edition = "2021" [dependencies] -cargo_metadata = "0.8.0" -itertools = "0.8" -lazy_static = "1.0.2" -matches = "0.1.7" -quine-mc_cluskey = "0.2.2" +cargo_metadata = "0.14" +clippy_utils = { path = "../clippy_utils" } +if_chain = "1.0" +itertools = "0.10" +pulldown-cmark = { version = "0.8", default-features = false } +quine-mc_cluskey = "0.2" regex-syntax = "0.6" -semver = "0.9.0" serde = { version = "1.0", features = ["derive"] } -toml = "0.5.3" +serde_json = { version = "1.0", optional = true } +toml = "0.5" unicode-normalization = "0.1" -pulldown-cmark = "0.6.0" -url = { version = "2.1.0", features = ["serde"] } # cargo requires serde feat in its url dep -# see https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864 -if_chain = "1.0.0" -smallvec = { version = "0.6.5", features = ["union"] } +unicode-script = { version = "0.5", default-features = false } +semver = "1.0" +rustc-semver = "1.1" +# NOTE: cargo requires serde feat in its url dep +# see +url = { version = "2.2", features = ["serde"] } [features] -debugging = [] +deny-warnings = ["clippy_utils/deny-warnings"] +# build clippy with internal lints enabled, off by default +internal-lints = ["clippy_utils/internal-lints"] +metadata-collector-lint = ["serde_json", "clippy_utils/metadata-collector-lint"] + +[package.metadata.rust-analyzer] +# This crate uses #[feature(rustc_private)] +rustc_private = true