Prefer explicit features for optional deps. (#681)

Implicit features are slated to be removed in a future version
of Rust (2024 edition).

Fixing this exposed 2 instances where the wrong feature was being
checked for `serde` vs `serde-serialize`.
This commit is contained in:
Bruce Mitchener
2024-07-12 22:05:57 +07:00
committed by GitHub
parent 56f0eecd27
commit 678a725c66
7 changed files with 19 additions and 19 deletions

View File

@@ -767,7 +767,7 @@ mod test {
);
}
#[cfg(feature = "serde")]
#[cfg(feature = "serde-serialize")]
#[test]
fn rigid_body_removal_snapshot_handle_determinism() {
let mut colliders = ColliderSet::new();