Crates.io | wasmflow-packet |
lib.rs | wasmflow-packet |
version | 0.10.0 |
source | src |
created_at | 2022-06-30 19:40:32.890778 |
updated_at | 2022-07-29 14:15:25.299591 |
description | Rust library encapsulating the message packets sent across Wasmflow components. |
homepage | https://wasmflow.com |
repository | https://github.com/wasmflow/wasmflow-sdk |
max_upload_size | |
id | 616640 |
size | 19,191 |
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.
Packet
s are designed for backwards compatibility but that compatibility layer is
strictly between the component and Packet
, not for consumers of the Packet
.
Packet
s are not meant to be long lived and you should have a compatibility layer
between Packet
s and your system if you depend on this crate.