what are the recommended practices around handling shared gRPC definitions?

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • 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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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