Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate gRPC crates #12

Open
dancrossnyc opened this issue Oct 10, 2022 · 2 comments
Open

Evaluate gRPC crates #12

dancrossnyc opened this issue Oct 10, 2022 · 2 comments
Assignees
Milestone

Comments

@dancrossnyc
Copy link

dancrossnyc commented Oct 10, 2022

Which Rust crate should we use for gRPC?

@dancrossnyc dancrossnyc added this to the gRPC API milestone Oct 10, 2022
@dancrossnyc
Copy link
Author

dancrossnyc commented Oct 10, 2022

A search of crates.io for actively developed gRPC crates (https://crates.io/search?q=grpc) shows several options:

  1. tonic (https://crates.io/crates/tonic) This seems like the most popular, and has first-class support for async/await; pure Rust.
  2. grpc (https://crates.io/crates/grpc) Despite the obvious name, this has seen much less use than tonic. Pure Rust.
  3. grpc-rs (https://github.com/tikv/grpc-rs) This seems to be a Rust wrapper around the C++ gRPC implementation.

Of the above choices, I'm leaning heavily towards tonic (1).

@dancrossnyc
Copy link
Author

Let's go with tonic!

@dancrossnyc dancrossnyc moved this from In Progress to Done in ARNGLL Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant