49 releases (1 stable)

2026.2.0 Feb 5, 2026
0.0.65 Jan 14, 2026
0.0.64 Dec 20, 2025
0.0.63 Oct 31, 2025
0.0.9 Nov 5, 2024

#452 in Concurrency

Download history 278/week @ 2025-11-12 468/week @ 2025-11-19 401/week @ 2025-11-26 485/week @ 2025-12-03 215/week @ 2025-12-10 726/week @ 2025-12-17 943/week @ 2025-12-24 210/week @ 2025-12-31 744/week @ 2026-01-07 2245/week @ 2026-01-14 1021/week @ 2026-01-21 1173/week @ 2026-01-28 1382/week @ 2026-02-04 6869/week @ 2026-02-11 4498/week @ 2026-02-18 2062/week @ 2026-02-25

14,905 downloads per month
Used in 36 crates (25 directly)

MIT/Apache

2.5MB
52K 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

Stability varies by primitive. See README for details.


commonware-runtime

Crates.io Docs.rs

Execute asynchronous tasks with a configurable scheduler.

Status

Stability varies by primitive. See README for details.

Dependencies

~115MB
~2.5M SLoC