Announcing gRPC-Rust

13,275 views
Skip to first unread message

Doug Fawley

unread,
Apr 3, 2024, 3:46:58 PM4/3/24
to grpc.io
The gRPC team is happy to announce that we have begun work on a full-featured, native Rust implementation of gRPC in conjunction with the owner of tonicLucio Franco.  Tonic already provides a capable and easy-to-use Rust implementation of gRPC, and we intend to build upon this foundation to provide many advanced features already available in other languages, including connection managementclient-side load balancing, and xDS support for Proxyless Service Mesh integration.

We are actively looking for people who are interested in using gRPC with Rust and who would be willing to be early adopters and provide feedback during development.  Please fill out the following form so we can reach out to you when more information is available:

http://bit.ly/gRPC-Rust-Interest

We are currently in the early stages of design.  More details will be shared as they become available.

Thank you!

Daz Wilkin

unread,
Apr 3, 2024, 11:55:51 PM4/3/24
to grpc.io
This is good news!

I use tonic (and prost) after trying other Rust gRPC implementations and like it a lot.

I'm curious as to what it means for Google (gRPC team) to contribute (!?) to tonic and why this is necessary.

Presumably it results from Google's own increased adoption of Rust. Hopefully, it will lead to Google Cloud providing Cloud Client libraries in Rust too ;-)

Small gripe: that you are only soliciting adopters who are corporate developers (with a "company" and a "role/title")

Amelia

unread,
Apr 17, 2024, 5:59:21 PM4/17/24
to grpc.io
I'm very excited for this! Is the idea to replace tonic? Fork it? Will you be working together with the protobuf team as they implement native rust support (https://github.com/protocolbuffers/protobuf/tree/main/rust)? Will the official gRPC implementation include support for common ecosystem packages like tower?

I don't expect that you have the answers to all or any of those yet, but I would be very interested in hearing the answers once you do know!

Doug Fawley

unread,
Apr 22, 2024, 12:57:20 PM4/22/24
to Daz Wilkin, ame...@tortie.io, grpc.io
On Wed, Apr 3, 2024 at 8:55 PM Daz Wilkin <daz.w...@gmail.com> wrote:
I'm curious as to what it means for Google (gRPC team) to contribute (!?) to tonic and why this is necessary.

gRPC is a CNCF project.  Google significantly funds it, but it is OSS-first.  Tonic is a different OSS project which is more independent.  The plan is to contribute a new channel and server implementation into the tonic repo, utilizing tonic's "generic" gRPC implementation, and also to move tonic to the gRPC organization on github (probably with the repo name "grpc-rust").  We will be using the "grpc" crates.io name which the previous owner Stepan Koltsov was gracious enough to donate to the project as well.

Presumably it results from Google's own increased adoption of Rust. Hopefully, it will lead to Google Cloud providing Cloud Client libraries in Rust too ;-)

We certainly hope so too!  :)
 
Small gripe: that you are only soliciting adopters who are corporate developers (with a "company" and a "role/title")

That was not our intent.  Feel free to enter anything into these fields that you feel is appropriate.  (E.g. "independent" and "developer".)

On Wed, Apr 17, 2024 at 2:59 PM Amelia <ame...@tortie.io> wrote:
I'm very excited for this! Is the idea to replace tonic? Fork it? Will you be working together with the protobuf team as they implement native rust support (https://github.com/protocolbuffers/protobuf/tree/main/rust)? Will the official gRPC implementation include support for common ecosystem packages like tower?

As mentioned above, the goal is ultimately to replace the channel and server parts, since there are some API changes that will be needed in order to bring in the complete gRPC feature set.  We're still very early in design, so it's unclear exactly how all of it will look.  Using tower, specifically, seems to involve some trade-offs and I'm not yet ready to commit either way until I understand them more.

Thanks,
Doug

Ђорђе Милановић

unread,
May 28, 2024, 12:21:36 PM5/28/24
to grpc.io
Hi team,

