local-runtime

Crates.iolocal-runtime
lib.rslocal-runtime
version0.2.1
created_at2025-02-19 06:28:09.497588+00
updated_at2025-03-06 02:18:21.784645+00
descriptionThread-local async runtime
homepage
repositoryhttps://github.com/YuhanLiin/local-runtime
max_upload_size
id1561007
size181,091
Yuhan Lin (YuhanLiin)

documentation

README

GitHub Actions Workflow Status docs.rs Crates.io Version

local-runtime

Thread-local async runtime

This crate provides an async runtime that runs entirely within the current thread. As such, it can run futures that are !Send and non-static. If no future is able to make progress, the runtime will suspend the current thread until a future is ready to be polled.

In addition, This crate provides async timers and an async adapter for standard I/O types, similar to async-io.

Note: Currently, Windows is not supported.

See the docs for more info.

Commit count: 104

cargo fmt