Deprecate the channel module

The `futures::sync::mpsc` module should entirely supplant it.
This commit is contained in:
Alex Crichton
2016-11-18 15:20:39 -08:00
parent bd86bab42d
commit 0f49a69a06
2 changed files with 10 additions and 6 deletions
+3
View File
@@ -3,6 +3,9 @@
//! This module contains a `Sender` and `Receiver` pair types which can be used
//! to send messages between different future tasks.
#![deprecated(since = "0.1.1", note = "use `futures::sync::mpsc` instead")]
#![allow(deprecated)]
use std::io;
use std::sync::mpsc::TryRecvError;