# Project instructions: rustbar Build a small Tauri v2 system-tray utility with a React + TypeScript frontend. It should display a live physics simulation with moving bodies and collision events, using Rust commands/events as the bridge. Keep the demo focused on native desktop integration and a small app footprint. ## Rules for this project - This project is independent: keep all Rust, React, assets, and configuration inside `projects/rustbar`. Do not import or copy code from another showcase. - Use Rust `1.98.1`, pinned in this directory's `mise.toml`. - Manage toolchains and external build tools with `mise.toml`. Pin every Rust crate to an exact version (`=x.y.z`) in `Cargo.toml`, commit `Cargo.lock`, and use locked Cargo commands. Pin JavaScript packages exactly and commit the package-manager lockfile. Mise does not replace either package manager's manifest/lockfile. - Provide working `mise run install` and `mise run run` tasks for the full desktop app. Add a check task and run Clippy with `all` and `pedantic` enabled; fix warnings rather than suppressing them broadly. - Do not assume globally installed helper binaries. Pin Rust, Node, package-manager, and Tauri build tooling in mise configuration. Do not shell out to another app to provide core functionality. - Use daisyUI with Tailwind CSS 4 for React UI styling. Include tests for physics/collision logic and a README with setup and run instructions.