]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/clippy_lints/Cargo.toml
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / Cargo.toml
CommitLineData
f20569fa
XL
1[package]
2name = "clippy_lints"
923072b8 3version = "0.1.63"
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"
923072b8 13clippy_dev = { path = "../clippy_dev", optional = true }
f20569fa 14clippy_utils = { path = "../clippy_utils" }
c295e0f8 15if_chain = "1.0"
5e7ed085 16itertools = "0.10.1"
a2a8927a 17pulldown-cmark = { version = "0.9", default-features = false }
c295e0f8 18quine-mc_cluskey = "0.2"
f20569fa
XL
19regex-syntax = "0.6"
20serde = { version = "1.0", features = ["derive"] }
17df50a5 21serde_json = { version = "1.0", optional = true }
923072b8 22tempfile = { version = "3.2", optional = true }
c295e0f8 23toml = "0.5"
f20569fa 24unicode-normalization = "0.1"
c295e0f8 25unicode-script = { version = "0.5", default-features = false }
3c0e092e 26semver = "1.0"
c295e0f8 27rustc-semver = "1.1"
f20569fa
XL
28# NOTE: cargo requires serde feat in its url dep
29# see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864>
c295e0f8 30url = { version = "2.2", features = ["serde"] }
f20569fa
XL
31
32[features]
17df50a5 33deny-warnings = ["clippy_utils/deny-warnings"]
f20569fa 34# build clippy with internal lints enabled, off by default
923072b8 35internal = ["clippy_utils/internal", "serde_json", "tempfile", "clippy_dev"]
f20569fa
XL
36
37[package.metadata.rust-analyzer]
38# This crate uses #[feature(rustc_private)]
39rustc_private = true