You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 weeks ago | |
---|---|---|
.vscode | 2 months ago | |
public | 2 months ago | |
src-elm | 2 months ago | |
src-tauri | 2 weeks ago | |
src-wasm | 2 weeks ago | |
.gitignore | 2 months ago | |
Justfile | 2 weeks ago | |
LICENSE | 2 months ago | |
README.md | 2 weeks ago | |
elm.json | 2 months ago |
README.md
Tauri (Vanilla) + Elm Counter Example
This is a quick and dirty proof-of-concept for passing messages from Tauri's Rust backend as well as a WebAssembly module to Elm's frontend (and vice versa) without relying on the typical JavaScript ecosystem.
In this project, the counter is incremented via Tauri's Rust backend, decremented via WebAssembly, and reset via Elm.
Dependencies
- Rust (… yes)
- Elm 0.19.1 binary in your
PATH
wasm-pack
(i.e.cargo install wasm-pack
)create-tauri-app
(i.e.cargo install create-tauri-app
)just
(i.e.cargo install just
)
Building
cargo-tauri dev