Crate wasm_pack

Source
Expand description

Your favorite rust -> wasm workflow tool!

Modules§

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

Structs§

Cli
📦 ✨ pack and publish your wasm!

Statics§

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