master @ 38092010c4113e80612fe61bfec08a44c3d41a65
All
N/A
The 0.1.x branch removed the async-await-preview feature.
When this was merged into master, it became no longer possible for tokio to export the async-await items in the top-level crate as there's no feature present to enable it.
I assume we still need the feature in master.
Thanks for the report. 0.1 started lagging behind breaking changes in nightly. We opted to stop maintaining async-await-preview in 0.1 in favor of a full update, which is happening in https://github.com/tokio-rs/tokio/pull/1120
It is a very big process, so it will take some time to finish.
@ehiggs its no longer a preview :) The master branch contains work in progress breaking changes for tokio 0.2 which will include full support for std::future::Future and async/await. So really all you need to do is fetch tokio from git, use a nightly compiler and set the #![feature(async_await)] flag. There should be some examples if you look around the master branch.
Also, #1201 is the tracking issue.
Most helpful comment
Thanks for the report. 0.1 started lagging behind breaking changes in nightly. We opted to stop maintaining async-await-preview in 0.1 in favor of a full update, which is happening in https://github.com/tokio-rs/tokio/pull/1120
It is a very big process, so it will take some time to finish.