Skip to content
Walrus is a WebAssembly transformation library 🌊🐘
Rust WebAssembly Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Migrate to GitHub Actions (#147) Dec 5, 2019
benches
crates
examples Track original wasm instructions location Oct 22, 2019
fuzz Track original wasm instructions location Oct 22, 2019
src Run rustfmt Dec 5, 2019
.gitignore
.gitmodules
CHANGELOG.md
CONTRIBUTING.md Add a README.md and CONTRIBUTING.md Jan 9, 2019
Cargo.toml Bump wasmparser to 0.44.0 (#146) Dec 5, 2019
README.md Remove travis build badge Dec 5, 2019
publish.sh Slow down the publish script to account for crates.io slowness Sep 4, 2019

README.md

Walrus 🌊🐘

Walrus is a WebAssembly transformation library

Crates.io version Download docs.rs docs

API Docs | Contributing | Chat

Built with πŸ¦€πŸ•Έ by The Rust and WebAssembly Working Group

About

The walrus crate is a Rust library for performing WebAssembly transformations in a robust and ergonomic fashion. The crate is still in its early days but is currently used to power the wasm-bindgen CLI tool and its own internal transformations.

Using walrus will, in the long term, also allow transforming WebAssembly while preserving DWARF debug information to ensure that debugging the final module is just as nice as debugging the intermediate module.

Stay tuned for more information in the future!

Examples

  • Check out examples/build-wasm-from-scratch.rs for a quick intro to building a Wasm module from scratch with walrus.
  • Check out the wasm-snip project for a relatively simple and self-contained but still Real World example of using walrus.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

You can’t perform that action at this time.