5 releases

0.2.3 Jun 26, 2023
0.2.2 Jun 26, 2023
0.2.1 Jun 26, 2023
0.2.0 Jun 26, 2023
0.1.1 Apr 10, 2022

#1429 in HTTP server

Download history 16/week @ 2024-10-25 5/week @ 2024-11-01 17/week @ 2024-12-06 1/week @ 2024-12-13

66 downloads per month

MIT license

230KB
5K SLoC

Thruster-gRPC

This is an experimental library to provide gRPC support over thruster.

Usage

Note: Currently, this library only works with a hyper-based server of thruster.

The brunt of the work is done by the util::context_to_message and util::context_from_message methods. These take proto inputs and make them into usable structs (and vice versa.) Also provided in this crate are a hyper-based server for handling incoming protos (in HTTP2,) and a dedicated context.

Please check the examples for usage, docs will be forthcoming soon, but are fairly sparse at the moment!

Dependencies

~10–20MB
~281K SLoC