std: Deprecate the future feature

This commit deprecates the `sync::Future` type to be developed outside in
crates.io instead.
This commit is contained in:
Alex Crichton 2015-06-10 18:56:10 -07:00
parent 96cce02924
commit 04f7eba909

View File

@ -32,6 +32,10 @@
reason = "futures as-is have yet to be deeply reevaluated with recent \
core changes to Rust's synchronization story, and will likely \
become stable in the future but are unstable until that time")]
#[deprecated(since = "1.2.0",
reason = "implementation does not match the quality of the \
standard library and this will likely be prototyped \
outside in crates.io first")]
use core::prelude::*;
use core::mem::replace;