128 releases (stable)

new 33.0.0 May 20, 2025
32.0.0 Apr 21, 2025
31.0.0 Mar 20, 2025
30.0.2 Feb 25, 2025
0.15.0 Mar 31, 2020

#1640 in WebAssembly

Download history 24043/week @ 2025-01-31 26470/week @ 2025-02-07 28230/week @ 2025-02-14 31931/week @ 2025-02-21 34168/week @ 2025-02-28 30538/week @ 2025-03-07 30093/week @ 2025-03-14 25300/week @ 2025-03-21 26038/week @ 2025-03-28 24646/week @ 2025-04-04 25525/week @ 2025-04-11 24670/week @ 2025-04-18 23557/week @ 2025-04-25 22573/week @ 2025-05-02 24136/week @ 2025-05-09 21950/week @ 2025-05-16

96,213 downloads per month
Used in 191 crates (22 directly)

Apache-2.0 WITH LLVM-exception

3MB
50K 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 (this crate), 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

~9–19MB
~293K SLoC