tag | cdaa2e1422a53f00e6ece242f8eea8c8f2674947 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Dec 06 23:27:41 2023 -0800 |
object | db3faeb4795d5b139a3f6d61c772b7913eff20ef |
aml_tet_341112070 (10903015,com.google.android.tethering)
commit | db3faeb4795d5b139a3f6d61c772b7913eff20ef | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:03:54 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:03:54 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | 8c258d4e3557a6bf28f7d6300e78ce05203a2439 [diff] | |
parent | 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 [diff] |
Snap for 10447354 from 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 to mainline-tethering-release Change-Id: I7cf451f8e4aea76a35d5de65daa5f6830cb572f7
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.