120 releases (79 stable)

new 28.0.1 Jan 14, 2025
28.0.0 Dec 20, 2024
27.0.0 Nov 20, 2024
26.0.1 Nov 5, 2024
0.15.0 Mar 31, 2020

#1435 in WebAssembly

Download history 19386/week @ 2024-09-26 15590/week @ 2024-10-03 16650/week @ 2024-10-10 17317/week @ 2024-10-17 17820/week @ 2024-10-24 20880/week @ 2024-10-31 18088/week @ 2024-11-07 20045/week @ 2024-11-14 19283/week @ 2024-11-21 18056/week @ 2024-11-28 19216/week @ 2024-12-05 19816/week @ 2024-12-12 33149/week @ 2024-12-19 11859/week @ 2024-12-26 23033/week @ 2025-01-02 25046/week @ 2025-01-09

97,329 downloads per month
Used in 177 crates (22 directly)

Apache-2.0 WITH LLVM-exception

3MB
45K 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
~291K SLoC