From 9da365bc01fc54f6d3f0ca9c3212eee4c0cee7cd Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sun, 19 Apr 2026 07:23:15 +0200 Subject: [PATCH] docs: add prerequisites for rust --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index b2d6eed0..3cb67abf 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,19 @@ If you want to get ready for `apps/desktop`, see [`apps/desktop/README.md`](apps Only needed if you're editing `rust/wasm` and want the web app to use your local build instead of the published package. +**Prerequisites** — install these once before anything else: + +```bash +# Rust toolchain +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + +# build the WASM package +cargo install wasm-pack + +# reruns the build on file changes, used by bun dev:wasm +cargo install cargo-watch +``` + 1. Build the package once from the repo root: ```bash