tag | 124406cc433b26e89c503c85a42e0cc1d550daa1 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Apr 23 15:27:34 2024 -0700 |
object | 531f626be32af97c670301d0a6455ac21065a341 |
Platform Tools Release 35.0.1 (11580240)
commit | 531f626be32af97c670301d0a6455ac21065a341 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 07 02:14:51 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 07 02:14:51 2024 +0000 |
tree | 454146e494166dac5ec269dc5ab7056118aff48c | |
parent | 2b0ffab67b9f25e6a6cf35dbf24ffcc7507a484d [diff] | |
parent | 6d23b35d43e81ef39cfbf1ca8b8846219fc8777e [diff] |
Snap for 11541002 from 6d23b35d43e81ef39cfbf1ca8b8846219fc8777e to sdk-release Change-Id: I128917c72767cdb00d0e89ffca72570f695292d9
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.
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.