rapace 0.5.0

High-performance RPC framework with shared memory transport
Documentation

rapace

crates.io documentation MIT/Apache-2.0 licensed

High-performance RPC framework with support for multiple transports (shared memory, TCP, WebSocket) and streaming.

Features

  • Multiple transports: In-process (mem), TCP/Unix socket (stream), WebSocket, and shared memory (SHM)
  • Streaming: Full support for server and client streaming RPC calls
  • Code generation: Automatic client and server code generation from trait definitions
  • Zero-copy: Shared memory transport for ultra-low latency
  • Cross-platform: Works on Linux, macOS, Windows, and WebAssembly

Quick Start

use rapace::service;

#[rapace::service]
pub trait Calculator {
    async fn add(&self, a: i32, b: i32) -> i32;
    async fn multiply(&self, a: i32, b: i32) -> i32;
}

See the examples for more.

License

Licensed under either of:

at your option.