118 releases (77 stable)

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

#1451 in WebAssembly

Download history 17620/week @ 2024-08-23 20673/week @ 2024-08-30 19076/week @ 2024-09-06 16420/week @ 2024-09-13 20247/week @ 2024-09-20 18053/week @ 2024-09-27 17574/week @ 2024-10-04 15494/week @ 2024-10-11 17908/week @ 2024-10-18 17243/week @ 2024-10-25 21219/week @ 2024-11-01 17474/week @ 2024-11-08 21268/week @ 2024-11-15 17983/week @ 2024-11-22 19289/week @ 2024-11-29 15358/week @ 2024-12-06

76,592 downloads per month
Used in 177 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
~283K SLoC