mirror of
https://github.com/speice-io/isomorphic-rust
synced 2025-10-27 15:40:31 -04:00
916 B
916 B
Electron applications in Rust
It's 2020, and a lot has changed.
- With the advent of Webpack 5, the previous issues with using WASM in Electron have been vanquished. I can only assume some form of sorcery was involved. All examples have been updated to use the new version.
wasm32-unknown-unknowntargets are enabled for stable Rust, everything updated to 2018 edition- The previous
percyexample has been removed. While work continues on the project, there haven't been any releases. binaryenhas been removed.- A new framework
seedas been added as an example. - The
stdwebexample has been freshened up:- Use
#[wasm_bindgen(start)]to remove the app loader script - Don't use
innerHTML, just set the text content directly.
- Use
Each app is a starter example, and can be run with yarn install && yarn start.