From 678a725c66fed0878cd71f8025cd0ddabdd20530 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 12 Jul 2024 22:05:57 +0700 Subject: 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`. --- src/pipeline/physics_pipeline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pipeline') diff --git a/src/pipeline/physics_pipeline.rs b/src/pipeline/physics_pipeline.rs index 7723fc3..5dc6f2c 100644 --- a/src/pipeline/physics_pipeline.rs +++ b/src/pipeline/physics_pipeline.rs @@ -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(); -- cgit