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