tag | 4b5fc3c313f4e2283eb5dab2b9e4908c8cc669f0 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Feb 14 11:20:52 2024 -0800 |
object | ae04f79a821d249517fdc9f4d9b8fd53529ccad6 |
aml_sta_341311010 (11083832,com.google.android.go.os.statsd,com.google.android.os.statsd)
commit | ae04f79a821d249517fdc9f4d9b8fd53529ccad6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:05:27 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 05:05:27 2023 +0000 |
tree | 96de8e195ba005a8d64963e5017b1fb8aa552d5a | |
parent | be38cc192a9727a06e26fee2fdef2c51b2122657 [diff] | |
parent | 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 [diff] |
Snap for 10453563 from 34fcaa0dc06597fff16219d2b32fd17dbf4f6c51 to mainline-os-statsd-release Change-Id: I50f15fcad5507f588572e22695bdca5a4eb7184e
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.