Registry / async / embassy-futures

embassy-futures

JSON →
library0.1.2rscratesunverified

no-std, no-alloc utilities for working with futures

# Cargo.toml [dependencies] embassy-futures = "0.1.2"
INSTALL
IMPORT
SIG · EMBASSY-FUTURES
E
embassy-futures
asyncrustv0.1.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.

select
✓ use embassy_futures::select::select;

Using select to race two futures in a no-std environment.

use embassy_futures::select::select; use embassy_futures::yield_now; async fn example() { // select between two futures let result = select(future1, future2).await; }
Debug
Known issues
gotchaRequires nightly Rust for async traits and other features
fix
Use nightly toolchain or check MSRV
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources
embassy-futures — cargo add embassy-futures · libregistry