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

Download history 147/week @ 2025-01-12 161/week @ 2025-01-19 30/week @ 2025-01-26 179/week @ 2025-02-02 458/week @ 2025-02-09 75/week @ 2025-02-16 173/week @ 2025-02-23 350/week @ 2025-03-02 890/week @ 2025-03-09 322/week @ 2025-03-16 50/week @ 2025-03-23 68/week @ 2025-03-30 258/week @ 2025-04-06 153/week @ 2025-04-13 380/week @ 2025-04-20 574/week @ 2025-04-27

1,365 downloads per month
Used in 12 crates

MIT/Apache

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

Crates.io Docs.rs

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