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

#1123 in HTTP server

Download history 14/week @ 2024-02-26 23/week @ 2024-03-04 4/week @ 2024-03-11 12/week @ 2024-04-01 41/week @ 2024-04-08 7/week @ 2024-04-15

60 downloads per month

MIT license

225KB
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–23MB
~297K SLoC