70 releases (breaking)

0.235.0 Jun 13, 2025
0.233.0 Jun 3, 2025
0.227.1 Mar 7, 2025
0.222.0 Dec 18, 2024
0.1.0 Dec 2, 2019

#26 in Parser implementations

Download history 139072/week @ 2025-03-22 167715/week @ 2025-03-29 222494/week @ 2025-04-05 149336/week @ 2025-04-12 176820/week @ 2025-04-19 141489/week @ 2025-04-26 156279/week @ 2025-05-03 120563/week @ 2025-05-10 184364/week @ 2025-05-17 157509/week @ 2025-05-24 154246/week @ 2025-05-31 150734/week @ 2025-06-07 208786/week @ 2025-06-14 186906/week @ 2025-06-21 129101/week @ 2025-06-28 89052/week @ 2025-07-05

641,191 downloads per month
Used in 289 crates (65 directly)

Apache-2.0…

1MB
18K SLoC

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

~1.1–2.2MB
~40K SLoC