Crates.io | wasm-pack |
lib.rs | wasm-pack |
version | 0.13.1 |
source | src |
created_at | 2018-03-16 08:37:12.179096 |
updated_at | 2024-10-29 18:53:42.210014 |
description | 📦✨ your favorite rust -> wasm workflow tool! |
homepage | |
repository | https://github.com/rustwasm/wasm-pack.git |
max_upload_size | |
id | 55920 |
size | 850,056 |
Your favorite Rust → Wasm workflow tool!
Built with 🦀🕸 by The Rust and WebAssembly Working Group
This tool seeks to be a one-stop shop for building and working with rust-
generated WebAssembly that you would like to interop with JavaScript, in the
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
alongside any javascript packages in workflows that you already use, such as webpack.
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 templatebuild
: Generate an npm wasm pkg from a rustwasm cratetest
: Run browser testspack
and publish
: Create a tarball of your rustwasm pkg and/or publish to a registrywasm-pack
uses env_logger
to produce logs when wasm-pack
runs.
To configure your log level, use the RUST_LOG
environment variable. For example:
RUST_LOG=info wasm-pack build
Read our guide on getting up and running for developing wasm-pack
, and
check out our contribution policy.
This project is part of the rustwasm Working Group.
This project was started by ashleygwilliams and is maintained by drager and the Rust Wasm Working Group Core Team.