#binaryen #bindings

sys binaryen-sys

Bindings to the binaryen library

15 releases (breaking)

Uses old Rust 2015

0.13.0 Mar 10, 2024
0.12.0 Nov 2, 2020
0.11.0 Nov 2, 2020
0.10.1 Mar 20, 2020
0.2.0 Sep 26, 2017

#1351 in WebAssembly

Download history 474/week @ 2024-12-09 206/week @ 2024-12-16 151/week @ 2024-12-23 152/week @ 2024-12-30 230/week @ 2025-01-06 110/week @ 2025-01-13 109/week @ 2025-01-20 83/week @ 2025-01-27 141/week @ 2025-02-03 87/week @ 2025-02-10 87/week @ 2025-02-17 84/week @ 2025-02-24 68/week @ 2025-03-03 85/week @ 2025-03-10 197/week @ 2025-03-17 114/week @ 2025-03-24

471 downloads per month
Used in 19 crates (via binaryen)

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 6.5K SLoC // 0.0% comments JavaScript 5K SLoC // 0.0% comments Bazel 721 SLoC // 0.1% comments Shell 271 SLoC // 0.2% comments C 144 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.

No runtime deps