workflow-core 0.1.0

Utilities and curated re-exports for async rust native and browser development
Documentation

WORKFLOW-CORE

Part of the WORKFLOW-RS application framework.


Collection of utilities and curated re-exports that are able to operate on native platforms as well as in-browser in the async Rust environment requiring Send markers.

Crates.io Crates.io platform platform platform

Features

  • #[describe_enum] enum macro attribute offering conversion of enums to and from strings as well as associating a custom description attribute with each of the enum values.
  • id module offering a random 64-bit UUID-like base58-encodable identifier representation (useful for DOM element IDs)
  • task module offering async spawn() functionality for async code task execution as well as re-exports following modules:
    • async_std::channel (offering unbounded and bounded channels from async_std)
    • channel::oneshot (asias for async_std::channel::bounded(1))
    • triggered re-export of the Triggered crate
  • async sleep() and yield_now() functions
  • utility module functions for buffer manipulation