Sunbeam Studios

Our open-source projects, here for you!

wit-parser (0.244.0)

Published 2026-03-26 11:06:49 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

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

[net]
git-fetch-with-cli = true
cargo add wit-parser@0.244.0

About this package

Tooling for parsing `*.wit` files and working with their contents.

wit-parser

A Rust crate for parsing and interpreting the *.wit text format. This text format is used to describe the imports and exports of a component.

This crate is a low-level tooling crate which is intended to be integrated further into toolchains elsewhere and isn't necessarily interacted with on a day-to-day basis. Internally it supports parsing a *.wit document into a structured AST. Additionally it implements mechanisms of the canonical ABI to assist in binding the canonical ABI into various languages.

Dependencies

ID Version
anyhow ^1.0.58
id-arena ^2
indexmap ^2.7.0
log ^0.4.17
semver ^1.0.0
serde ^1.0.166
serde_derive ^1.0.166
serde_json ^1
unicode-xid ^0.2.2
wasmparser ^0.244.0
wat ^1.244.0
env_logger ^0.11
libtest-mimic ^0.8.1
pretty_assertions ^1.3.0
serde_json ^1
Details
Cargo
2026-03-26 11:06:49 +00:00
0
Alex Crichton <alex@alexcrichton.com>
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
155 KiB
Assets (1)
Versions (1) View all
0.244.0 2026-03-26