{"id":62388,"library":"embassy-futures","title":"Embassy Futures","description":"no-std, no-alloc utilities for working with futures","status":"active","version":"0.1.2","language":"rust","source_language":null,"source_url":"https://github.com/embassy-rs/embassy","tags":["async","futures","no-std","embedded","embassy"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nembassy-futures = \"0.1.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add embassy-futures","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"select","correct":"use embassy_futures::select::select;"}],"quickstart":{"code":"use embassy_futures::select::select;\nuse embassy_futures::yield_now;\n\nasync fn example() {\n    // select between two futures\n    let result = select(future1, future2).await;\n}","lang":"rust","description":"Using select to race two futures in a no-std environment."},"warnings":[{"fix":"Use nightly toolchain or check MSRV","message":"Requires nightly Rust for async traits and other features","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'alloc':8 'async':14 'embassi':1,20 'embed':19 'futur':2,13,15 'no-alloc':6 'no-std':3,16 'std':5,18 'util':9 'work':11","created_at":"2026-06-17T16:29:15.554381+00:00","updated_at":"2026-06-17T16:29:15.554381+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/embassy-rs/embassy","github":"https://github.com/embassy-rs/embassy","docs":"https://docs.rs/embassy-futures/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}