https://github.com/thruster-rs/thruster-grpc
https://github.com/thruster-rs/thruster-grpc
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thruster-rs/thruster-grpc
- Owner: thruster-rs
- Created: 2020-07-20T18:03:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T23:10:42.000Z (about 3 years ago)
- Last Synced: 2023-03-04T22:49:39.247Z (about 2 years ago)
- Language: Rust
- Size: 38.1 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thruster-gRPC
This is an experimental library to provide gRPC support over [thruster](https://github.com/thruster-rs/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!