orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Migrate from tower-grpc to tonic #227

Closed tjtelan closed 4 years ago

tjtelan commented 4 years ago

Rust v1.39 is out in stable and with this release includes Async/Await support that was required for using Tonic-grpc (the successor of Tower-grpc).

We want to use Tonic so we can utilize multiplexing multiple services on a single port, which is the first goal to take advantage of our single-binary deployments before introducing distributed workflows.

https://github.com/hyperium/tonic

This effort isn't quite drop-in, but this issue will track the effort.

tjtelan commented 4 years ago

I'll be updating the proto identifiers to match the suggested style guide, since cargo is throwing build warnings about naming conventions immediately after switching the library.

https://developers.google.com/protocol-buffers/docs/style