wasip3

Crates.iowasip3
lib.rswasip3
version0.2.0+wasi-0.3.0-rc-2025-09-16
created_at2025-09-09 20:06:52.234062+00
updated_at2025-09-17 17:54:20.504218+00
descriptionWASIp3 API bindings for Rust
homepage
repositoryhttps://github.com/bytecodealliance/wasi-rs
max_upload_size
id1831465
size1,093,275
Alex Crichton (alexcrichton)

documentation

https://docs.rs/wasip3

README

wasip3

A Bytecode Alliance project

WASIp2 API Bindings for Rust

Crates.io version Download docs.rs docs

This crate contains bindings for WASIp3 APIs for the worlds:

This crate is procedurally generated from WIT files using wit-bindgen.

Usage

Depending on this crate can be done by adding it to your dependencies:

$ cargo add wasip3

Using this crate requires Rust 1.90.0. If you're using this before 2025-09-18 you'll want to use the beta channel of Rust. You'll also want to use this crate with the wasm32-wasip2 crate (the Rust compiler does not currently have a wasm32-wasip3 target).

Development

The bulk of the wasip3 crate is generated by the wit-bindgen tool. The src/bindings.rs file can be regenerated with:

$ ./ci/regenerate.sh

WASI definitions are located in the wit directory of this repository. Currently they're copied from upstream repositories but are hoped to be better managed in the future.

Commit count: 121

cargo fmt