https://github.com/harmony-development/hrpc-rs
hRPC implementation in Rust.
https://github.com/harmony-development/hrpc-rs
Last synced: 7 months ago
JSON representation
hRPC implementation in Rust.
- Host: GitHub
- URL: https://github.com/harmony-development/hrpc-rs
- Owner: harmony-development
- License: mit
- Created: 2021-01-27T14:54:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T14:36:57.000Z (about 3 years ago)
- Last Synced: 2024-11-17T13:50:22.787Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 8.65 MB
- Stars: 24
- Watchers: 3
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://crates.io/crates/hrpc) [](https://docs.rs/hrpc) [](https://harmonyapp.io/hrpc-rs)
# hrpc-rs
This repo contains an implementation of [hRPC](https://github.com/harmony-development/hrpc) in Rust:
- `crates/hrpc` contains generic server / client code and transports,
- `crates/hrpc-build` is contains codegen code that generates client or server code,
- `examples/interop` is used to test the implementation against itself and other servers.
- `examples` contains commented examples.
- To run an example's server: `cargo run --package example_name --bin server`
- To run an example's client: `cargo run --package example_name --bin client`## Getting started
Check out the [chat](./examples/chat) example!