what are the recommended practices around handling shared gRPC definitions?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Git

    Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

    Repos at my work use git subtrees for upstream protobuf files. Subtrees are similar but different to submodules, see link. I think it is a bit easier than submodules but I don’t have too much knowledge on either one

  • prost

    PROST! a Protocol Buffers implementation for the Rust Language

    The PR on the Prost side is https://github.com/tokio-rs/prost/pull/492 but ... it's been stuck waiting merge for quite some time (if I could get more traction behind it that'd be great, I'm tired of checking this one from time to time, and I've already had to rebase it over two prost releases...). If you want to use it though, you can build the protoc plugin from git. The tonic branch is over here: https://github.com/Tuetuopay/tonic/tree/protoc-gen-tonic-0.6

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • tonic

    A native gRPC client & server implementation with async/await support. (by Tuetuopay)

    The PR on the Prost side is https://github.com/tokio-rs/prost/pull/492 but ... it's been stuck waiting merge for quite some time (if I could get more traction behind it that'd be great, I'm tired of checking this one from time to time, and I've already had to rebase it over two prost releases...). If you want to use it though, you can build the protoc plugin from git. The tonic branch is over here: https://github.com/Tuetuopay/tonic/tree/protoc-gen-tonic-0.6

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts