#wasmflow #actor #flow

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

#850 in Asynchronous

Download history 66/week @ 2024-03-30 19/week @ 2024-04-06 27/week @ 2024-04-13 41/week @ 2024-04-20 25/week @ 2024-04-27 18/week @ 2024-05-04 25/week @ 2024-05-11 18/week @ 2024-05-18 25/week @ 2024-05-25 23/week @ 2024-06-01 11/week @ 2024-06-08 13/week @ 2024-06-15 27/week @ 2024-06-22 5/week @ 2024-06-29 5/week @ 2024-07-06 32/week @ 2024-07-13

70 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.1–2MB
~43K SLoC