tag | b2d8fd284beed690376f765254f290cc5a2466c7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Dec 07 00:48:39 2023 -0800 |
object | 1a3c3bd6825c3fe4e3b1144ffb515637b388200a |
frc_340819220 (11022343,com.google.android.captiveportallogin,com.google.android.configinfrastructure,com.google.android.scheduling)
commit | 1a3c3bd6825c3fe4e3b1144ffb515637b388200a | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:58:54 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 11 17:58:54 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | c71d2b32933458cd1f8c434a4d51a3102b51cb88 [diff] | |
parent | e121dc51b55976c79c802791ab589beda00252da [diff] |
Snap for 9912757 from e121dc51b55976c79c802791ab589beda00252da to aml-frc-release Change-Id: I18ab7d0c91de08450f0ed1aa8a877f1475523416
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.