This project was generated by OXY-GEN, an open-source cli tool that helps developers quickly create native desktop apps using React and Rust!
It uses Electron to build the native app, create-react-app for the React side, and uses Web Assembly to bind the Rust functions.
OXY-GEN includes a recursive fibonacci algorithm written in Node.js and Rust. It uses Web Workers to run both languages in parallel to showcase the speed difference.
npm install -g yarn
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup default nightly
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
yarn install
yarn build
yarn dev
yarn electron-pack