2016-05-24 11:25:25 -05:00
|
|
|
[package]
|
|
|
|
name = "clippy_lints"
|
2022-11-21 13:34:47 -06:00
|
|
|
version = "0.1.67"
|
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"]
|
2021-09-28 12:03:12 -05:00
|
|
|
edition = "2021"
|
2016-05-24 11:25:25 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2021-11-02 08:19:31 -05:00
|
|
|
cargo_metadata = "0.14"
|
2021-02-25 04:25:22 -06:00
|
|
|
clippy_utils = { path = "../clippy_utils" }
|
2022-11-21 13:34:47 -06:00
|
|
|
declare_clippy_lint = { path = "../declare_clippy_lint" }
|
2021-09-09 04:19:03 -05:00
|
|
|
if_chain = "1.0"
|
2022-03-04 11:54:28 -06:00
|
|
|
itertools = "0.10.1"
|
2021-12-28 09:19:23 -06:00
|
|
|
pulldown-cmark = { version = "0.9", default-features = false }
|
2021-09-09 04:19:03 -05:00
|
|
|
quine-mc_cluskey = "0.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-05-06 04:51:22 -05:00
|
|
|
serde_json = { version = "1.0", optional = true }
|
2022-06-16 10:39:06 -05:00
|
|
|
tempfile = { version = "3.2", optional = true }
|
2021-09-09 04:19:03 -05:00
|
|
|
toml = "0.5"
|
2017-05-28 17:11:58 -05:00
|
|
|
unicode-normalization = "0.1"
|
2021-09-09 04:19:03 -05:00
|
|
|
unicode-script = { version = "0.5", default-features = false }
|
2021-11-02 08:19:31 -05:00
|
|
|
semver = "1.0"
|
2021-09-09 04:19:03 -05:00
|
|
|
rustc-semver = "1.1"
|
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-09-09 04:19:03 -05:00
|
|
|
url = { version = "2.2", features = ["serde"] }
|
2016-05-24 11:25:25 -05:00
|
|
|
|
|
|
|
[features]
|
2021-05-20 05:30:31 -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
|
2022-06-30 03:50:09 -05:00
|
|
|
internal = ["clippy_utils/internal", "serde_json", "tempfile"]
|
2021-03-12 08:30:50 -06:00
|
|
|
|
|
|
|
[package.metadata.rust-analyzer]
|
|
|
|
# This crate uses #[feature(rustc_private)]
|
|
|
|
rustc_private = true
|