#wasmflow #flow #actor

wasmflow-packet

Rust library encapsulating the message packets sent across Wasmflow components

2 releases

0.10.0 Jul 29, 2022
0.10.0-beta.4 Jun 30, 2022

#825 in Asynchronous

Download history 9/week @ 2023-12-17 9/week @ 2023-12-24 6/week @ 2024-01-07 2/week @ 2024-01-14 7/week @ 2024-02-04 6/week @ 2024-02-11 24/week @ 2024-02-18 46/week @ 2024-02-25 21/week @ 2024-03-03 26/week @ 2024-03-10 24/week @ 2024-03-17 31/week @ 2024-03-24 69/week @ 2024-03-31

157 downloads per month
Used in 9 crates

Apache-2.0

32KB
621 lines

wasmflow-packet

The Wasmflow packet crate contains the consistent message structure for arbitrary output from Wasmflow components and collections.

Components output versioned payloads (e.g. a v1::Packet) which then get wrapped into a generic Packet to normalize differences across versions.

Packets are designed for backwards compatibility but that compatibility layer is strictly between the component and Packet, not for consumers of the Packet. Packets are not meant to be long lived and you should have a compatibility layer between Packets and your system if you depend on this crate.

Dependencies

~1.2–2MB
~44K SLoC