File tree Expand file tree Collapse file tree 6 files changed +5
-27
lines changed Expand file tree Collapse file tree 6 files changed +5
-27
lines changed Original file line number Diff line number Diff 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-13
28+ rust : nightly-2019-04-15
2929
3030 - name : cargo clippy
3131 rust : nightly
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Now, you can use futures-rs:
3939use futures :: future :: Future ; // Note: It's not `futures_preview`
4040```
4141
42- The current version of futures-rs requires Rust nightly 2019-04-13 or later.
42+ The current version of futures-rs requires Rust nightly 2019-04-15 or later.
4343
4444### Feature ` std `
4545
Original file line number Diff line number Diff line change 22
33#![ feature( futures_api) ]
44#![ cfg_attr( feature = "cfg-target-has-atomic" , feature( cfg_target_has_atomic) ) ]
5- #![ cfg_attr( all( feature = "alloc" , not( feature = "std" ) ) , feature( alloc) ) ]
65
76#![ cfg_attr( not( feature = "std" ) , no_std) ]
87
1312#[ cfg( all( feature = "cfg-target-has-atomic" , not( feature = "nightly" ) ) ) ]
1413compile_error ! ( "The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
1514
16- #[ cfg( all( feature = "alloc" , not( any( feature = "std" , feature = "nightly" ) ) ) ) ]
17- compile_error ! ( "The `alloc` feature without `std` requires the `nightly` feature active to explicitly opt-in to unstable features" ) ;
18-
19- #[ cfg( all( feature = "alloc" , not( feature = "std" ) ) ) ]
15+ #[ cfg( feature = "alloc" ) ]
2016extern crate alloc;
21- #[ cfg( feature = "std" ) ]
22- extern crate std as alloc;
2317
2418pub mod future;
2519#[ doc( hidden) ] pub use self :: future:: { Future , FusedFuture , TryFuture } ;
Original file line number Diff line number Diff line change 88#![ doc( html_root_url = "https://rust-lang-nursery.github.io/futures-api-docs/0.3.0-alpha.13/futures_sink" ) ]
99
1010#![ feature( futures_api) ]
11- #![ cfg_attr( all( feature = "alloc" , not( feature = "std" ) ) , feature( alloc) ) ]
1211
13- #[ cfg( all( feature = "alloc" , not( any( feature = "std" , feature = "nightly" ) ) ) ) ]
14- compile_error ! ( "The `alloc` feature without `std` requires the `nightly` feature active to explicitly opt-in to unstable features" ) ;
15-
16- #[ cfg( all( feature = "alloc" , not( feature = "std" ) ) ) ]
12+ #[ cfg( feature = "alloc" ) ]
1713extern crate alloc;
18- #[ cfg( feature = "std" ) ]
19- extern crate std as alloc;
2014
2115use futures_core:: task:: { Context , Poll } ;
2216use core:: pin:: Pin ;
Original file line number Diff line number Diff line change 55#![ cfg_attr( feature = "alloc" , feature( box_into_pin) ) ]
66#![ cfg_attr( feature = "std" , feature( async_await, await_macro) ) ]
77#![ cfg_attr( feature = "cfg-target-has-atomic" , feature( cfg_target_has_atomic) ) ]
8- #![ cfg_attr( all( feature = "alloc" , not( feature = "std" ) ) , feature( alloc) ) ]
98
109#![ cfg_attr( not( feature = "std" ) , no_std) ]
1110#![ warn( missing_docs, missing_debug_implementations, rust_2018_idioms) ]
1514#[ cfg( all( feature = "cfg-target-has-atomic" , not( feature = "nightly" ) ) ) ]
1615compile_error ! ( "The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
1716
18- #[ cfg( all( feature = "alloc" , not( any( feature = "std" , feature = "nightly" ) ) ) ) ]
19- compile_error ! ( "The `alloc` feature without `std` requires the `nightly` feature active to explicitly opt-in to unstable features" ) ;
20-
21- #[ cfg( all( feature = "alloc" , not( feature = "std" ) ) ) ]
17+ #[ cfg( feature = "alloc" ) ]
2218extern crate alloc;
23- #[ cfg( feature = "std" ) ]
24- extern crate std as alloc;
2519
2620#[ macro_use]
2721mod macros;
Original file line number Diff line number Diff line change 2323
2424#![ feature( futures_api) ]
2525#![ cfg_attr( feature = "cfg-target-has-atomic" , feature( cfg_target_has_atomic) ) ]
26- #![ cfg_attr( all( feature = "alloc" , not( feature = "std" ) ) , feature( alloc) ) ]
2726
2827#![ cfg_attr( not( feature = "std" ) , no_std) ]
2928
3433#[ cfg( all( feature = "cfg-target-has-atomic" , not( feature = "nightly" ) ) ) ]
3534compile_error ! ( "The `cfg-target-has-atomic` feature requires the `nightly` feature as an explicit opt-in to unstable features" ) ;
3635
37- #[ cfg( all( feature = "alloc" , not( any( feature = "std" , feature = "nightly" ) ) ) ) ]
38- compile_error ! ( "The `alloc` feature without `std` requires the `nightly` feature active to explicitly opt-in to unstable features" ) ;
39-
4036#[ doc( hidden) ] pub use futures_util:: core_reexport;
4137
4238#[ doc( hidden) ] pub use futures_core:: future:: Future ;
You can’t perform that action at this time.
0 commit comments