2 releases

0.1.1 Sep 27, 2024
0.1.0 Jun 26, 2024

#1409 in Parser implementations

44 downloads per month
Used in 9 crates (7 directly)

Apache-2.0

1MB
23K SLoC

SwimOS Agent Protocol

This crate defines the protocol used to communicate between the Swim runtime and implementations of agents.

The root module contains types describing the messages that can be sent on the various types of channel between the runtime and the agent. Each message type has encoders and decoders in the encoding module. Encoders/decoders whose name starts with 'Raw' send and receive raw arrays of bytes as the content of the message. Otherwise, the body should be any type that can be serialized to Recon, using the swimos_form::Form trait.

Dependencies

~8–15MB
~183K SLoC