1 unstable release

0.1.0 Jun 26, 2024

#2108 in Parser implementations

47 downloads per month
Used in 7 crates (6 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–16MB
~184K SLoC