|new 0.8.0||Nov 16, 2023|
|0.7.1||Nov 17, 2022|
|0.7.0||Jul 7, 2021|
|0.6.1||Feb 14, 2021|
|0.3.1||Dec 24, 2019|
#94 in Asynchronous
89,348 downloads per month
Used in 24 crates (13 directly)
Present executors (such as async-std, tokio, etc.) all
'static futures onto a thread-pool.
However, they do not support spawning futures with lifetime
While the future combinators such as
offer concurrency, they are bundled as a single
structure by the executor, and hence are not driven
parallelly. This can be seen when benchmarking a reasonable
number (> ~1K) of I/O futures, or a few CPU heavy futures.
The API is meant to be a minimal wrapper around efficient
executors. Users may use "use-async-std", or the
"use-tokio" features, to obtain a specific global executor implementation.
These features provide
support spawning, and blocking.
However, none of those features are necessary -
you may freely implement your own executor. See
docs.rs for detailed
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.