Crates.io | vino-packet |
lib.rs | vino-packet |
version | 0.9.0 |
source | src |
created_at | 2021-08-05 20:47:32.541108 |
updated_at | 2022-03-01 18:44:06.127156 |
description | Rust library encapsulating the message packets sent across Vino components. |
homepage | https://docs.vino.dev |
repository | https://github.com/vinodotdev/vino-sdk |
max_upload_size | |
id | 432180 |
size | 15,482 |
The Vino packet crate contains the consistent message structure for arbitrary output from Vino components and providers.
Components output versioned payloads (e.g. a v0::Payload
) which then get
wrapped into a 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. For example, Vino
uses vino-transport to keep
a dependent platform insulated from Packet
changes.
License: BSD-3-Clause