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

Download history 14/week @ 2024-11-24 8/week @ 2024-12-01 190/week @ 2024-12-08 189/week @ 2024-12-15 1/week @ 2024-12-22 3/week @ 2024-12-29 151/week @ 2025-01-05 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 869/week @ 2025-03-09

1,514 downloads per month
Used in 12 crates

MIT/Apache

185KB
4.5K SLoC

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.


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