Setup Rust tooling

This commit is contained in:
Nettika 2026-01-28 21:48:53 -08:00
parent 89bd003480
commit d37f5aa794
No known key found for this signature in database
2 changed files with 12 additions and 2 deletions

View file

@ -12,8 +12,8 @@ When a given step is completed, check it off.
### Development Environment ### Development Environment
- [x] Create `flake.nix` with Node.js and pnpm - [x] Create `flake.nix` with Node.js and pnpm
- [ ] Add Rust toolchain to `flake.nix` (for later WASM work) - [x] Add Rust toolchain to `flake.nix` (for later WASM work)
- [ ] Add `flake.lock` and verify `nix develop` works - [x] Add `flake.lock` and verify `nix develop` works
- [ ] Create `justfile` with `dev`, `build`, `test`, `lint` recipes - [ ] Create `justfile` with `dev`, `build`, `test`, `lint` recipes
- [ ] Add `just fmt` recipe for code formatting - [ ] Add `just fmt` recipe for code formatting
- [ ] Add `just wasm` recipe placeholder for Rust builds - [ ] Add `just wasm` recipe placeholder for Rust builds

View file

@ -24,6 +24,13 @@
nodejs_22 nodejs_22
pnpm pnpm
# Rust toolchain for WASM
cargo
rustc
wasm-pack
wasm-bindgen-cli
rust-analyzer
# Useful development tools # Useful development tools
just just
]; ];
@ -32,6 +39,9 @@
echo "Developer Environment" echo "Developer Environment"
echo "Node.js: $(node --version)" echo "Node.js: $(node --version)"
echo "pnpm: $(pnpm --version)" echo "pnpm: $(pnpm --version)"
echo "Rust: $(rustc --version)"
echo "Cargo: $(cargo --version)"
echo "wasm-pack: $(wasm-pack --version)"
''; '';
}; };
} }