logo
Expand description

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.

Re-exports

pub use packet::*;

Modules

The crate’s error module.

Module for Packet, the versioned Wasmflow message structure.

Version 1 of the packet format.