wasm-component

Crates.iowasm-component
lib.rswasm-component
version0.1.7
sourcesrc
created_at2020-05-03 13:45:08.587116
updated_at2020-10-08 13:29:58.06078
descriptionA crate to create WASM component like Vue.js with a logic of Finite State Machine. Uses wasm-bindgen
homepage
repositoryhttps://gitlab.com/opentooladd/wasm-component.git
max_upload_size
id237062
size79,824
Ciro DE CARO (silverspectro)

documentation

README

Wasm-Component

A Rust crate to create Web-Assembly component for Rust structure with a logic of Finite State Machine.

How to use

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...)

Commit count: 9

cargo fmt