Skip to content

Commit 9da365b

Browse files
committed
docs: add prerequisites for rust
1 parent 8bdc894 commit 9da365b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@ If you want to get ready for `apps/desktop`, see [`apps/desktop/README.md`](apps
8585

8686
Only needed if you're editing `rust/wasm` and want the web app to use your local build instead of the published package.
8787

88+
**Prerequisites** — install these once before anything else:
89+
90+
```bash
91+
# Rust toolchain
92+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
93+
94+
# build the WASM package
95+
cargo install wasm-pack
96+
97+
# reruns the build on file changes, used by bun dev:wasm
98+
cargo install cargo-watch
99+
```
100+
88101
1. Build the package once from the repo root:
89102

90103
```bash

0 commit comments

Comments
 (0)