26 releases (10 breaking)

new 0.12.0 Apr 20, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.8.1 Nov 1, 2023
0.1.0 Sep 21, 2022

#110 in WebAssembly

Download history 640/week @ 2023-12-24 281/week @ 2023-12-31 479/week @ 2024-01-07 359/week @ 2024-01-14 751/week @ 2024-01-21 201/week @ 2024-01-28 286/week @ 2024-02-04 271/week @ 2024-02-11 242/week @ 2024-02-18 523/week @ 2024-02-25 193/week @ 2024-03-03 272/week @ 2024-03-10 211/week @ 2024-03-17 335/week @ 2024-03-24 377/week @ 2024-03-31 147/week @ 2024-04-07

1,105 downloads per month
Used in 58 crates (28 directly)

MIT/Apache

97KB
2K SLoC

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

Dependencies

~17–33MB
~494K SLoC