Registry / async / futures-concurrency

futures-concurrency

JSON →
library7.7.1rscratesunverified

Structured concurrency operations for async Rust

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 futures_concurrency::future::Race;

Race multiple futures and return the first result.

use futures_concurrency::future::Race; use futures::future::ready; let result = (ready(1), ready(2)).race().await; println!("First completed: {}", result);
Debug
Known footguns
gotchaRequires an async runtime (e.g., tokio) to execute futures
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
16 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources