99 releases (58 stable)

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

#1099 in WebAssembly

Download history 21430/week @ 2024-01-25 23775/week @ 2024-02-01 17993/week @ 2024-02-08 20729/week @ 2024-02-15 22069/week @ 2024-02-22 24202/week @ 2024-02-29 24625/week @ 2024-03-07 25681/week @ 2024-03-14 25710/week @ 2024-03-21 25759/week @ 2024-03-28 25532/week @ 2024-04-04 25183/week @ 2024-04-11 29162/week @ 2024-04-18 30302/week @ 2024-04-25 28360/week @ 2024-05-02 25879/week @ 2024-05-09

117,860 downloads per month
Used in 173 crates (20 directly)

Apache-2.0 WITH LLVM-exception

1.5MB
23K 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

~8–19MB
~279K SLoC