92 releases (51 stable)

19.0.0 Mar 20, 2024
18.0.3 Mar 12, 2024
18.0.2 Feb 28, 2024
17.0.2 Feb 28, 2024
0.15.0 Mar 31, 2020

#1351 in WebAssembly

Download history 19997/week @ 2023-12-07 18041/week @ 2023-12-14 11721/week @ 2023-12-21 11429/week @ 2023-12-28 17220/week @ 2024-01-04 24397/week @ 2024-01-11 22765/week @ 2024-01-18 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 21545/week @ 2024-03-21

99,812 downloads per month
Used in 169 crates (19 directly)

Apache-2.0 WITH LLVM-exception

1.5MB
22K 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–21MB
~287K SLoC