File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ default = ["special-renders"]
19
19
[dependencies ]
20
20
coolor = { version =" 1.0.0" , features =[" crossterm" ] }
21
21
crokey = " 1.1.1"
22
- crossbeam = " 0.8 "
22
+ crossbeam-channel = " 0.5.10 "
23
23
lazy-regex = " 3.4"
24
24
minimad = " 0.13.0"
25
25
serde = { version = " 1.0" , features = [" derive" ] }
Original file line number Diff line number Diff line change 20
20
errors:: Error ,
21
21
} ,
22
22
crokey:: Combiner ,
23
- crossbeam :: channel :: {
23
+ crossbeam_channel :: {
24
24
bounded,
25
25
unbounded,
26
26
Receiver ,
Original file line number Diff line number Diff line change 1
1
use {
2
- crossbeam :: channel :: {
2
+ crossbeam_channel :: {
3
3
Receiver ,
4
4
Sender ,
5
5
} ,
@@ -46,7 +46,7 @@ impl TickBeamHandle {
46
46
47
47
impl < P > Ticker < P > {
48
48
pub fn new ( ) -> Self {
49
- let ( tick_sender, tick_receiver) = crossbeam :: channel :: unbounded ( ) ;
49
+ let ( tick_sender, tick_receiver) = crossbeam_channel :: unbounded ( ) ;
50
50
Self {
51
51
next_id : 0 ,
52
52
beams : Vec :: new ( ) ,
@@ -76,7 +76,7 @@ impl<P: Copy + Send + 'static> Ticker<P> {
76
76
pub fn start_beam ( & mut self , mission : TickBeam < P > ) -> TickBeamId {
77
77
let id = self . next_id ;
78
78
self . next_id += 1 ;
79
- let ( interrupt_sender, interrupt_receiver) = crossbeam :: channel :: bounded ( 1 ) ;
79
+ let ( interrupt_sender, interrupt_receiver) = crossbeam_channel :: bounded ( 1 ) ;
80
80
let tick_sender = self . tick_sender . clone ( ) ;
81
81
thread:: spawn ( move || {
82
82
let mut remaining_count = mission. remaining_count ;
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ pub use {
145
145
compound_style:: * ,
146
146
coolor,
147
147
crokey:: crossterm,
148
- crossbeam ,
148
+ crossbeam_channel ,
149
149
displayable_line:: DisplayableLine ,
150
150
errors:: Error ,
151
151
events:: {
You can’t perform that action at this time.
0 commit comments