11 unstable releases (3 breaking)

0.112.0 Mar 9, 2023
0.111.0 Dec 31, 2022
0.110.2 Oct 27, 2022
0.0.1-preview.3 Aug 25, 2022
0.0.0 Jul 17, 2022

#669 in WebAssembly

Download history 5986/week @ 2022-11-26 7487/week @ 2022-12-03 7596/week @ 2022-12-10 7148/week @ 2022-12-17 4050/week @ 2022-12-24 6974/week @ 2022-12-31 9395/week @ 2023-01-07 10927/week @ 2023-01-14 11953/week @ 2023-01-21 10991/week @ 2023-01-28 10580/week @ 2023-02-04 12062/week @ 2023-02-11 11658/week @ 2023-02-18 14285/week @ 2023-02-25 13114/week @ 2023-03-04 12248/week @ 2023-03-11

53,345 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

5MB
110K SLoC

C++ 99K SLoC // 0.2% comments JavaScript 5K SLoC // 0.0% comments Python 4K SLoC // 0.2% comments WebAssembly 1K SLoC // 0.0% comments D 531 SLoC // 0.0% comments Rust 243 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