14 releases (breaking)

Uses old Rust 2015

0.13.0 Mar 10, 2024
0.12.1 Feb 10, 2022
0.12.0 Nov 2, 2020
0.10.0 Feb 6, 2020
0.2.0 Sep 26, 2017

#1878 in WebAssembly

Download history 192/week @ 2025-10-23 128/week @ 2025-10-30 164/week @ 2025-11-06 65/week @ 2025-11-13 164/week @ 2025-11-20 106/week @ 2025-11-27 125/week @ 2025-12-04 53/week @ 2025-12-11 66/week @ 2025-12-18 51/week @ 2025-12-25 41/week @ 2026-01-01 22/week @ 2026-01-08 88/week @ 2026-01-15 44/week @ 2026-01-22 52/week @ 2026-01-29 35/week @ 2026-02-05

225 downloads per month
Used in 20 crates (17 directly)

Apache-2.0

15MB
264K SLoC

C++ 144K SLoC // 0.2% comments WebAssembly 86K SLoC // 0.6% comments Python 11K SLoC // 0.3% comments Bitbake 10K SLoC // 0.0% comments Rust 7K SLoC // 0.0% comments JavaScript 5K SLoC // 0.0% comments Bazel 720 SLoC // 0.1% comments Shell 270 SLoC // 0.2% comments C 143 SLoC // 0.1% comments

binaryen-rs

Build Status crates.io docs.rs

Binaryen bindings for Rust. They used to provide bindings for IR-construction part of the API, but now this crate is more focused on tools provided by Binaryen, such as translate-to-fuzz or running wasm optimization passes.

Alternatives

For translate-to-fuzz like functionality, consider using the wasm-smith crate.

Dependencies