X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=clippy_lints%2FCargo.toml;h=7900dc6d0414136a0ef27a74f787c7d97cd6fc05;hb=f44a904a56b92415c189be16e8d628e6c1473935;hp=fcf817b82c89ef95f9785d75ba9e8015d467e67a;hpb=fbf2430f0279adb8132efe60b16f8dd7b6a2acb3;p=rust.git diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index fcf817b82c8..7900dc6d041 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,38 +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.57" 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 OR Apache-2.0" keywords = ["clippy", "lint", "plugin"] -edition = "2018" +edition = "2021" [dependencies] -cargo_metadata = "0.11.1" -if_chain = "1.0.0" -itertools = "0.9" +cargo_metadata = "0.12" +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.2" +quine-mc_cluskey = "0.2" regex-syntax = "0.6" serde = { version = "1.0", features = ["derive"] } -smallvec = { version = "1", features = ["union"] } -toml = "0.5.3" +serde_json = { version = "1.0", optional = true } +toml = "0.5" unicode-normalization = "0.1" -semver = "0.10.0" +unicode-script = { version = "0.5", default-features = false } +semver = "0.11" +rustc-semver = "1.1" # NOTE: cargo requires serde feat in its url dep # see -url = { version = "2.1.0", features = ["serde"] } -quote = "1" -syn = { version = "1", features = ["full"] } +url = { version = "2.2", features = ["serde"] } [features] -deny-warnings = [] +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