#wit #parser #webassembly

wit-parser

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

12 releases (5 breaking)

0.6.4 Mar 6, 2023
0.6.2 Feb 23, 2023
0.3.1 Nov 24, 2022
0.2.0 May 18, 2020
0.1.0 Dec 2, 2019

#761 in WebAssembly

Download history 8432/week @ 2022-11-30 8071/week @ 2022-12-07 7675/week @ 2022-12-14 6399/week @ 2022-12-21 6428/week @ 2022-12-28 8233/week @ 2023-01-04 8483/week @ 2023-01-11 10357/week @ 2023-01-18 10885/week @ 2023-01-25 14489/week @ 2023-02-01 15510/week @ 2023-02-08 16573/week @ 2023-02-15 17142/week @ 2023-02-22 20466/week @ 2023-03-01 20164/week @ 2023-03-08 16433/week @ 2023-03-15

77,015 downloads per month
Used in 53 crates (9 directly)

Apache-2.0 WITH LLVM-exception

260KB
5.5K 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

~3MB
~91K SLoC