crate_universe: scope annotations to their module, and the root's to every module (#4458) This change documents and enforces that an annotation without `repositories` applies to the repositories of the module declaring it, and that the root module's reach every repository of every module, so the root decides how a crate is built wherever a dependency resolved it. Named `repositories` narrow an annotation to repositories of the declaring module and fail when it defines no such repository. A dependency module cannot annotate another module's repositories.
This repository provides rules for building Rust projects with Bazel.
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/rust.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.