Replace crossbeam with crossbeam-channel

integrate-threads-example
Stjepan Glavina 5 years ago
parent e93c138bf6
commit a2e54fcd29

@ -21,7 +21,7 @@ docs = []
[dependencies] [dependencies]
async-task = { git = "ssh://git@github.com/async-std/async-task.git" } async-task = { git = "ssh://git@github.com/async-std/async-task.git" }
cfg-if = "0.1.9" cfg-if = "0.1.9"
crossbeam = "0.7.1" crossbeam-channel = "0.3.9"
futures-preview = "0.3.0-alpha.17" futures-preview = "0.3.0-alpha.17"
futures-timer = "0.3.0" futures-timer = "0.3.0"
lazy_static = "1.3.0" lazy_static = "1.3.0"

@ -4,7 +4,7 @@ use std::fmt;
use std::pin::Pin; use std::pin::Pin;
use std::thread; use std::thread;
use crossbeam::channel::{unbounded, Receiver, Sender}; use crossbeam_channel::{unbounded, Receiver, Sender};
use lazy_static::lazy_static; use lazy_static::lazy_static;
use crate::future::Future; use crate::future::Future;

@ -6,7 +6,7 @@ use std::pin::Pin;
use std::ptr; use std::ptr;
use std::thread; use std::thread;
use crossbeam::channel::{unbounded, Sender}; use crossbeam_channel::{unbounded, Sender};
use futures::future::FutureExt; use futures::future::FutureExt;
use lazy_static::lazy_static; use lazy_static::lazy_static;

Loading…
Cancel
Save