39 releases (breaking)

Uses new Rust 2021

0.39.1 Jul 21, 2022
0.38.3 Jul 21, 2022
0.35.2 Mar 31, 2022
0.32.0 Dec 13, 2021
0.15.0 Mar 31, 2020

#705 in WebAssembly

Download history 9190/week @ 2022-04-23 6875/week @ 2022-04-30 7165/week @ 2022-05-07 6354/week @ 2022-05-14 4865/week @ 2022-05-21 3468/week @ 2022-05-28 4084/week @ 2022-06-04 3819/week @ 2022-06-11 4131/week @ 2022-06-18 4814/week @ 2022-06-25 4956/week @ 2022-07-02 5575/week @ 2022-07-09 5862/week @ 2022-07-16 4469/week @ 2022-07-23 7409/week @ 2022-07-30 4525/week @ 2022-08-06

23,697 downloads per month
Used in 45 crates (14 directly)

Apache-2.0 WITH LLVM-exception

270KB
4K 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 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

~1.7–9MB
~169K SLoC