feat(rapier): modernize to rapier3d 0.33 (glam), redis 0.32, axum 0.8#18
Merged
Conversation
Modernize the rapier-service to current crate APIs:
- rapier3d 0.18 -> 0.33: migrate math from nalgebra to the new glam-based
layer (Vec3/Pose3/Rot3); BroadPhase -> BroadPhaseBvh; drop the query_pipeline
(no longer a step() param); gravity by value; halfspace via SharedShape;
joints take Vector axes; has_any_active_contact() is now a method; linvel()
returns by value.
- redis 0.24 -> 0.32: query_async now takes a single type parameter.
- axum 0.7 -> 0.8: route params :id -> {id}.
- nalgebra 0.35, tower 0.5, tower-http 0.6.
Add Rust tests (free-fall, resting-on-floor collision, revolute joint,
orientation round-trip) validating the math port. Re-enable cargo renovate
now that rust.yml gates Rust changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports
rapier-serviceto current crate APIs (the deliberate follow-up to the earlier pin/revert).Changes
Vec3/Pose3/Rot3). Also:BroadPhase→BroadPhaseBvh;query_pipelinedropped (no longer astep()param); gravity passed by value;halfspaceviaSharedShape; joints take aVectoraxis;has_any_active_contact()is now a method;linvel()returns by value.query_asyncnow takes a single type parameter.:id→{id}.Validation (new Rust tests)
Added
#[cfg(test)]coverage — all green locally:Re-enables cargo renovate now that
rust.ymlgates Rust changes (this is why the earlier auto-merged major bumps slipped through — they predated that CI).