{"id":13822370,"url":"https://github.com/rmanoka/async-scoped","last_synced_at":"2026-03-17T23:36:18.138Z","repository":{"id":44355231,"uuid":"196758769","full_name":"rmanoka/async-scoped","owner":"rmanoka","description":"A scope for async_std and tokio to spawn non-static futures","archived":false,"fork":false,"pushed_at":"2024-05-28T07:03:42.000Z","size":70,"stargazers_count":131,"open_issues_count":6,"forks_count":14,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-29T02:04:53.972Z","etag":null,"topics":["async","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmanoka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-13T19:26:48.000Z","updated_at":"2025-04-11T10:24:04.000Z","dependencies_parsed_at":"2023-01-21T17:18:11.052Z","dependency_job_id":"e0752163-41b9-41f9-827b-5f3a48731335","html_url":"https://github.com/rmanoka/async-scoped","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmanoka%2Fasync-scoped","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmanoka%2Fasync-scoped/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmanoka%2Fasync-scoped/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmanoka%2Fasync-scoped/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmanoka","download_url":"https://codeload.github.com/rmanoka/async-scoped/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254556890,"owners_count":22091012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","rust"],"created_at":"2024-08-04T08:01:57.187Z","updated_at":"2025-12-12T16:43:49.100Z","avatar_url":"https://github.com/rmanoka.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Async-scoped\n\nEnables controlled spawning of non-`'static` futures when\nusing the [async-std](//github.com/async-rs/async-std) or\n[tokio](//github.com/tokio-rs/tokio) executors.\n\n## Motivation\n\nPresent executors (such as async-std, tokio, etc.) all\nsupport spawning `'static` futures onto a thread-pool.\nHowever, they do not support spawning futures with lifetime\nsmaller than `'static`.\n\nWhile the future combinators such as `for_each_concurrent`\noffer concurrency, they are bundled as a single `Task`\nstructure by the executor, and hence are not driven\nin parallel. This can be seen when benchmarking a reasonable\nnumber (\u003e ~1K) of I/O futures, or a few CPU heavy futures.\n\n## Usage\n\nThe API is meant to be a minimal wrapper around efficient\nexecutors. Users may use \"use-async-std\", or the\n\"use-tokio\" features, to obtain a specific global executor implementation.\nThese features provide `TokioScope` and `AsyncScope` that\nsupport spawning, and blocking.\nHowever, none of those features are necessary -\nyou may freely implement your own executor. See\n[docs.rs](https://docs.rs/async-scoped) for detailed\ndocumentation.\n\n## License\n\nLicensed under either of [Apache License, Version\n2.0](//www.apache.org/licenses/LICENSE-2.0) or [MIT\nlicense](//opensource.org/licenses/MIT) at your option.\n\nUnless you explicitly state otherwise, any contribution\nintentionally submitted for inclusion in this crate by you,\nas defined in the Apache-2.0 license, shall be dual licensed\nas above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmanoka%2Fasync-scoped","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmanoka%2Fasync-scoped","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmanoka%2Fasync-scoped/lists"}