15 releases (6 breaking)

0.116.0 Oct 19, 2023
0.114.1 Aug 14, 2023
0.114.0 Jul 31, 2023
0.112.0 Mar 9, 2023
0.0.0 Jul 17, 2022

#1136 in WebAssembly

Download history 50424/week @ 2024-10-14 56374/week @ 2024-10-21 46194/week @ 2024-10-28 58834/week @ 2024-11-04 47034/week @ 2024-11-11 47504/week @ 2024-11-18 49601/week @ 2024-11-25 44218/week @ 2024-12-02 50416/week @ 2024-12-09 40260/week @ 2024-12-16 14378/week @ 2024-12-23 21569/week @ 2024-12-30 40613/week @ 2025-01-06 58637/week @ 2025-01-13 49545/week @ 2025-01-20 41496/week @ 2025-01-27

192,155 downloads per month
Used in 120 crates (2 directly)

MIT/Apache

5.5MB
124K SLoC

C++ 102K SLoC // 0.2% comments Bitbake 11K SLoC // 0.0% comments JavaScript 5K SLoC // 0.0% comments Python 4K SLoC // 0.2% comments WebAssembly 1K SLoC // 0.0% comments Rust 344 SLoC // 0.0% comments C 144 SLoC // 0.1% comments Shell 63 SLoC // 0.1% comments

Rust bindings for Binaryen's wasm-opt

wasm-opt is a component of the Binaryen toolkit that optimizes WebAssembly modules. It is written in C++.


lib.rs:

Native build of wasm-opt.

This crate builds the C++ code for wasm-opt but does not provide any Rust bindings.

Rust bindings can be found in wasm-opt-cxx-sys, but most users will probably want the high level APIs in the wasm-opt crate.

Dependencies