An open API service indexing awesome lists of open source software.

https://github.com/frando/hrpc-rs


https://github.com/frando/hrpc-rs

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# hrpc-rs

Simple RPC with Protobuf Services

Rust port of [hrpc for Node.js](https://github.com/mafintosh/hrpc)

HRPC is a binary, bidirectional RPC protocol. The top-level crate contains the protocol parser and high-level RPC interface. Services, methods, requests and responses are defined in Protocol Buffer files. `hrpc-build` can create a full client from this schema file. It also creates traits that makes it straightforward to implement RPC services.

See [examples/basic](examples/basic) for a full, bidirectional example, including the code generation at build time.