126 releases (stable)

31.0.0 Mar 20, 2025
30.0.2 Feb 25, 2025
29.0.1 Jan 21, 2025
28.0.1 Jan 14, 2025
0.15.0 Mar 31, 2020

#1727 in WebAssembly

Download history 17779/week @ 2024-12-23 14367/week @ 2024-12-30 28632/week @ 2025-01-06 24985/week @ 2025-01-13 26022/week @ 2025-01-20 22184/week @ 2025-01-27 27735/week @ 2025-02-03 25063/week @ 2025-02-10 31091/week @ 2025-02-17 30426/week @ 2025-02-24 34523/week @ 2025-03-03 31440/week @ 2025-03-10 26604/week @ 2025-03-17 23682/week @ 2025-03-24 27168/week @ 2025-03-31 23389/week @ 2025-04-07

103,269 downloads per month
Used in 186 crates (22 directly)

Apache-2.0 WITH LLVM-exception

3MB
47K 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

~8–19MB
~297K SLoC