]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_lints/Cargo.toml
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / src / tools / clippy / clippy_lints / Cargo.toml
1 [package]
2 name = "clippy_lints"
3 version = "0.1.69"
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 cargo_metadata = "0.14"
13 clippy_utils = { path = "../clippy_utils" }
14 declare_clippy_lint = { path = "../declare_clippy_lint" }
15 if_chain = "1.0"
16 itertools = "0.10.1"
17 pulldown-cmark = { version = "0.9", default-features = false }
18 quine-mc_cluskey = "0.2"
19 regex-syntax = "0.6"
20 serde = { version = "1.0", features = ["derive"] }
21 serde_json = { version = "1.0", optional = true }
22 tempfile = { version = "3.2", optional = true }
23 toml = "0.5"
24 unicode-normalization = "0.1"
25 unicode-script = { version = "0.5", default-features = false }
26 semver = "1.0"
27 rustc-semver = "1.1"
28 # NOTE: cargo requires serde feat in its url dep
29 # see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864>
30 url = { version = "2.2", features = ["serde"] }
31
32 [features]
33 deny-warnings = ["clippy_utils/deny-warnings"]
34 # build clippy with internal lints enabled, off by default
35 internal = ["clippy_utils/internal", "serde_json", "tempfile"]
36
37 [package.metadata.rust-analyzer]
38 # This crate uses #[feature(rustc_private)]
39 rustc_private = true