summaryrefslogtreecommitdiffstats
path: root/tokio-macros
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-06-24 12:34:30 -0700
committerGitHub <noreply@github.com>2019-06-24 12:34:30 -0700
commit06c473e62842d257ed275497ce906710ea3f8e19 (patch)
tree4ca6d337a892aa23266a761b35dc61e988e57954 /tokio-macros
parentaa99950b9c983b842bd2107bb771c277d09d495d (diff)
Update Tokio to use `std::future`. (#1120)
A first pass at updating Tokio to use `std::future`. Implementations of `Future` from the futures crate are updated to implement `Future` from std. Implementations of `Stream` are moved to a feature flag. This commits disables a number of crates that have not yet been updated.
Diffstat (limited to 'tokio-macros')
-rw-r--r--tokio-macros/Cargo.toml3
-rw-r--r--tokio-macros/src/lib.rs1
2 files changed, 0 insertions, 4 deletions
diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml
index 66b30338..d32becbc 100644
--- a/tokio-macros/Cargo.toml
+++ b/tokio-macros/Cargo.toml
@@ -17,9 +17,6 @@ publish = false
proc-macro = true
[features]
-# This feature comes with no promise of stability. Things will
-# break with each patch release. Use at your own risk.
-async-await-preview = []
[dependencies]
proc-macro2 = "0.4.27"
diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs
index eafed6dd..000b3773 100644
--- a/tokio-macros/src/lib.rs
+++ b/tokio-macros/src/lib.rs
@@ -1,4 +1,3 @@
-#![cfg(feature = "async-await-preview")]
#![deny(missing_debug_implementations, unreachable_pub, rust_2018_idioms)]
#![cfg_attr(test, deny(warnings))]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]