Skip to content

Commit 04f7eba

Browse files
committed
std: Deprecate the future feature
This commit deprecates the `sync::Future` type to be developed outside in crates.io instead.
1 parent 96cce02 commit 04f7eba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libstd/sync/future.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
reason = "futures as-is have yet to be deeply reevaluated with recent \
3333
core changes to Rust's synchronization story, and will likely \
3434
become stable in the future but are unstable until that time")]
35+
#[deprecated(since = "1.2.0",
36+
reason = "implementation does not match the quality of the \
37+
standard library and this will likely be prototyped \
38+
outside in crates.io first")]
3539

3640
use core::prelude::*;
3741
use core::mem::replace;

0 commit comments

Comments
 (0)