Registry / async / tokio-wasi

tokio-wasi

JSON →
library1.25.2rscratesunverified

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.

# Cargo.toml [dependencies] tokio_wasi = "1.25.2"
INSTALL
IMPORT
SIG · TOKIO-WASI
T
tokio-wasi
asyncrustv1.25.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Runtime
use tokio::runtime::Runtime;

Creates a Tokio runtime and runs an async task.

use tokio::runtime::Runtime; let rt = Runtime::new().unwrap(); rt.block_on(async { println!("Hello from Tokio on WASI!"); });
Debug
Known issues
gotchaRequires WASI target and appropriate async support.
fix
Ensure you are compiling for a WASI target and have the necessary features enabled.
affects: >=1.0.0
Upgrade
Version history
1.25.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
tokio-wasi — cargo add tokio-wasi · libregistry