Clone this repo:
  1. ba65ab8 Trim `known_shas.bzl` and resolve the rest from channel manifests (#4403) by UebelAndre · 19 hours ago upstream/main
  2. 47c57b2 Fetch each component of a Rust release on demand (#4397) by UebelAndre · 25 hours ago
  3. d08ddac Split rustdoc and clippy out of `rust_toolchain` (#4354) by UebelAndre · 3 days ago
  4. c26c2c6 Add missing auth to downloads (#4383) by Fabian Brandstetter · 3 days ago
  5. 2f983ab Migrate allocator_library_test.bzl to rules_testing (#4374) by Taylor Edwards · 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.