Something went wrong. Try again.
Simple test project that sets up a hybrid cargo crate with a vite project
Something went wrong. Try again.
Files
- TypeScript 64%
- Rust 31%
- HTML 5%
README.md
Rust Test Project #
This is a test project for Rust.
Setup #
rustup install
rustup target add wasm32-unknown-unknown
cargo install wasm-pack
cargo clean
npm install -g corepack@latest
corepack enable
pnpm install
pnpm exec playwright install
Commands #
The root pnpm workspace implements several commands to orchestrate the project. It interacts with both the TypeScript and Rust projects.
pnpm playground #
pnpm playground --open
pnpm test #
pnpm test
pnpm format #
pnpm format
pnpm lint #
pnpm lint
pnpm build #
pnpm build
pnpm build:prod #
pnpm build:prod