rust/clippy_lints/Cargo.toml

41 lines
1.4 KiB
TOML
Raw Normal View History

[package]
name = "clippy_lints"
2023-03-10 03:22:27 -06:00
version = "0.1.70"
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
repository = "https://github.com/rust-lang/rust-clippy"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["clippy", "lint", "plugin"]
edition = "2021"
[dependencies]
arrayvec = { version = "0.7", default-features = false }
2023-01-31 16:23:37 -06:00
cargo_metadata = "0.15.3"
clippy_utils = { path = "../clippy_utils" }
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"
pulldown-cmark = { version = "0.9", default-features = false }
2021-09-09 04:19:03 -05:00
quine-mc_cluskey = "0.2"
regex-syntax = "0.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", optional = true }
2022-05-28 14:27:53 -05:00
tempfile = { version = "3.3.0", optional = true }
2021-09-09 04:19:03 -05:00
toml = "0.5"
unicode-normalization = "0.1"
2021-09-09 04:19:03 -05:00
unicode-script = { version = "0.5", default-features = false }
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"] }
[features]
deny-warnings = ["clippy_utils/deny-warnings"]
# build clippy with internal lints enabled, off by default
2022-06-21 13:04:37 -05:00
internal = ["clippy_utils/internal", "serde_json", "tempfile"]
[package.metadata.rust-analyzer]
# This crate uses #[feature(rustc_private)]
rustc_private = true