56 releases (15 stable)

new 7.0.0 Mar 20, 2023
6.0.1 Mar 8, 2023
6.0.0 Feb 20, 2023
5.0.1 Mar 8, 2023
0.15.0 Mar 31, 2020

#5 in #cranelift

Download history 6798/week @ 2022-11-28 5981/week @ 2022-12-05 5623/week @ 2022-12-12 5730/week @ 2022-12-19 2979/week @ 2022-12-26 4917/week @ 2023-01-02 8519/week @ 2023-01-09 8573/week @ 2023-01-16 10557/week @ 2023-01-23 8439/week @ 2023-01-30 7248/week @ 2023-02-06 8069/week @ 2023-02-13 9245/week @ 2023-02-20 10146/week @ 2023-02-27 10167/week @ 2023-03-06 8776/week @ 2023-03-13

38,969 downloads per month
Used in 93 crates (15 directly)

Apache-2.0 WITH LLVM-exception

1MB
15K 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

~12–18MB
~379K SLoC