Registry / async / scoped-futures

scoped-futures

JSON →
library0.1.4rscratesunverified

A utility crate for imposing upper bounds on Future lifetimes.

# Cargo.toml [dependencies] scoped-futures = "0.1.4"
INSTALL
IMPORT
SIG · SCOPED-FUTURES
S
scoped-futures
asyncrustv0.1.4
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.

ScopedFutureExt
use scoped_futures::ScopedFutureExt;

Wraps a future to enforce lifetime bounds.

use scoped_futures::ScopedFutureExt; async fn example() { let data = vec![1, 2, 3]; let fut = async move { println!("{:?}", data); }.scoped(); fut.await; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
scoped-futures — cargo add scoped-futures · libregistry