commit | 4f9b17877aa5265792a0a7e95504309244c933b0 | [log] [tgz] |
---|---|---|
author | Matt <msta@google.com> | Thu Jan 04 00:53:22 2024 +1100 |
committer | GitHub <noreply@github.com> | Wed Jan 03 13:53:22 2024 +0000 |
tree | 1469b9c7badc925884223e454e18a2fa5fd5bd5d | |
parent | 597b4bcc4951a654a887cff6de1974ac3445ed56 [diff] |
Support third party crates with bzlmod (#1910) This PR adds bzlmod support for third party crates via rules_rust. It only adds some subset of crate_universe's features. Specifically, it supports: * Using a Cargo.toml and Cargo.lock file as the source of truth for dependencies. * Automatically generating build targets for your referenced dependencies in Cargo.toml. * One repo per Cargo.toml / Cargo.lock, to namespace and prevent implicit dependencies. Out of scope of this PR is: * Vendoring deps * all_crate_deps or similar * annotations
This repository provides rules for building Rust projects with Bazel.
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.