Jesper Håkansson f28cf3e716
Merge pull request #1540 from drager/alert-autofix-3
chore: fix for code scanning alert no. 3: Workflow does not contain permissions
2025-11-30 14:33:16 +01:00
2023-05-30 18:26:31 +05:00
2019-01-17 07:52:12 -06:00
2018-04-18 11:06:38 -04:00
2018-09-24 21:07:30 -04:00
2018-02-13 14:53:28 -05:00
2018-02-13 14:53:28 -05:00

📦 wasm-pack

Your favorite Rust → Wasm workflow tool!

Build Status crates.io

Docs | Contributing | Chat

About

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.

demo

🔮 Prerequisites

This project requires Rust 1.30.0 or later.

Quickstart Guide

Visit the quickstart guide in our documentation.

🎙️ Commands

  • new: Generate a new RustWasm project using a template
  • build: Generate an npm wasm pkg from a rustwasm crate
  • test: Run browser tests
  • pack and publish: Create a tarball of your rustwasm pkg and/or publish to a registry

📝 Logging

wasm-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

👯 Contributing

Read our guide on getting up and running for developing wasm-pack, and check out our contribution policy.

🤹‍♀️ Governance

This project was started by ashleygwilliams and is maintained by drager.

Description
📦 your favorite rust -> wasm workflow tool!
Readme 17 MiB
Languages
Rust 99.4%
JavaScript 0.6%