Clone this repo:
  1. 5f04c8c Add `cargo_build_script.use_cc_toolchain` (#4161) by UebelAndre · 19 hours ago upstream/main
  2. 0c5c01d deprecate force_all_deps_direct in favor of extra_named_deps (#4160) by Krasimir Georgiev · 2 days ago
  3. e65f64b add a docstring for _get_crate_root_path (no functional changes intended) (#4162) by Krasimir Georgiev · 2 days ago
  4. 9c1dcbb Fix NoneType error in rustdoc (#4159) by UebelAndre · 3 days ago
  5. a700d1a Add `root_path` attribute for directory crate roots (#4142) by Krasimir Georgiev · 4 days ago

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Starter repo

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.

Community

General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.

Documentation

Please refer to the full documentation.