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"]
1919[dependencies ]
2020coolor = { version =" 1.1.0" , features =[" crossterm" ] }
2121crokey = " 1.2.0"
22- crossbeam = " 0.8 "
22+ crossbeam-channel = " 0.5.10 "
2323lazy-regex = " 3.4"
2424minimad = " 0.13.0"
2525serde = { version = " 1.0" , features = [" derive" ] }
Original file line number Diff line number Diff line change 2020 errors:: Error ,
2121 } ,
2222 crokey:: Combiner ,
23- crossbeam :: channel :: {
23+ crossbeam_channel :: {
2424 bounded,
2525 unbounded,
2626 Receiver ,
Original file line number Diff line number Diff line change 11use {
2- crossbeam :: channel :: {
2+ crossbeam_channel :: {
33 Receiver ,
44 Sender ,
55 } ,
@@ -46,7 +46,7 @@ impl TickBeamHandle {
4646
4747impl < P > Ticker < P > {
4848 pub fn new ( ) -> Self {
49- let ( tick_sender, tick_receiver) = crossbeam :: channel :: unbounded ( ) ;
49+ let ( tick_sender, tick_receiver) = crossbeam_channel :: unbounded ( ) ;
5050 Self {
5151 next_id : 0 ,
5252 beams : Vec :: new ( ) ,
@@ -76,7 +76,7 @@ impl<P: Copy + Send + 'static> Ticker<P> {
7676 pub fn start_beam ( & mut self , mission : TickBeam < P > ) -> TickBeamId {
7777 let id = self . next_id ;
7878 self . next_id += 1 ;
79- let ( interrupt_sender, interrupt_receiver) = crossbeam :: channel :: bounded ( 1 ) ;
79+ let ( interrupt_sender, interrupt_receiver) = crossbeam_channel :: bounded ( 1 ) ;
8080 let tick_sender = self . tick_sender . clone ( ) ;
8181 thread:: spawn ( move || {
8282 let mut remaining_count = mission. remaining_count ;
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ pub use {
145145 compound_style:: * ,
146146 coolor,
147147 crokey:: crossterm,
148- crossbeam ,
148+ crossbeam_channel ,
149149 displayable_line:: DisplayableLine ,
150150 errors:: Error ,
151151 events:: {
You can’t perform that action at this time.
0 commit comments