Registry / async / future-utils

future-utils

JSON →
library0.12.1rscratesunverified

Extensions to Rust's Future and Stream traits, providing combinators and utilities.

async
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.

use future_utils::FutureExt;

Adds a timeout to a future.

use future_utils::FutureExt; use std::future::Future; async fn example() { let future = async { 42 }; let result = future.timeout(std::time::Duration::from_secs(1)).await; println!("Result: {:?}", result); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
15 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
Resources