3 releases (breaking)

0.4.0 Jan 18, 2026
0.3.2 Jan 11, 2026
0.1.0 Nov 12, 2025

#1200 in WebAssembly

MIT license

1.5MB
36K SLoC

washm

Core engine for the WASHM WebAssembly toolchain. This is a Rust port of Binaryen's core functionality, providing:

  • WebAssembly Intermediate Representation (IR)
  • WASM Binary and Text (WAT) parsing and emission
  • Optimization and transformation passes
  • Analysis utilities (call graphs, etc.)

Usage

Add this to your Cargo.toml:

[dependencies]
washm = "0.4.0"

Features

  • Binaryen Compatibility: Aims for high compatibility with Binaryen's IR and optimization passes.
  • Pure Rust: Written in pure Rust for safety and performance (no C++ dependency).
  • Consolidated API: All core logic integrated into a single crate.

License

MIT

Dependencies

~7–10MB
~182K SLoC