Registry / async / futures-util-preview

futures-util-preview

JSON →
library0.2.2rscratesunverified

Common utilities and extension traits for the futures-rs library, providing combinators and helpers for async programming.

# Cargo.toml [dependencies] futures-util-preview = "0.2.2"
INSTALL
IMPORT
SIG · FUTURES-UTIL-PREVI
F
futures-util-preview
asyncrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FutureExt
use futures_util::future::FutureExt;

Uses the FutureExt trait to fuse a future.

use futures_util::future::FutureExt; let fut = async { 42 }.fuse();
Debug
Known issues
breakingThis crate is a preview and may be unstable; prefer the stable futures-util crate.
fix
Replace futures-util-preview with futures-util in Cargo.toml.
affects: >=0.1.0
Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Resources
futures-util-preview — cargo add futures-util-preview · libregistry