{"id":62502,"library":"async-scoped","title":"Async Scoped","description":"Spawns scoped (non-'static) asynchronous futures for async_std and tokio runtimes.","status":"active","version":"0.9.0","language":"rust","source_language":null,"source_url":"https://github.com/rmanoka/async-scoped","tags":["async","scoped","tokio","async-std","futures"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nasync-scoped = \"0.9.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add async-scoped","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TokioScope","correct":"use async_scoped::TokioScope;"}],"quickstart":{"code":"use async_scoped::TokioScope;\n\nfn main() {\n    let result = TokioScope::scope_and_block(|s| {\n        s.spawn(async { 42 });\n    });\n    println!(\"{:?}\", result);\n}","lang":"rust","description":"Spawns a scoped async task using Tokio."},"warnings":[{"fix":"Ensure you have a tokio or async-std runtime set up before using this crate.","message":"Requires either tokio or async-std runtime to be active.","severity":"gotcha","affected_versions":">=0.9.0"}],"env_vars":null,"search_vec":"'async':1,10,15,19 'async-std':18 'asynchron':7 'futur':8,21 'non':5 'runtim':14 'scope':2,4,16 'spawn':3 'static':6 'std':11,20 'tokio':13,17","created_at":"2026-06-17T16:31:25.085326+00:00","updated_at":"2026-06-17T16:31:25.085326+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/rmanoka/async-scoped","github":"https://github.com/rmanoka/async-scoped","docs":"https://docs.rs/async-scoped/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async"],"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}}