18 releases (9 breaking)
Uses old Rust 2015
|0.10.2||Dec 16, 2021|
|0.10.1||Sep 5, 2021|
|0.10.0||Jul 2, 2021|
|0.9.1||Feb 8, 2020|
|0.1.0||Mar 16, 2018|
#28 in WebAssembly
17,898 downloads per month
Used in 5 crates
Your favorite Rust → Wasm workflow tool!
Docs | Contributing | Chat
Built with 🦀🕸 by The Rust and WebAssembly Working Group
This tool seeks to be a one-stop shop for building and working with rust-
browser or with Node.js.
wasm-pack helps you build rust-generated
WebAssembly packages that you could publish to the npm registry, or otherwise use
This project is a part of the rust-wasm group. You can find more info by visiting that repo!
This project requires Rust 1.30.0 or later.
Visit the quickstart guide in our documentation.
new: Generate a new RustWasm project using a template
build: Generate an npm wasm pkg from a rustwasm crate
test: Run browser tests
publish: Create a tarball of your rustwasm pkg and/or publish to a registry
env_logger to produce logs when
To configure your log level, use the
RUST_LOG environment variable. For example:
RUST_LOG=info wasm-pack build
This project is part of the rustwasm Working Group.