#wasmflow #actor #flow

wasmflow-packet

Rust library encapsulating the message packets sent across Wasmflow components

2 releases

Uses new Rust 2021

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

#513 in Data structures

Download history 55/week @ 2022-08-04 61/week @ 2022-08-11 30/week @ 2022-08-18 23/week @ 2022-08-25 38/week @ 2022-09-01 47/week @ 2022-09-08 31/week @ 2022-09-15 30/week @ 2022-09-22 60/week @ 2022-09-29 51/week @ 2022-10-06 9/week @ 2022-10-13 21/week @ 2022-10-20 44/week @ 2022-10-27 51/week @ 2022-11-03 45/week @ 2022-11-10 48/week @ 2022-11-17

195 downloads per month
Used in fewer than 9 crates

Apache-2.0

31KB
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–1.9MB
~41K SLoC