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

Protobuf rules using Tonic #478

Closed
tvolk131 opened this issue Nov 5, 2020 · 3 comments · Fixed by #2033
Closed

Protobuf rules using Tonic #478

tvolk131 opened this issue Nov 5, 2020 · 3 comments · Fixed by #2033

Comments

@tvolk131
Copy link

tvolk131 commented Nov 5, 2020

I'm looking into porting one of my Rust projects over to Bazel. It uses Protobuf/gRPC, however it is built on Tonic rather than stepancheg's Protobuf/gRPC libraries which are used in the existing proto rules. I've used both and I personally much prefer Tonic, as it generates cleaner and simpler Protobuf objects, the gRPC stubs use async/await, and the whole library is an integrated part of the Tokio stack. It'd be really nice to have separate rules for Tonic. Something like rust_tonic_library.

@dfreese
Copy link
Collaborator

dfreese commented Nov 5, 2020

I put up an very WIP attempt to integrate what my team uses into rules_rust here: #479

I, unfortunately, haven't had the time to knock out the details on that.

@UebelAndre
Copy link
Collaborator

There's another (updated) PR for #595

@simonfong6
Copy link

I'm trying to port a Tonic/Tokio project from crates to Bazel as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants