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

#958 in WebAssembly

Download history 37629/week @ 2024-03-14 43890/week @ 2024-03-21 42592/week @ 2024-03-28 50183/week @ 2024-04-04 46638/week @ 2024-04-11 44856/week @ 2024-04-18 39303/week @ 2024-04-25 35091/week @ 2024-05-02 33232/week @ 2024-05-09 33424/week @ 2024-05-16 44438/week @ 2024-05-23 41588/week @ 2024-05-30 31576/week @ 2024-06-06 35454/week @ 2024-06-13 36661/week @ 2024-06-20 27642/week @ 2024-06-27

138,089 downloads per month
Used in 101 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