Simple test project that sets up a hybrid cargo crate with a vite project
TypeScript 63.9%
Rust 30.0%
HTML 4.9%
Other 1.2%
18 1 0

Clone this repository

https://tangled.org/gm112.bsky.social/rust-test-project
git@tangled.org:gm112.bsky.social/rust-test-project

For self-hosted knots, clone URLs may differ based on your setup.

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

License#

MPL-2.0