4 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
5 repository = "https://github.com/rust-lang/rust-clippy"
7 license = "MIT OR Apache-2.0"
8 keywords = ["clippy", "lint", "plugin"]
12 cargo_metadata = "0.14"
13 clippy_utils = { path = "../clippy_utils" }
16 pulldown-cmark = { version = "0.9", default-features = false }
17 quine-mc_cluskey = "0.2"
19 serde = { version = "1.0", features = ["derive"] }
20 serde_json = { version = "1.0", optional = true }
21 tempfile = { version = "3.3.0", optional = true }
23 unicode-normalization = "0.1"
24 unicode-script = { version = "0.5", default-features = false }
27 # NOTE: cargo requires serde feat in its url dep
28 # see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864>
29 url = { version = "2.2", features = ["serde"] }
32 deny-warnings = ["clippy_utils/deny-warnings"]
33 # build clippy with internal lints enabled, off by default
34 internal = ["clippy_utils/internal", "serde_json", "tempfile"]
36 [package.metadata.rust-analyzer]
37 # This crate uses #[feature(rustc_private)]