ff452d5ba6
This enables the same warnings that are enabled in `clippy_lints` also in `clippy_utils` and `clippy_dev`. Then it makes sure, that the `deny-warnings` feature is passed down to `clippy_lints` and `clippy_utils` when compiling Clippy.
24 lines
480 B
TOML
24 lines
480 B
TOML
[package]
|
|
name = "clippy_utils"
|
|
version = "0.1.54"
|
|
authors = ["The Rust Clippy Developers"]
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
if_chain = "1.0.0"
|
|
itertools = "0.9"
|
|
regex-syntax = "0.6"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
unicode-normalization = "0.1"
|
|
rustc-semver="1.1.0"
|
|
|
|
[features]
|
|
deny-warnings = []
|
|
internal-lints = []
|
|
metadata-collector-lint = []
|
|
|
|
[package.metadata.rust-analyzer]
|
|
# This crate uses #[feature(rustc_private)]
|
|
rustc_private = true
|