20 breaking releases

0.33.0 Jan 5, 2022
0.32.0 Dec 13, 2021
0.31.0 Oct 29, 2021
0.28.0 Jun 9, 2021
0.15.0 Mar 31, 2020

#183 in WebAssembly

Download history 1401/week @ 2021-09-29 1792/week @ 2021-10-06 1906/week @ 2021-10-13 2716/week @ 2021-10-20 1576/week @ 2021-10-27 1345/week @ 2021-11-03 895/week @ 2021-11-10 1079/week @ 2021-11-17 1115/week @ 2021-11-24 948/week @ 2021-12-01 1329/week @ 2021-12-08 1044/week @ 2021-12-15 513/week @ 2021-12-22 414/week @ 2021-12-29 1476/week @ 2022-01-05 1223/week @ 2022-01-12

3,877 downloads per month
Used in 30 crates (12 directly)

Apache-2.0 WITH LLVM-exception

220KB
3K SLoC

wiggle

Wiggle is a code generator for the host side of a witx interface. It is invoked as a Rust procedural macro.

Wiggle is not specialized to any particular WebAssembly runtime. It is usable in at least Wasmtime and Lucet.

Learning more

Read the docs on docs.rs.

There are child crates for integrating with Wasmtime and Lucet.

The wasi-common crate is implemented using Wiggle and the wasmtime-wasi crate integrates wasi-common with the Wasmtime engine.

Andrew Brown wrote a great blog post on using Wiggle with Wasmtime.

Dependencies

~2–5MB
~111K SLoC