127 releases (stable)

32.0.0 Apr 21, 2025
31.0.0 Mar 20, 2025
30.0.2 Feb 25, 2025
29.0.1 Jan 21, 2025
0.15.0 Mar 31, 2020

#1621 in WebAssembly

Download history 29166/week @ 2025-01-09 24496/week @ 2025-01-16 24294/week @ 2025-01-23 22293/week @ 2025-01-30 28195/week @ 2025-02-06 25062/week @ 2025-02-13 33167/week @ 2025-02-20 34362/week @ 2025-02-27 31307/week @ 2025-03-06 30016/week @ 2025-03-13 25858/week @ 2025-03-20 25082/week @ 2025-03-27 25240/week @ 2025-04-03 25556/week @ 2025-04-10 24942/week @ 2025-04-17 23793/week @ 2025-04-24

104,442 downloads per month
Used in 187 crates (22 directly)

Apache-2.0 WITH LLVM-exception

3MB
49K 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
~296K SLoC