xidlc rust-jsonrpc
The rust-jsonrpc target generates Rust JSON-RPC service/client code from IDL.
Minimal Flow
Then implement the generated trait and expose it with xidl_jsonrpc::Server.
Example in this repo
Run server:
Run client (in another terminal):