mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
Deprecate the channel module
The `futures::sync::mpsc` module should entirely supplant it.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user