Crates.io | thruster-grpc |
lib.rs | thruster-grpc |
version | 0.2.3 |
source | src |
created_at | 2022-04-10 23:11:31.191725 |
updated_at | 2023-06-26 12:57:15.127628 |
description | A GRPC library for use with thruster |
homepage | |
repository | |
max_upload_size | |
id | 565277 |
size | 17,971 |
This is an experimental library to provide gRPC support over thruster.
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!