ryra-protocol 0.9.4

The typed wire protocol for driving ryra over rpc. No engine dependency, so any client can speak it without compiling ryra-core.
Documentation
  • Coverage
  • 54.02%
    141 out of 261 items documented0 out of 47 items with examples
  • Size
  • Source code size: 26.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.17 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • ryanravn/ryra
    11 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ryanravn

The typed wire protocol for driving ryra over rpc.

This crate is the contract, and only the contract: pure serde data types, no dependency on ryra-core (the engine). Any client - ryra-api, a control plane, a third-party tool - can speak it without compiling the engine, which is what makes ryra-api movable off the box later (it talks to the box's ryra rpc over a transport, depending only on these types).

The ryra binary owns the engine: it deserializes a [Request], converts the protocol-native request payloads into ryra_core::ops types, runs them, and serializes a [Reply]. The request payloads here mirror the ops request structs by shape (not by import), so the engine's internal types stay engine-private.