about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-06-10 18:56:10 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-06-17 09:07:17 -0700
commit04f7eba909ffc5a6473087391c92a7a1489ae94b (patch)
tree969255109f65b54ce04779253dbdba5ba1f6987d /src/libstd/sync
parent96cce02924b83227b53799c2992f5040340528fc (diff)
downloadrust-04f7eba909ffc5a6473087391c92a7a1489ae94b.tar.gz
rust-04f7eba909ffc5a6473087391c92a7a1489ae94b.zip
std: Deprecate the `future` feature
This commit deprecates the `sync::Future` type to be developed outside in
crates.io instead.
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/future.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/sync/future.rs b/src/libstd/sync/future.rs
index f5b6650a498..e3ddc1034a5 100644
--- a/src/libstd/sync/future.rs
+++ b/src/libstd/sync/future.rs
@@ -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;