Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Commit edddaa4

Browse files
authored
Remove async_await feature (#99)
1 parent aa2e17d commit edddaa4

File tree

26 files changed

+4
-71
lines changed

26 files changed

+4
-71
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ asynchronous software.
6969
## Examples
7070
__UDP Echo Server__
7171
```rust
72-
#![feature(async_await)]
73-
7472
use runtime::net::UdpSocket;
7573

7674
#[runtime::main]

benches/baseline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(test, async_await)]
1+
#![feature(test)]
22

33
extern crate test;
44

benches/native.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(test, async_await)]
1+
#![feature(test)]
22
#![warn(rust_2018_idioms)]
33

44
extern crate test;

benches/tokio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(test, async_await)]
1+
#![feature(test)]
22
#![warn(rust_2018_idioms)]
33

44
extern crate test;

examples/guessing.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//! $ nc localhost 8080
88
//! ```
99
10-
#![feature(async_await)]
11-
1210
use futures::prelude::*;
1311
use rand::Rng;
1412
use runtime::net::{TcpListener, TcpStream};

examples/hello.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(async_await)]
2-
31
async fn say_hi() {
42
println!("Hello world! 🤖");
53
}

examples/tcp-client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//! $ cargo run --example tcp-echo
77
//! ```
88
9-
#![feature(async_await)]
10-
119
use futures::prelude::*;
1210
use runtime::net::TcpStream;
1311

examples/tcp-echo.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
//! Run the server and connect to it with `nc 127.0.0.1 8080`.
44
//! The server will wait for you to enter lines of text and then echo them back.
55
6-
#![feature(async_await)]
7-
86
use futures::prelude::*;
97
use runtime::net::TcpListener;
108

examples/tcp-proxy.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! A TCP proxy server. Forwards connections from port 8081 to port 8080.
22
3-
#![feature(async_await)]
4-
53
use futures::prelude::*;
64
use futures::try_join;
75
use runtime::net::{TcpListener, TcpStream};

examples/udp-client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(async_await)]
2-
31
//! UDP client.
42
//!
53
//! To start an echo server do:

0 commit comments

Comments
 (0)