async-await: track nightly changes (#661)

The `tokio-async-await` crate is no longer a facade. Instead, the `tokio` crate
provides a feature flag to enable async/await support.
This commit is contained in:
Carl Lerche
2018-09-26 10:10:47 -07:00
committed by GitHub
parent 331a88cee6
commit 2f690d30bc
32 changed files with 370 additions and 349 deletions
+3 -1
View File
@@ -2,11 +2,13 @@
#[macro_use]
extern crate tokio;
extern crate futures; // v0.1
use tokio::codec::{LinesCodec, Decoder};
use tokio::net::{TcpListener, TcpStream};
use tokio::prelude::*;
use tokio::sync::mpsc;
use futures::sync::mpsc;
use std::collections::HashMap;
use std::io;