2016-05-25 00:25:25 +08:00
|
|
|
[package]
|
|
|
|
name = "clippy_lints"
|
2021-10-21 19:11:36 +08:00
|
|
|
version = "0.1.58"
|
2016-05-25 00:25:25 +08:00
|
|
|
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
|
2018-11-22 11:40:09 +08:00
|
|
|
repository = "https://github.com/rust-lang/rust-clippy"
|
2016-05-25 00:25:25 +08:00
|
|
|
readme = "README.md"
|
2019-10-04 23:39:23 +08:00
|
|
|
license = "MIT OR Apache-2.0"
|
2016-05-25 00:25:25 +08:00
|
|
|
keywords = ["clippy", "lint", "plugin"]
|
2021-09-29 01:03:12 +08:00
|
|
|
edition = "2021"
|
2016-05-25 00:25:25 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2020-10-24 04:16:59 +08:00
|
|
|
cargo_metadata = "0.12"
|
2021-02-25 18:25:22 +08:00
|
|
|
clippy_utils = { path = "../clippy_utils" }
|
2021-09-09 17:19:03 +08:00
|
|
|
if_chain = "1.0"
|
|
|
|
itertools = "0.10"
|
2020-09-24 20:49:22 +08:00
|
|
|
pulldown-cmark = { version = "0.8", default-features = false }
|
2021-09-09 17:19:03 +08:00
|
|
|
quine-mc_cluskey = "0.2"
|
2018-05-11 17:32:05 +08:00
|
|
|
regex-syntax = "0.6"
|
2019-05-10 01:05:34 +08:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-05-06 17:51:22 +08:00
|
|
|
serde_json = { version = "1.0", optional = true }
|
2021-09-09 17:19:03 +08:00
|
|
|
toml = "0.5"
|
2017-05-29 06:11:58 +08:00
|
|
|
unicode-normalization = "0.1"
|
2021-09-09 17:19:03 +08:00
|
|
|
unicode-script = { version = "0.5", default-features = false }
|
2020-10-24 04:16:59 +08:00
|
|
|
semver = "0.11"
|
2021-09-09 17:19:03 +08:00
|
|
|
rustc-semver = "1.1"
|
2019-11-06 17:46:32 +08:00
|
|
|
# NOTE: cargo requires serde feat in its url dep
|
|
|
|
# see <https://github.com/rust-lang/rust/pull/63587#issuecomment-522343864>
|
2021-09-09 17:19:03 +08:00
|
|
|
url = { version = "2.2", features = ["serde"] }
|
2016-05-25 00:25:25 +08:00
|
|
|
|
|
|
|
[features]
|
2021-05-20 18:30:31 +08:00
|
|
|
deny-warnings = ["clippy_utils/deny-warnings"]
|
2020-12-06 22:01:03 +08:00
|
|
|
# build clippy with internal lints enabled, off by default
|
2021-02-25 18:25:22 +08:00
|
|
|
internal-lints = ["clippy_utils/internal-lints"]
|
2021-05-06 17:51:22 +08:00
|
|
|
metadata-collector-lint = ["serde_json", "clippy_utils/metadata-collector-lint"]
|
2021-03-12 22:30:50 +08:00
|
|
|
|
|
|
|
[package.metadata.rust-analyzer]
|
|
|
|
# This crate uses #[feature(rustc_private)]
|
|
|
|
rustc_private = true
|