These are chat archives for rust-lang/rust

20th
Apr 2018
az8
@AZon8
Apr 20 2018 09:31
i'm trying to port a old tokio project to the new version. The latest version of tokio relies on futures 0.1 . The program uses the sync::mpsc::channel , but the tokio prelude does not expose the sync and unsync modules. Is there a specific reason for this that anyone might know about ?
Roman Proskuryakov
@kpp
Apr 20 2018 10:02
you would probably want to import them manually from futures-rs crate
Stefan Kaufhold
@skaufhold
Apr 20 2018 10:06
aren't both of those modules part of std?
Roman Proskuryakov
@kpp
Apr 20 2018 10:09
There are channel's both in std and in futures
Stefan Kaufhold
@skaufhold
Apr 20 2018 10:10
Ah ok, in that case you'd have to manually get those from the futures crate of course