#task-local #async #storage #vendored #tokio-runtime #bugen-zhao

roam-task-local

Task-local storage for async tasks, vendored from BugenZhao/task-local

3 releases (1 stable)

Uses new Rust 2024

3.0.0 Jan 28, 2026
0.6.0 Jan 22, 2026
0.0.0 Jan 22, 2026

#506 in Asynchronous

41 downloads per month
Used in 3 crates (via roam-session)

MIT license

16KB
244 lines

Task-local storage for asynchronous tasks.

This crate provides a way to store task-local values across .await points. It was extracted from the tokio::task_local module and can be used independently of the Tokio runtime.

Vendored from https://github.com/BugenZhao/task-local with minor modifications.

Dependencies

~43KB