tag | a7e11ce3120fca046e2964c748e8bcbdb39eb0c2 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue May 16 21:53:02 2023 -0700 |
object | 6b70047c0ade31fdf9bdbcfa28e44cd389507dab |
Platform Tools Release 34.0.3 (9979309)
commit | 6b70047c0ade31fdf9bdbcfa28e44cd389507dab | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 20 16:05:56 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 20 16:05:56 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | 68bbbce8ea016f2650e45ab9ff174672c038037e [diff] | |
parent | 2f4ff8f1b3731c4739402228a81a396c82c5ffee [diff] |
Snap for 9979206 from 2f4ff8f1b3731c4739402228a81a396c82c5ffee to sdk-release Change-Id: I204a8d35751d5e2f0ac562c6f06760ebca6c552d
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.