101 releases (60 stable)

new 21.0.1 May 22, 2024
20.0.2 May 7, 2024
19.0.2 Apr 11, 2024
19.0.0 Mar 20, 2024
0.15.0 Mar 31, 2020

#992 in WebAssembly

Download history 22516/week @ 2024-01-31 19798/week @ 2024-02-07 19769/week @ 2024-02-14 22103/week @ 2024-02-21 24688/week @ 2024-02-28 22631/week @ 2024-03-06 24844/week @ 2024-03-13 27715/week @ 2024-03-20 24487/week @ 2024-03-27 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 23231/week @ 2024-05-15

119,834 downloads per month
Used in 173 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
~290K SLoC