27 releases (10 breaking)

new 0.12.1 Apr 27, 2024
0.11.1 Apr 19, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.1.0 Sep 21, 2022

#110 in WebAssembly

Download history 494/week @ 2024-01-04 341/week @ 2024-01-11 718/week @ 2024-01-18 284/week @ 2024-01-25 251/week @ 2024-02-01 205/week @ 2024-02-08 325/week @ 2024-02-15 493/week @ 2024-02-22 240/week @ 2024-02-29 300/week @ 2024-03-07 184/week @ 2024-03-14 274/week @ 2024-03-21 390/week @ 2024-03-28 259/week @ 2024-04-04 216/week @ 2024-04-11 647/week @ 2024-04-18

1,545 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–34MB
~501K SLoC