#vino #actor #flow

vino-packet

Rust library encapsulating the message packets sent across Vino components

4 releases (breaking)

0.9.0 Mar 1, 2022
0.8.0 Nov 15, 2021
0.7.0 Aug 16, 2021
0.6.2 Aug 5, 2021

#1451 in Asynchronous

21 downloads per month
Used in 2 crates

BSD-3-Clause

27KB
484 lines

vino-packet

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.

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. For example, Vino uses vino-transport to keep a dependent platform insulated from Packet changes.

License: BSD-3-Clause

Dependencies

~0.6–1.3MB
~28K SLoC