Crate wasm_pack[][src]

Your favorite rust -> wasm workflow tool!

Modules

binaries

Utilities for finding and installing binaries that we depend on.

bindgen

Functionality related to installing and running wasm-bindgen.

build

Building a Rust crate into a .wasm binary.

command

CLI command structures, parsing, and execution.

emoji

Emoji contants used by wasm-pack.

error

Code related to error handling for wasm-pack

lockfile

Reading Cargo.lock lock file.

logger

Logging facilities for wasm-pack.

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.

target

Information about the target wasm-pack is currently being compiled for.

test

Testing a Rust crate compiled to wasm.

Structs

Cli

📦 ✨ pack and publish your wasm!

PBAR

The global progress bar and user-facing message output.