Crate wasm_pack

source ·
Expand description

Your favorite rust -> wasm workflow tool!

Modules

  • Functionality related to running wasm-bindgen.
  • Building a Rust crate into a .wasm binary.
  • Getting and configuring wasm-pack’s binary cache.
  • Utilities for managing child processes.
  • CLI command structures, parsing, and execution.
  • Emoji constants used by wasm-pack.
  • Functionality related to running cargo-generate.
  • Functionality related to installing prebuilt binaries and/or running cargo install.
  • Copy LICENSE file(s) for the packaged wasm.
  • Reading Cargo.lock lock file.
  • Reading and writing Cargo.toml and package.json manifests.
  • Functionality related to publishing to npm.
  • Fancy progress bar functionality.
  • Generating README files for the packaged wasm.
  • Key-value store in *.stamps file.
  • Information about the target wasm-pack is currently being compiled for.
  • Testing a Rust crate compiled to wasm.
  • Support for downloading and executing wasm-opt

Structs

  • 📦 ✨ pack and publish your wasm!

Statics

  • The global progress bar and user-facing message output.