From 617428e98855d072acd9d332b9782b4159dadfd8 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 2 Aug 2024 21:38:56 +0700 Subject: Use workspace lints to control unexpected_cfgs. (#682) By using `workspace.lints`, we can configure lints once for everything (and then inherit it into the various crates). The lint configuration for `unexpected_cfgs` works in 1.80+ and warns otherwise. Co-authored-by: Thierry Berger --- crates/rapier_testbed3d/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/rapier_testbed3d') diff --git a/crates/rapier_testbed3d/Cargo.toml b/crates/rapier_testbed3d/Cargo.toml index 9b01ccb..5a2d820 100644 --- a/crates/rapier_testbed3d/Cargo.toml +++ b/crates/rapier_testbed3d/Cargo.toml @@ -24,6 +24,9 @@ name = "rapier_testbed3d" path = "../../src_testbed/lib.rs" required-features = ["dim3"] +[lints] +workspace = true + [features] default = ["dim3"] dim3 = [] -- cgit