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
249 stars 156 forks source link

How to build a Cargo crate? #287

Closed D4-Ramirez closed 10 months ago

D4-Ramirez commented 10 months 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?