]> git.lizzy.rs Git - rust.git/blob - clippy_lints/Cargo.toml
Add lint `suspicious_splitn`
[rust.git] / clippy_lints / Cargo.toml
1 [package]
2 name = "clippy_lints"
3 # begin automatic update
4 version = "0.1.54"
5 # end automatic update
6 authors = ["The Rust Clippy Developers"]
7 description = "A bunch of helpful lints to avoid common pitfalls in Rust"
8 repository = "https://github.com/rust-lang/rust-clippy"
9 readme = "README.md"
10 license = "MIT OR Apache-2.0"
11 keywords = ["clippy", "lint", "plugin"]
12 edition = "2018"
13
14 [dependencies]
15 cargo_metadata = "0.12"
16 clippy_utils = { path = "../clippy_utils" }
17 if_chain = "1.0.0"
18 itertools = "0.9"
19 pulldown-cmark = { version = "0.8", default-features = false }
20 quine-mc_cluskey = "0.2.2"
21 regex-syntax = "0.6"
22 serde = { version = "1.0", features = ["derive"] }
23 serde_json = { version = "1.0", optional = true }
24 toml = "0.5.3"
25 unicode-normalization = "0.1"
26 semver = "0.11"
27 rustc-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>
30 url = { version = "2.1.0", features = ["serde"] }
31
32 [features]
33 deny-warnings = ["clippy_utils/deny-warnings"]
34 # build clippy with internal lints enabled, off by default
35 internal-lints = ["clippy_utils/internal-lints"]
36 metadata-collector-lint = ["serde_json", "clippy_utils/metadata-collector-lint"]
37
38 [package.metadata.rust-analyzer]
39 # This crate uses #[feature(rustc_private)]
40 rustc_private = true