WORKFLOW-RPC

Part of the WORKFLOW-RS application framework.


Platform-neutral RPC Client and Native RPC Server

Crates.io Crates.io platform platform platform

Features

RPC library built on top of workflow-websocket crate that offers both asynchronous Binary data relay over WebSocket connections. Synchronous & Asynchronous JSON RPC connections are planned for future releases.

The goal of this crate is to reduce boilerplate as much as possible allowing remote function invocation using a single function with two generics rpc.call<Req,Resp>() where request and response must implement serlialization using the respective serialization traits.

Binary RPC uses Borsh and JSON RPC uses Serde serializers.

Implementation status