WORKFLOW-RS project is designed to provide a unified environment for development of async Rust applications that are able to run in native platforms (desktops and servers), and
WASM32 environments such as Web Browsers, Node.js NWJS (Node Webkit) and Electron.
- Platform neutral crates that are able to function in, or provide abstractions for, running on bare metal (native) as well as inside of a browser, Node.js or NWJS WASM-powered environments.
- BPF-friendly (Solana OS) environment that allows certain crates when building to the BPF targets.
WORKFLOW-RS is comprised of the following crates. These crates contain a carefully curated collection of functions and re-exports meant to provide a platform-neutral environment framework for Rust applications.
General-purpose universal application logging functionality.
Core utilities used by the Workflow framework. These utilities implement as well as re-export curated implementations
that are compatible with WASM32 (browser) async Rust environment.
WebSocket crate with async Rust API that functions uniformly in the native environemnt (using Tokio) and within a browser using the native browser WebSockets. This crate is also compatible with Node.js via a W3C WebSocket shim.
RPC crate based on top of
workflow-websocket offering asynchronous Binary data relay over WebSocket connections using Borsh and JSON serialization (allowing for WebSocket-framed JSON-RPC-like data exchange). This crate is also compatible with Node.js via a W3C WebSocket shim.
A unified terminal implementation designed to offer a terminal user interface in a native shell (OS) as well as in-browser. This implementation is helpful for creating and testing crates and APIs that are meant to function in-browser and on native platforms.
HTML templating marco offering an easy-to-use runtime html templating against DOM when using async Rust in-browser. This crate is a foundational pillar behind the WORKFLOW-UX crate offering Rust-based DOM-driven UX creation.
i18n framework for Workflow-UX applications. This framework offers runtime translation of text based on a phrase-dictionary database.
A crate offering a simple platform-neutral file (data) storage but resolving file paths at runtime based on the OS as well as supporting browser local-storage.
Async Rust + HTML Web Component driven application user interface library.
workflow-terminal are available in the main
workflow-rs GitHub repository, in the /examples folder.
This project is under heavy development. Any contributions, ideas or feedback would be much appreciated.