| Crates.io | drone-async-await |
| lib.rs | drone-async-await |
| version | 0.9.0 |
| created_at | 2019-09-03 20:04:12.573468+00 |
| updated_at | 2019-09-03 20:04:12.573468+00 |
| description | A libcore wrapper to enable async/await for Drone apps. |
| homepage | |
| repository | https://github.com/drone-os/drone-async-await |
| max_upload_size | |
| id | 161895 |
| size | 17,668 |
A libcore wrapper to enable native async/await syntax for Drone
applications.
Place the following to the Cargo.toml:
[dependencies]
core = { package = "drone-async-await", version = "0.9" }
This crate re-exports contents of [core] and defines two new functions
with the following paths:
core::future::from_generatorcore::future::poll_with_tls_contextThese two functions are absent from original libcore, but defined in libstd.
This is the reason for the following errors when you attempt to use .await
in no_std context:
error[E0433]: failed to resolve: could not find `poll_with_tls_context` in `future`
error[E0433]: failed to resolve: could not find `from_generator` in `future`
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.