rkb is synchronous Rust with no Tokio, and rkb-core has no terminal output
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Designing rkb-core's runtime model.
Decision#
rkb is synchronous Rust with no Tokio, and rkb-core has no terminal output.
Why#
Each command makes at most one batched network call, Laya runs on the CPU, and a later ratatui/crossterm TUI works without async.
Rejected options#
Tokio.
Cost accepted#
Add Tokio only if concurrent network requests are really needed.
Also found by searching
- does rkb use Tokio
- synchronous Rust for a CLI
- rkb-core terminal output
- when to add Tokio to a Rust CLI