commit | 00a4bfb555fd004abacf267874866c7c6d0869ff | [log] [tgz] |
---|---|---|
author | David Zbarsky <dzbarsky@gmail.com> | Tue Mar 26 09:44:55 2024 -0400 |
committer | GitHub <noreply@github.com> | Tue Mar 26 13:44:55 2024 +0000 |
tree | 353ad98a1cb66a40c7478b54f31ad978543133e3 | |
parent | 5ded5748dc748df47e22e8c5a854b45d20d57f5b [diff] |
Allow a no-cargo setup for bzlmod (#2565) Usage looks like so: ``` crate = use_extension("@rules_rust//crate_universe:extension.bzl", "crate") crate.spec(package = "anyhow", version = "1.0.77") .... crate.from_specs(name = "crates") ``` It might make sense to merge the annotation attributes into the spec so we don't have to duplicate things, but we can probably iterate on this in the future, this API is still experimental, yeah?
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.