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:
@@ -118,8 +118,8 @@ type Callbacks =
|
||||
#[allow(dead_code)]
|
||||
impl Harness {
|
||||
pub fn new_empty() -> Self {
|
||||
let collision_event_channel = crossbeam::channel::unbounded();
|
||||
let contact_force_event_channel = crossbeam::channel::unbounded();
|
||||
let collision_event_channel = std::sync::mpsc::channel();
|
||||
let contact_force_event_channel = std::sync::mpsc::channel();
|
||||
let event_handler =
|
||||
ChannelEventCollector::new(collision_event_channel.0, contact_force_event_channel.0);
|
||||
let events = PhysicsEvents {
|
||||
|
||||
Reference in New Issue
Block a user