GitPedia

Rules rust

Rust rules for Bazel

From bazelbuild·Updated June 15, 2026·View on GitHub·

This repository provides rules for building [Rust](https://www.rust-lang.org/) projects with [Bazel](https://bazel.build/). The project is written primarily in Starlark, distributed under the Apache License 2.0 license, first published in 2016. Key topics include: bazel, bazel-rules, rust, rust-lang, rustdoc.

Latest release: 0.70.0
April 22, 2026View Changelog →

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

<!-- TODO: Render generated docs on the github pages site again, https://bazelbuild.github.io/rules_rust/ -->

Please refer to the full documentation.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from bazelbuild/rules_rust via the GitHub API.Last fetched: 6/16/2026