26 releases
new 0.0.43 | Mar 16, 2025 |
---|---|
0.0.42 | Mar 14, 2025 |
0.0.19 | Feb 26, 2025 |
0.0.14 | Jan 20, 2025 |
0.0.5 | Sep 24, 2024 |
#322 in Concurrency
1,514 downloads per month
Used in 12 crates
185KB
4.5K
SLoC
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.
lib.rs
:
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.
Dependencies
~6–15MB
~196K SLoC