diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-19 07:23:15 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-19 07:23:15 +0200 |
| commit | 9da365bc01fc54f6d3f0ca9c3212eee4c0cee7cd (patch) | |
| tree | 99d3addd50d6ecbd50169cf55db2be1f1c497e0d /README.md | |
| parent | 8bdc894690752b1a9b29beb98d128eb0eec27d42 (diff) | |
| download | opencut-9da365bc01fc54f6d3f0ca9c3212eee4c0cee7cd.tar.gz | |
docs: add prerequisites for rust
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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
|
