Skip to content

Commit 8fc1ef1

Browse files
committed
Update to stabilized futures_api
1 parent 5f866c4 commit 8fc1ef1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+112
-176
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525

2626
# When updating this, the reminder to update the minimum required version in README.md.
2727
- name: cargo test (minimum required version)
28-
rust: nightly-2019-04-15
28+
rust: nightly-2019-04-25
2929

3030
- name: cargo clippy
3131
rust: nightly

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Now, you can use futures-rs:
3939
use futures::future::Future; // Note: It's not `futures_preview`
4040
```
4141

42-
The current version of futures-rs requires Rust nightly 2019-04-15 or later.
42+
The current version of futures-rs requires Rust nightly 2019-04-25 or later.
4343

4444
### Feature `std`
4545

futures-channel/benches/sync_mpsc.rs

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

33
extern crate test;
44
use crate::test::Bencher;

futures-channel/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
//! This crate provides channels that can be used to communicate between
44
//! asynchronous tasks.
55
6-
#![feature(futures_api)]
7-
86
#![cfg_attr(not(feature = "std"), no_std)]
97

108
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]

futures-channel/tests/channel.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
use futures::channel::mpsc;
44
use futures::executor::block_on;

futures-channel/tests/mpsc.rs

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

33
use futures::channel::{mpsc, oneshot};
44
use futures::executor::{block_on, block_on_stream};

futures-channel/tests/oneshot.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(futures_api)]
2-
31
use futures::channel::oneshot::{self, Sender};
42
use futures::executor::block_on;
53
use futures::future::{Future, FutureExt, poll_fn};

futures-core/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Core traits and types for asynchronous operations in Rust.
22
3-
#![feature(futures_api)]
43
#![cfg_attr(feature = "cfg-target-has-atomic", feature(cfg_target_has_atomic))]
54

65
#![cfg_attr(not(feature = "std"), no_std)]

futures-core/src/task/__internal/atomic_waker.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ impl AtomicWaker {
169169
/// Here is how `register` is used when implementing a flag.
170170
///
171171
/// ```
172-
/// #![feature(futures_api)]
173172
/// use futures::future::Future;
174173
/// use futures::task::{Context, Poll, AtomicWaker};
175174
/// use std::sync::atomic::AtomicBool;

futures-executor/benches/thread_notify.rs

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

33
extern crate test;
44
use crate::test::Bencher;

0 commit comments

Comments
 (0)