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

Commit 2d5af87

Browse files
marcelbuesingyoshuawuyts
authored andcommitted
remove futures_api feature flag (#17)
1 parent a96b843 commit 2d5af87

File tree

22 files changed

+38
-38
lines changed

22 files changed

+38
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ asynchronous software.
6969
## Examples
7070
__UDP Echo Server__
7171
```rust
72-
#![feature(async_await, await_macro, futures_api)]
72+
#![feature(async_await, await_macro)]
7373

7474
use runtime::net::UdpSocket;
7575

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, await_macro, futures_api)]
1+
#![feature(test, async_await, await_macro)]
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, await_macro, futures_api)]
1+
#![feature(test, async_await, await_macro)]
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, await_macro, futures_api)]
1+
#![feature(test, async_await, await_macro)]
22
#![warn(rust_2018_idioms)]
33

44
extern crate test;

examples/guessing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! $ nc localhost 8080
88
//! ```
99
10-
#![feature(async_await, await_macro, futures_api)]
10+
#![feature(async_await, await_macro)]
1111

1212
use futures::prelude::*;
1313
use rand::Rng;

examples/hello.rs

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

33
async fn say_hi() {
44
println!("Hello world! 🤖");

examples/tcp-client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//! $ cargo run --example tcp-echo
77
//! ```
88
9-
#![feature(async_await, await_macro, futures_api)]
9+
#![feature(async_await, await_macro)]
1010

1111
use futures::prelude::*;
1212
use runtime::net::TcpStream;

examples/tcp-echo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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, await_macro, futures_api)]
6+
#![feature(async_await, await_macro)]
77

88
use futures::prelude::*;
99
use runtime::net::TcpListener;

examples/tcp-proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! A TCP proxy server. Forwards connections from port 8081 to port 8080.
22
3-
#![feature(async_await, await_macro, futures_api)]
3+
#![feature(async_await, await_macro)]
44

55
use futures::prelude::*;
66
use futures::try_join;

examples/udp-client.rs

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

33
//! UDP client.
44
//!

0 commit comments

Comments
 (0)