118 releases (77 stable)

new 27.0.0 Nov 20, 2024
26.0.1 Nov 5, 2024
26.0.0 Oct 22, 2024
25.0.3 Nov 5, 2024
0.15.0 Mar 31, 2020

#1383 in WebAssembly

Download history 20772/week @ 2024-07-31 18438/week @ 2024-08-07 20953/week @ 2024-08-14 18155/week @ 2024-08-21 20060/week @ 2024-08-28 20243/week @ 2024-09-04 18019/week @ 2024-09-11 17544/week @ 2024-09-18 20739/week @ 2024-09-25 14714/week @ 2024-10-02 17599/week @ 2024-10-09 16476/week @ 2024-10-16 18721/week @ 2024-10-23 19815/week @ 2024-10-30 18509/week @ 2024-11-06 18481/week @ 2024-11-13

78,850 downloads per month
Used in 173 crates (22 directly)

Apache-2.0 WITH LLVM-exception

3MB
44K 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
~284K SLoC