119 releases (32 breaking)
| 0.33.29 | Apr 30, 2022 |
|---|---|
| 0.33.27 | Mar 12, 2022 |
| 0.33.13 | Dec 27, 2021 |
| 0.31.3 | Nov 29, 2021 |
| 0.6.4 | Mar 9, 2021 |
#2 in #harmony
33 downloads per month
Used in 2 crates
(via harmony_rust_sdk)
210KB
5K
SLoC
hrpc
This crate contains generic server and client implementations, and transports
for hRPC. It mainly utilizes tower. It uses matchit for routing on server.
Currently implemented transports are:
- HTTP
hyperclient and server for use on native platforms- WASM client for use on web
- Mock client and server (see examples for usage)
lib.rs:
Generic client and server implementations and transport implementations for hRPC.
- For generic client and client implementations, see the
clientmodule. - For generic server and server implementations, see the
servermodule. - For common code shared by client and servers, see the
commonmodule. - Modules named
transportcontain transport specific code. - Modules named
layercontain layers for use. These can be generic, or transport specific.
Dependencies
~4–18MB
~257K SLoC