| commit | 76588492f347eeba34cc91b1a352a349b66d6bd6 | [log] [tgz] |
|---|---|---|
| author | James Farrell <jamesfarrell@google.com> | Thu May 09 20:27:38 2024 +0000 |
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu May 09 20:27:38 2024 +0000 |
| tree | 221271ffecd0c1c00955702bd47a012902bae9aa | |
| parent | 312087e1551c99c99a1e24771452bf5ff56fae85 [diff] | |
| parent | 693b8b1bae2efc7faa7506de0ae3621b6573797e [diff] |
Update Android.bp by running cargo_embargo am: 2effa8483d am: 693b8b1bae Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures/+/3080211 Change-Id: Iba8dd901272c25cdb50b967c712e56ec9fec09f1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.56 or later.
stdFutures-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.