Crates.io | wasm-component |
lib.rs | wasm-component |
version | 0.1.7 |
source | src |
created_at | 2020-05-03 13:45:08.587116 |
updated_at | 2020-10-08 13:29:58.06078 |
description | A crate to create WASM component like Vue.js with a logic of Finite State Machine. Uses wasm-bindgen |
homepage | |
repository | https://gitlab.com/opentooladd/wasm-component.git |
max_upload_size | |
id | 237062 |
size | 79,824 |
A Rust crate to create Web-Assembly component for Rust structure with a logic of Finite State Machine.
To use the crate you have to implement the DOMComponent
trait and the Machine
trait.
The Machine
will handle all the transition between states and handle the data manipulation, while the DOMComponent
represents the interface for a Machine
to interact with a Driver
.
For the moment there is only 1 Driver
type and 1 App
type.
But the logic is to be able to expand this logic to other graphical environment than the DOM (ex: Piston, App, Desktop...)