33 releases
new 0.0.50 | May 3, 2025 |
---|---|
0.0.48 | Apr 28, 2025 |
0.0.43 | Mar 16, 2025 |
0.0.11 | Dec 15, 2024 |
0.0.9 | Nov 5, 2024 |
#20 in Magic Beans
1,365 downloads per month
Used in 12 crates
270KB
6.5K
SLoC
Execute asynchronous tasks with a configurable scheduler.
This crate provides a collection of runtimes that can be
used to execute asynchronous tasks in a variety of ways. For production use,
the tokio
module provides a runtime backed by Tokio.
For testing and simulation, the deterministic
module provides a runtime
that allows for deterministic execution of tasks (given a fixed seed).
Terminology
Each runtime is typically composed of an Executor
and a Context
. The Executor
implements the
Runner
trait and drives execution of a runtime. The Context
implements any number of the
other traits to provide core functionality.
Status
commonware-runtime
is ALPHA software and is not yet recommended for production use. Developers should
expect breaking changes and occasional instability.
commonware-runtime
Execute asynchronous tasks with a configurable scheduler.
Status
commonware-runtime
is ALPHA software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.
Dependencies
~15–28MB
~403K SLoC