]> git.lizzy.rs Git - rust.git/commitdiff
std: Deprecate the `future` feature
authorAlex Crichton <alex@alexcrichton.com>
Thu, 11 Jun 2015 01:56:10 +0000 (18:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 17 Jun 2015 16:07:17 +0000 (09:07 -0700)
This commit deprecates the `sync::Future` type to be developed outside in
crates.io instead.

src/libstd/sync/future.rs

index f5b6650a49833adbd34f5b95bf25aa9f22b3a12b..e3ddc1034a54017e9c62134b060ef5acf2002181 100644 (file)
             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;