could you provide an estimate on when the official library might be ready for the release? 
Understanding the timeline would really help with our project planning. 

Thanks, in advance!
Djordje Milanovic

Martin Charles

unread,
Jun 17, 2024, 5:47:02 AM6/17/24
to grpc.io
Hey all,

Doug, could you please say a bit more about your plans and the value you plan to bring here? I'm skeptical of Google being involved here with the intent of consuming the tonic project. Based on the quality of the protobuf libraries in Python and Node, I'm skeptical Google has the bandwidth to care and it's unclear what benefit Google capturing this library brings the community. If Google has complex features Google needs, why should the community deal with the complexity of Google use cases? I'd like to hear this message from the tonic maintainers rather than some guy at Google.

Martin Charles

unread,
Jun 17, 2024, 5:54:45 AM6/17/24
to grpc.io
I realized my premise was incorrect, this project isn't replacing tonic or prost. Good luck with your project!

Jan Berktold

unread,
Jun 25, 2024, 3:44:02 PM6/25/24
to grpc.io
This is great to hear! Will this project also be exclusively based on tokio or usable with other async runtimes as well?

On Wednesday, April 3, 2024 at 12:46:58 PM UTC-7 Doug Fawley wrote:

Ivan Georgiev

unread,
Oct 1, 2024, 12:52:38 PM10/1/24
to grpc.io
Excellent. Nice to hear that you guys are working to add this. I've been waiting for it for quite some time now. Thanks.

Antonin GAVREL

unread,
Nov 11, 2024, 12:00:37 PM11/11/24
to grpc.io
Thanks a lot for this initiative!

Eduard Knyshov

unread,
Nov 12, 2024, 9:53:19 AM11/12/24
to grpc.io
This is great news. Are there any details on timeline yet?

Spencer Bartholomew

unread,
Nov 25, 2024, 12:47:17 PM11/25/24
to grpc.io
Here is the proposed timeline

https://youtu.be/ux1xoUR9Xm8?t=575

Chris B

unread,
Jan 31, 2025, 11:56:03 AMJan 31
to grpc.io
Is Google still working on this? Found no news nor updates...

Balu Pamidipati

unread,
Apr 22, 2025, 8:48:53 AMApr 22
to grpc.io
Does grpc-rust with flatbuffers is supported ?
I would like to use flatbuffers instead of protobuf in rust based projects.
Anyone knows, when the generator would be available ?

Samuel Girma

unread,
Jul 11, 2025, 11:54:44 AMJul 11
to grpc.io
Hi Doug, is there any status update on the native Rust implementation of gRPC ? Or is it drooped or still on your teams radar ? thanks

Frédéric Martinsons

unread,
Jul 11, 2025, 1:38:42 PMJul 11
to Samuel Girma, grpc.io
Hey, this post just to say that I'm willing to know more too about this project progress. 
I used tonic crate two years ago and got no blocking issues using it (great software) so I'm craving to know the progress of that and new features. Is this stalled? 

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/grpc-io/a64b1f21-20f6-4e1b-b27e-fb465ebcebb2n%40googlegroups.com.

dfa...@google.com

unread,
Jul 15, 2025, 5:10:18 PMJul 15
to grpc.io
We are still working in earnest on the gRPC-Rust implementation.  We expect to have a demo at gRPConf next month and will also be covering it at our upcoming meetup.  And if you are interested in technical details, you can follow our progress in the current Tonic repo issues/PRs.

Cathy Zhao

unread,
Jul 18, 2025, 3:15:11 PMJul 18
to grpc.io
Hey all,

Just as Doug mentioned above, we have a meetup specifically for gRPC-Rust on July 28th. Doug and I will go over our progress so far and our overall plan for gRPC-Rust. It's a great chance to learn about gRPC-Rust before our official demo at gRPConf. Register here.

Best,
Cathy

Reply all
Reply to author
Forward
0 new messages