Note: This is only for internal use. Bitwarden will not provide any support for this crate.
Requirements:
wasm32-unknown-unknown
rust target.wasm-bindgen-cli
installed.binaryen
installed forwasm-opt
andwasm2js
.
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
brew install binaryen
# dev
./build.sh
# release
./build.sh -r