walrus

Crates.iowalrus
lib.rswalrus
version0.23.3
sourcesrc
created_at2019-02-12 15:24:31.363328
updated_at2024-12-11 21:59:47.093112
descriptionA library for performing WebAssembly transformations
homepagehttps://github.com/rustwasm/walrus
repositoryhttps://github.com/rustwasm/walrus
max_upload_size
id114305
size715,269
Guy Bedford (guybedford)

documentation

https://docs.rs/walrus

README

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.

Commit count: 511

cargo fmt