io: move into tokio crate (#1691)

A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).

The `io` implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
This commit is contained in:
Carl Lerche
2019-10-26 08:02:49 -07:00
committed by GitHub
parent 227533d456
commit 987ba7373c
79 changed files with 188 additions and 377 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
use crate::codec::encoder::Encoder;
use crate::codec::Framed;
use tokio_io::{AsyncRead, AsyncWrite};
use tokio::io::{AsyncRead, AsyncWrite};
use bytes::BytesMut;
use std::io;