RPC over SHM / WS / TCP / MEM
rapace.bearcove.eu·5d·
Preview
Report Post

rapace is a small IPC/RPC library for Rust. It was originally written so dodeca could talk to plugins as separate processes instead of linking everything into one binary.

It provides:

  • A #[rapace::service] proc macro for defining request/response interfaces
  • Integration with facet for serialization, deserialization, and type introspection
  • postcard as the primary binary wire format, with room for others
  • A small set of transports with a common API
  • Basic support for unary and streaming RPCs

Example service (see the crate documentation for more):

use rapace:...

Similar Posts

Loading similar posts...