Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ default = ["special-renders"]
[dependencies]
coolor = { version="1.1.0", features=["crossterm"] }
crokey = "1.2.0"
crossbeam = "0.8"
crossbeam-channel = "0.5.10"
lazy-regex = "3.4"
minimad = "0.13.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/events/event_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use {
errors::Error,
},
crokey::Combiner,
crossbeam::channel::{
crossbeam_channel::{
bounded,
unbounded,
Receiver,
Expand Down
6 changes: 3 additions & 3 deletions src/events/tick_beam.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use {
crossbeam::channel::{
crossbeam_channel::{
Receiver,
Sender,
},
Expand Down Expand Up @@ -46,7 +46,7 @@ impl TickBeamHandle {

impl<P> Ticker<P> {
pub fn new() -> Self {
let (tick_sender, tick_receiver) = crossbeam::channel::unbounded();
let (tick_sender, tick_receiver) = crossbeam_channel::unbounded();
Self {
next_id: 0,
beams: Vec::new(),
Expand Down Expand Up @@ -76,7 +76,7 @@ impl<P: Copy + Send + 'static> Ticker<P> {
pub fn start_beam(&mut self, mission: TickBeam<P>) -> TickBeamId {
let id = self.next_id;
self.next_id += 1;
let (interrupt_sender, interrupt_receiver) = crossbeam::channel::bounded(1);
let (interrupt_sender, interrupt_receiver) = crossbeam_channel::bounded(1);
let tick_sender = self.tick_sender.clone();
thread::spawn(move || {
let mut remaining_count = mission.remaining_count;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub use {
compound_style::*,
coolor,
crokey::crossterm,
crossbeam,
crossbeam_channel,
displayable_line::DisplayableLine,
errors::Error,
events::{
Expand Down
Loading