#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

#859 in Asynchronous


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–2.2MB
~45K SLoC