| Crates.io | dyad |
| lib.rs | dyad |
| version | 0.0.1 |
| created_at | 2026-01-17 08:43:56.510928+00 |
| updated_at | 2026-01-17 08:43:56.510928+00 |
| description | A lightweight asynchronous task executor with TaskGroup as core abstraction for task management. |
| homepage | |
| repository | https://github.com/hejile/dyad |
| max_upload_size | |
| id | 2050150 |
| size | 45,331 |
A rust async runtime leveraging temporal borrow. Try to find right high level abstractions for async rust.
dyad introduces TaskGroup as its core abstraction.
A TaskGroup consists of a shared state and several tasks. Tasks in a TaskGroup can read or write the shared state, and get notified if the shared state is modified.
A TaskGroup is a single schedule unit. The runtime continues executing other ready tasks within the same TaskGroup before switching to other TaskGroup.
Tasks in TaskGroup use Predicate as core mechanism for notification.
Tasks can also share state with LocalState.