From 04f7eba909ffc5a6473087391c92a7a1489ae94b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 10 Jun 2015 18:56:10 -0700 Subject: [PATCH] std: Deprecate the `future` feature This commit deprecates the `sync::Future` type to be developed outside in crates.io instead. --- src/libstd/sync/future.rs | 4 ++++ 1 file changed, 4 insertions(+) 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;