rules-proto-grpc / rules_proto_grpc

Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
https://rules-proto-grpc.com
Apache License 2.0
256 stars 159 forks source link

How to build a Cargo crate? #287

Closed D4-Ramirez closed 1 year ago

D4-Ramirez commented 1 year ago

Description

Today, I was building a rust_tonic_grpc_library, and I realized that this type of rule doesn’t generate a cargo crate; instead, it generates a .rlib file.

I want to know if there’s a way to build a crate with this rule. If there is, how can I automate the process?