isomorphic-rust/README.md

18 lines
916 B
Markdown
Raw Normal View History

2018-09-08 23:46:40 -04:00
# Electron applications in Rust
2020-07-24 14:16:59 -04:00
It's 2020, and a lot has changed.
2018-09-08 23:46:40 -04:00
2020-07-24 14:37:15 -04:00
- 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-unknown` targets are enabled for stable Rust, everything updated to 2018 edition
- The previous [`percy`](https://github.com/chinedufn/percy) example has been removed. While work
continues on the project, there haven't been any releases.
2020-07-24 14:17:08 -04:00
- `binaryen` has been removed.
2020-07-24 14:16:59 -04:00
- A new framework [`seed`](https://github.com/seed-rs/seed) as been added as an example.
2020-07-24 14:37:15 -04:00
- The `stdweb` example has been freshened up:
- Use `#[wasm_bindgen(start)]` to remove the app loader script
- Don't use `innerHTML`, just set the text content directly.
2020-07-24 14:16:59 -04:00
2020-07-24 14:37:15 -04:00
Each app is a starter example, and can be run with `yarn install && yarn start`.