]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/clippy_lints/Cargo.toml
5e3a119337ccdc2c06f3f9f25b22de941181ed8d
[rustc.git] / src / tools / clippy / clippy_lints / Cargo.toml
1 [package]
2 name = "clippy_lints"
3 version = "0.1.80"
4 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
5 repository = "https://github.com/rust-lang/rust-clippy"
6 readme = "README.md"
7 license = "MIT OR Apache-2.0"
8 keywords = ["clippy", "lint", "plugin"]
9 edition = "2021"
10
11 [dependencies]
12 arrayvec = { version = "0.7", default-features = false }
13 cargo_metadata = "0.18"
14 clippy_config = { path = "../clippy_config" }
15 clippy_utils = { path = "../clippy_utils" }
16 declare_clippy_lint = { path = "../declare_clippy_lint" }
17 itertools = "0.12"
18 quine-mc_cluskey = "0.2"
19 regex-syntax = "0.8"
20 serde = { version = "1.0", features = ["derive"] }
21 serde_json = { version = "1.0", optional = true }
22 tempfile = { version = "3.3.0", optional = true }
23 toml = "0.7.3"
24 regex = { version = "1.5", optional = true }
25 unicode-normalization = "0.1"
26 unicode-script = { version = "0.5", default-features = false }
27 semver = "1.0"
28 rustc-semver = "1.1"
29 url = "2.2"
30
31 [dev-dependencies]
32 walkdir = "2.3"
33
34 [features]
35 deny-warnings = ["clippy_config/deny-warnings", "clippy_utils/deny-warnings"]
36 # build clippy with internal lints enabled, off by default
37 internal = ["serde_json", "tempfile", "regex"]
38
39 [package.metadata.rust-analyzer]
40 # This crate uses #[feature(rustc_private)]
41 rustc_private = true