tag | 9e15a6256dad34ef82a755ea8c82fe10a4444a5c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Jul 27 11:36:27 2023 -0700 |
object | fa07b8a760d05c60c21f01e3a4cacc35522caa68 |
Platform Tools Release 34.0.4 (10411341)
commit | fa07b8a760d05c60c21f01e3a4cacc35522caa68 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 28 13:31:51 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jun 28 13:31:51 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | 6b70047c0ade31fdf9bdbcfa28e44cd389507dab [diff] | |
parent | c6eb10088270c98fb814d6f0e90a3f6763ee8cc5 [diff] |
Snap for 10399941 from c6eb10088270c98fb814d6f0e90a3f6763ee8cc5 to sdk-release Change-Id: Iacff2f946c2abee39c1aa5588092a1fc15926c99
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.