Sunbeam Studios

Our open-source projects, here for you!

wasip3 (0.4.0+wasi-0.3.0-rc-2026-01-06)

Published 2026-03-26 11:05:15 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06

About this package

WASIp3 API bindings for Rust

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 target (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.

Dependencies

ID Version
bytes ^1.10.1
http ^1.3.1
http-body ^1.0.1
thiserror ^2.0.17
wit-bindgen ^0.51.0
futures ^0.3.31
http ^1.3.1
wit-bindgen ^0.51.0

Keywords

webassembly wasm
Details
Cargo
2026-03-26 11:05:15 +00:00
0
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
120 KiB
Assets (1)
Versions (1) View all