64 releases (breaking)

new 0.229.0 Apr 17, 2025
0.227.1 Mar 7, 2025
0.222.0 Dec 18, 2024
0.221.0 Nov 27, 2024
0.1.0 Dec 2, 2019

#19 in Parser implementations

Download history 65930/week @ 2024-12-26 106446/week @ 2025-01-02 145825/week @ 2025-01-09 110235/week @ 2025-01-16 136605/week @ 2025-01-23 141874/week @ 2025-01-30 185149/week @ 2025-02-06 133645/week @ 2025-02-13 165188/week @ 2025-02-20 154073/week @ 2025-02-27 159951/week @ 2025-03-06 171676/week @ 2025-03-13 194285/week @ 2025-03-20 156877/week @ 2025-03-27 211107/week @ 2025-04-03 164725/week @ 2025-04-10

757,567 downloads per month
Used in 271 crates (62 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