]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/clippy_lints/Cargo.toml
New upstream version 1.58.1+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / Cargo.toml
CommitLineData
f20569fa
XL
1[package]
2name = "clippy_lints"
3c0e092e 3version = "0.1.58"
f20569fa
XL
4description = "A bunch of helpful lints to avoid common pitfalls in Rust"
5repository = "https://github.com/rust-lang/rust-clippy"
6readme = "README.md"
7license = "MIT OR Apache-2.0"
8keywords = ["clippy", "lint", "plugin"]
c295e0f8 9edition = "2021"
f20569fa
XL
10
11[dependencies]
3c0e092e 12cargo_metadata = "0.14"
f20569fa 13clippy_utils = { path = "../clippy_utils" }
c295e0f8
XL
14if_chain = "1.0"
15itertools = "0.10"
f20569fa 16pulldown-cmark = { version = "0.8", default-features = false }
c295e0f8 17quine-mc_cluskey = "0.2"
f20569fa
XL
18regex-syntax = "0.6"
19serde = { version = "1.0", features = ["derive"] }
17df50a5 20serde_json = { version = "1.0", optional = true }
c295e0f8 21toml = "0.5"
f20569fa 22unicode-normalization = "0.1"
c295e0f8 23unicode-script = { version = "0.5", default-features = false }
3c0e092e 24semver = "1.0"
c295e0f8 25rustc-semver = "1.1"
f20569fa
XL
26# NOTE: cargo requires serde feat in its url dep
27# see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864>
c295e0f8 28url = { version = "2.2", features = ["serde"] }
f20569fa
XL
29
30[features]
17df50a5 31deny-warnings = ["clippy_utils/deny-warnings"]
f20569fa
XL
32# build clippy with internal lints enabled, off by default
33internal-lints = ["clippy_utils/internal-lints"]
17df50a5 34metadata-collector-lint = ["serde_json", "clippy_utils/metadata-collector-lint"]
f20569fa
XL
35
36[package.metadata.rust-analyzer]
37# This crate uses #[feature(rustc_private)]
38rustc_private = true