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