Skip to content

Commit 6e556f1

Browse files
Merge pull request #664 from frankmcsherry/remove_crossbeam
Remove crossbeam uses
2 parents 188d394 + ad7cacf commit 6e556f1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

timely/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ timely_bytes = { path = "../bytes", version = "0.13" }
3232
timely_logging = { path = "../logging", version = "0.13" }
3333
timely_communication = { path = "../communication", version = "0.19", default-features = false }
3434
timely_container = { path = "../container", version = "0.15" }
35-
crossbeam-channel = "0.5"
3635
smallvec = { version = "1.13.2", features = ["serde", "const_generics"] }
3736

3837
[dev-dependencies]

timely/src/scheduling/activate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use std::thread::Thread;
66
use std::collections::BinaryHeap;
77
use std::time::{Duration, Instant};
88
use std::cmp::Reverse;
9-
use crossbeam_channel::{Sender, Receiver};
9+
use std::sync::mpsc::{Sender, Receiver};
1010

1111
/// Methods required to act as a timely scheduler.
1212
///
@@ -56,7 +56,7 @@ impl Activations {
5656

5757
/// Creates a new activation tracker.
5858
pub fn new(timer: Option<Instant>) -> Self {
59-
let (tx, rx) = crossbeam_channel::unbounded();
59+
let (tx, rx) = std::sync::mpsc::channel();
6060
Self {
6161
clean: 0,
6262
bounds: Vec::new(),

0 commit comments

Comments
 (0)