tag | 5c79a34a45aa982c7659d4d66e2c2a83c2046337 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 27 11:15:58 2024 -0700 |
object | c86782ee9b52047c907caf47d98d050c3d05071f |
aml Release es_341510000 (11275149,com.google.android.resolv)
commit | c86782ee9b52047c907caf47d98d050c3d05071f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:02:56 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:02:56 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | 22f23f664a29a87aeee9898cff0a999e1e09f03b [diff] | |
parent | 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 [diff] |
Snap for 10447354 from 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 to mainline-resolv-release Change-Id: Ieaeaf22aa3619af33570c00ddf97dcff8c7ef4c3
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.