Crates.io | local-runtime |
lib.rs | local-runtime |
version | 0.2.1 |
created_at | 2025-02-19 06:28:09.497588+00 |
updated_at | 2025-03-06 02:18:21.784645+00 |
description | Thread-local async runtime |
homepage | |
repository | https://github.com/YuhanLiin/local-runtime |
max_upload_size | |
id | 1561007 |
size | 181,091 |
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.