bazelbuild / bazelbuild/rules_rust

FR: Specifying crate dependencies for rust_prost_library

Open
#2,831 1 comment 1 reaction 0 assignees View on GitHub
needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

I'd like to use the `prost_opts` attribute of the `rust_prost_toolchain` rule to add custom attributes to the generated structs. This works, but unfortunately I can't find a way to add the respective proc macros as a dependency to `rust_prost_library`. `rust_proto_library` seems to have `rust_deps` for this purpose, could we get the same for `rust_prost_library`?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.