diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/rapier2d-f64/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier2d/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier3d-f64/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier3d/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier_testbed2d-f64/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier_testbed2d/Cargo.toml | 4 | ||||
| -rw-r--r-- | crates/rapier_testbed3d-f64/Cargo.toml | 7 | ||||
| -rw-r--r-- | crates/rapier_testbed3d/Cargo.toml | 4 |
8 files changed, 27 insertions, 8 deletions
diff --git a/crates/rapier2d-f64/Cargo.toml b/crates/rapier2d-f64/Cargo.toml index 49fe36e..6517e0f 100644 --- a/crates/rapier2d-f64/Cargo.toml +++ b/crates/rapier2d-f64/Cargo.toml @@ -22,7 +22,9 @@ edition = "2021" maintenance = { status = "actively-developed" } [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim3", "f32"))', +] } [features] default = ["dim2", "f64"] diff --git a/crates/rapier2d/Cargo.toml b/crates/rapier2d/Cargo.toml index b910304..e2afba1 100644 --- a/crates/rapier2d/Cargo.toml +++ b/crates/rapier2d/Cargo.toml @@ -22,7 +22,9 @@ edition = "2021" maintenance = { status = "actively-developed" } [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim3", "f64"))', +] } [features] default = ["dim2", "f32"] diff --git a/crates/rapier3d-f64/Cargo.toml b/crates/rapier3d-f64/Cargo.toml index a56dd6e..de8a741 100644 --- a/crates/rapier3d-f64/Cargo.toml +++ b/crates/rapier3d-f64/Cargo.toml @@ -22,7 +22,9 @@ edition = "2021" maintenance = { status = "actively-developed" } [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim2", "f32"))', +] } [features] default = ["dim3", "f64"] diff --git a/crates/rapier3d/Cargo.toml b/crates/rapier3d/Cargo.toml index 25b5bb5..bd9f77c 100644 --- a/crates/rapier3d/Cargo.toml +++ b/crates/rapier3d/Cargo.toml @@ -22,7 +22,9 @@ edition = "2021" maintenance = { status = "actively-developed" } [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim2", "f64"))', +] } [features] default = ["dim3", "f32"] diff --git a/crates/rapier_testbed2d-f64/Cargo.toml b/crates/rapier_testbed2d-f64/Cargo.toml index ec56edc..6eedda9 100644 --- a/crates/rapier_testbed2d-f64/Cargo.toml +++ b/crates/rapier_testbed2d-f64/Cargo.toml @@ -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", "f32"))', +] } [features] default = ["dim2"] diff --git a/crates/rapier_testbed2d/Cargo.toml b/crates/rapier_testbed2d/Cargo.toml index 6d25ae3..6283b95 100644 --- a/crates/rapier_testbed2d/Cargo.toml +++ b/crates/rapier_testbed2d/Cargo.toml @@ -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"] diff --git a/crates/rapier_testbed3d-f64/Cargo.toml b/crates/rapier_testbed3d-f64/Cargo.toml index 7462b07..f5b8786 100644 --- a/crates/rapier_testbed3d-f64/Cargo.toml +++ b/crates/rapier_testbed3d-f64/Cargo.toml @@ -25,7 +25,12 @@ path = "../../src_testbed/lib.rs" required-features = ["dim3"] [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim2", "f32"))', + # The `other-backends` feature isn't in the tested3d-f64 + # but easier to just ignore it here. + 'cfg(feature, values("other-backends"))', +] } [features] default = ["dim3"] diff --git a/crates/rapier_testbed3d/Cargo.toml b/crates/rapier_testbed3d/Cargo.toml index 8a0ed9c..854d584 100644 --- a/crates/rapier_testbed3d/Cargo.toml +++ b/crates/rapier_testbed3d/Cargo.toml @@ -25,7 +25,9 @@ path = "../../src_testbed/lib.rs" required-features = ["dim3"] [lints] -workspace = true +rust.unexpected_cfgs = { level = "warn", check-cfg = [ + 'cfg(feature, values("dim2", "f64"))', +] } [features] default = ["dim3"] |
