- following the guide at https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm
* create project
```sh
cargo new --lib hello-wasm && cd hello-wasm
```
* edit `Cargo.toml`:
```toml
[lib]
crate-type = ["cdylib"]
[dependencies]
wasm-bindgen = "0.2"
pico-args = "0.3"
libc = "0.2"
```
* install `wasm-pack`:
```sh
cargo install wasm-pack
```
pnpm version patch && pnpm publish --access public && git push