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 |
#4 in #harmony
341 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
hyper
client 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
client
module. - For generic server and server implementations, see the
server
module. - For common code shared by client and servers, see the
common
module. - Modules named
transport
contain transport specific code. - Modules named
layer
contain layers for use. These can be generic, or transport specific.
Dependencies
~4–18MB
~263K SLoC