13 releases (breaking)

Uses old Rust 2015

0.12.1 Feb 10, 2022
0.12.0 Nov 2, 2020
0.11.0 Nov 2, 2020
0.10.0 Feb 6, 2020
0.2.0 Sep 26, 2017

#164 in WebAssembly

Download history 1916/week @ 2022-12-04 1434/week @ 2022-12-11 1794/week @ 2022-12-18 129/week @ 2022-12-25 1026/week @ 2023-01-01 2469/week @ 2023-01-08 2324/week @ 2023-01-15 5138/week @ 2023-01-22 3148/week @ 2023-01-29 1385/week @ 2023-02-05 1537/week @ 2023-02-12 3442/week @ 2023-02-19 1233/week @ 2023-02-26 1339/week @ 2023-03-05 926/week @ 2023-03-12 1105/week @ 2023-03-19

4,691 downloads per month
Used in 14 crates (11 directly)

Apache-2.0

3.5MB
83K SLoC

C++ 69K SLoC // 0.1% comments JavaScript 4.5K SLoC // 0.0% comments Rust 4K SLoC // 0.0% comments Python 3.5K SLoC // 0.2% comments WebAssembly 1K SLoC // 0.0% comments Shell 147 SLoC // 0.1% 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