- Repository
- Start here
- Layout
Layout
Where each kind of code goes.
Cargo.toml Rust workspace: Rune's rev, its [patch.crates-io] block, shared dependenciesrust-toolchain.toml one Rust toolchain for everythingpackage.json JavaScript workspace (Bun), with one bun.lock for every web app and packageapps/<name>/ one folder per app, native or web, with its own README, assets and scriptscrates/<name>/ Rust shared between appspackages/<name>/ TypeScript shared between web appsAdding an app
Section titled “Adding an app”- A new Rust app goes in
apps/and in thememberslist of the rootCargo.toml. - A new web app goes in
apps/and inworkspacesin the rootpackage.json.
Bumping Rune
Section titled “Bumping Rune”Rune is pinned once, in the root Cargo.toml. When you bump it, change the rune and rune-kit
entries and every line of [patch.crates-io] together, then check every app.