workflow-core

Crates.ioworkflow-core
lib.rsworkflow-core
version0.18.0
sourcesrc
created_at2022-08-22 10:33:21.785926
updated_at2024-09-07 16:50:42.999496
descriptionUtilities and curated re-exports for async rust native and browser development
homepage
repositoryhttps://github.com/workflow-rs/workflow-rs
max_upload_size
id650275
size109,625
surinder singh (surinder83singh)

documentation

README

workflow-core

Part of the workflow-rs application framework.


github crates.io docs.rs license

Collection of utilities and curated re-exports that are able to operate on native platforms as well as in the WASM32 Web Browser & Node.js environments.

Features

  • #[derive(Describe)] derive macro for enums 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
  • async yield_executor() for higher-level suspension of the browser event loop
  • utility module functions for buffer manipulation
Commit count: 513

cargo fmt