chore: workspace lints now part of each crate. (#728)

This commit is contained in:
Thierry Berger
2024-09-03 21:18:44 +02:00
committed by GitHub
parent 983f8a3901
commit 58785ce257
9 changed files with 27 additions and 16 deletions

View File

@@ -25,7 +25,9 @@ path = "../../src_testbed/lib.rs"
required-features = ["dim2"]
[lints]
workspace = true
rust.unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(feature, values("dim3", "f64"))',
] }
[features]
default = ["dim2"]