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