| Crates.io | asyncs-sync |
| lib.rs | asyncs-sync |
| version | 0.4.0 |
| created_at | 2024-05-21 03:56:00.484177+00 |
| updated_at | 2025-07-05 15:18:31.487526+00 |
| description | Asynchronous runtime agnostic synchronization utilities |
| homepage | https://github.com/kezhuw/asyncs |
| repository | https://github.com/kezhuw/asyncs |
| max_upload_size | |
| id | 1246396 |
| size | 62,111 |
asyncs is a shim like package to ship async runtime agnostic facilities.
cargo add asyncs for libraries.cargo add --dev --features test asyncs for tests.cargo add --features tokio,smol,async-global-executor for binaries to compat with existing async runtimes. See spawns for more.Feature test should only be enabled for dev-dependencies.
asyncs::task::spawn to spawn tasks in runtime agnostic way from spawns.select! to multiplex asynchronous futures simultaneously from async-select.#[asyncs::test] to bootstrap a runtime for testing. This is only available with feature test.Executors and #[asyncs::main].