Setup Rust tooling
This commit is contained in:
parent
89bd003480
commit
d37f5aa794
2 changed files with 12 additions and 2 deletions
4
TODO.md
4
TODO.md
|
|
@ -12,8 +12,8 @@ When a given step is completed, check it off.
|
|||
|
||||
### Development Environment
|
||||
- [x] Create `flake.nix` with Node.js and pnpm
|
||||
- [ ] Add Rust toolchain to `flake.nix` (for later WASM work)
|
||||
- [ ] Add `flake.lock` and verify `nix develop` works
|
||||
- [x] Add Rust toolchain to `flake.nix` (for later WASM work)
|
||||
- [x] Add `flake.lock` and verify `nix develop` works
|
||||
- [ ] Create `justfile` with `dev`, `build`, `test`, `lint` recipes
|
||||
- [ ] Add `just fmt` recipe for code formatting
|
||||
- [ ] Add `just wasm` recipe placeholder for Rust builds
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -24,6 +24,13 @@
|
|||
nodejs_22
|
||||
pnpm
|
||||
|
||||
# Rust toolchain for WASM
|
||||
cargo
|
||||
rustc
|
||||
wasm-pack
|
||||
wasm-bindgen-cli
|
||||
rust-analyzer
|
||||
|
||||
# Useful development tools
|
||||
just
|
||||
];
|
||||
|
|
@ -32,6 +39,9 @@
|
|||
echo "Developer Environment"
|
||||
echo "Node.js: $(node --version)"
|
||||
echo "pnpm: $(pnpm --version)"
|
||||
echo "Rust: $(rustc --version)"
|
||||
echo "Cargo: $(cargo --version)"
|
||||
echo "wasm-pack: $(wasm-pack --version)"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue