commit | 7b5f1bc38dca2154a069a0df1163d68cd9129995 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <[email protected]> | Thu Feb 16 10:41:40 2023 +0000 |
committer | Automerger Merge Worker <[email protected]> | Thu Feb 16 10:41:40 2023 +0000 |
tree | afe8e1e84a1e5909e1209a92799f39dcadac07c9 | |
parent | be52958689f594a611217794cce860b7df4f2695 [diff] | |
parent | 82f1c1713eba6b087700e4d0db6463d00f2cf534 [diff] |
Upgrade futures to 0.3.26 am: 4c9fd15119 am: 7de90dad0e am: 82f1c1713e Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures/+/2438289 Change-Id: I4196ed56746e0c1757920a860c44bf5071d26f65 Signed-off-by: Automerger Merge Worker <[email protected]>
futures-rs
is a library providing the foundations for asynchronous programming in Rust. It includes key trait definitions like Stream
, as well as utilities like join!
, select!
, and various futures combinator methods which enable expressive asynchronous control flow.
Add this to your Cargo.toml
:
[dependencies] futures = "0.3"
The current futures
requires Rust 1.45 or later.
std
Futures-rs works without the standard library, such as in bare metal environments. However, it has a significantly reduced API surface. To use futures-rs in a #[no_std]
environment, use:
[dependencies] futures = { version = "0.3", default-features = false }
Licensed under either of Apache License, Version 2.0 or MIT license 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.