104 releases (63 stable)

new 23.0.1 Jul 22, 2024
22.0.0 Jun 20, 2024
21.0.1 May 22, 2024
20.0.2 May 7, 2024
0.15.0 Mar 31, 2020

#1173 in WebAssembly

Download history 27185/week @ 2024-04-03 24744/week @ 2024-04-10 26939/week @ 2024-04-17 32325/week @ 2024-04-24 27151/week @ 2024-05-01 31644/week @ 2024-05-08 28568/week @ 2024-05-15 27971/week @ 2024-05-22 25088/week @ 2024-05-29 22046/week @ 2024-06-05 25588/week @ 2024-06-12 26826/week @ 2024-06-19 24683/week @ 2024-06-26 21771/week @ 2024-07-03 24566/week @ 2024-07-10 19535/week @ 2024-07-17

94,632 downloads per month
Used in 175 crates (20 directly)

Apache-2.0 WITH LLVM-exception

2.5MB
39K 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–20MB
~292K SLoC