Rust Library
# Cargo.toml
[]
= "0.1"
This crate defaults to supporting WebAssembly. To build the crate without WebAssembly support, don't use the crate's default features:
JavaScript Package
# npm
# yarn
# pnpm
The npm package has:
- A ~60kb WASM binary
- No dependencies
- JavaScript bindings to the WASM binary
- TypeScript definitions
The package is built to target webpack (--target bundler) but can be rebuilt from the Rust library for a different target:
|||