- Notifications
You must be signed in to change notification settings - Fork425
📦✨ your favorite rust -> wasm workflow tool!
License
Apache-2.0, MIT licenses found
Licenses found
rustwasm/wasm-pack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Your favorite Rust → Wasm workflow tool!
Built with 🦀🕸 byThe 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 thebrowser or with Node.js.wasm-pack
helps you build rust-generatedWebAssembly packages that you could publish to the npm registry, or otherwise usealongside any javascript packages in workflows that you already use, such aswebpack.
This project is a part of therust-wasm group. You can find more info byvisiting that repo!
This project requires Rust 1.30.0 or later.
Visit thequickstart 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
andpublish
: Create a tarball of your rustwasm pkg and/or publish to a registry
wasm-pack
usesenv_logger
to produce logs whenwasm-pack
runs.
To configure your log level, use theRUST_LOG
environment variable. For example:
RUST_LOG=info wasm-pack build
Read ourguide on getting up and running for developingwasm-pack
, andcheck out ourcontribution policy.
This project is part of therustwasm Working Group.
This project was started byashleygwilliams and is maintained bydrager and the Rust Wasm Working Group Core Team.
About
📦✨ your favorite rust -> wasm workflow tool!