Replace crossbeam channel with std::sync::mpsc (#861)

* Replace crossbeam channel with std::sync::mpsc

- Replace all uses of crossbeam::channel with std::sync::mpsc
- Remove crossbeam dependency from all Cargo.toml files
- Update documentation to remove crossbeam references
- Use std::sync::mpsc::channel() instead of crossbeam::channel::unbounded()

Fixes #828

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update mod.rs

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Nam Se Hyun
2025-07-24 23:31:59 +09:00
committed by GitHub
parent 0f5b4a4d88
commit f4b659ed02
12 changed files with 6 additions and 15 deletions

View File

@@ -1,4 +1,3 @@
use crossbeam::channel::Receiver;
use rapier::dynamics::{
CCDSolver, ImpulseJointSet, IntegrationParameters, IslandManager, MultibodyJointSet,
RigidBodySet,
@@ -8,6 +7,7 @@ use rapier::geometry::{
};
use rapier::math::{Real, Vector};
use rapier::pipeline::{PhysicsHooks, PhysicsPipeline};
use std::sync::mpsc::Receiver;
pub struct PhysicsSnapshot {
timestep_id: usize,