-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not build for #![feature(async_closure)]
#290
Comments
As follows #289, the async closure feature has been removed from the library -- but you can essentially have the same behavior through just passing in a regular closure and putting your logic into an This will likely be the recommended way to do it for now, until the status of that feature changes |
I think we need to release the next version (because cc @yoshuawuyts |
Also, by copying the following block to your [patch.crates-io]
tide = { git = "https://github.com/rustasync/tide", branch = "master" }
http-service = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-hyper = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-mock = { git = "https://github.com/rustasync/http-service", branch = "master" } |
Thank you !! It works. |
This took me a good while to find and was exactly what I needed. |
Question
Environment:
os: Ubuntu 18.04
rust version: rustc 1.38.0-nightly (4b65a86eb 2019-07-15
Problem:
Additional context
I had tried as compiler prompt but it not works.
The text was updated successfully, but these errors were encountered: