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

#1432 in WebAssembly

Download history 20255/week @ 2024-08-17 18562/week @ 2024-08-24 21112/week @ 2024-08-31 18111/week @ 2024-09-07 17050/week @ 2024-09-14 19921/week @ 2024-09-21 16933/week @ 2024-09-28 17793/week @ 2024-10-05 16280/week @ 2024-10-12 17340/week @ 2024-10-19 18209/week @ 2024-10-26 20330/week @ 2024-11-02 17834/week @ 2024-11-09 21229/week @ 2024-11-16 17362/week @ 2024-11-23 19719/week @ 2024-11-30

78,689 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
~283K SLoC