# {version} | |
```python | |
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
http_archive( | |
name = "rules_rust", | |
sha256 = "{sha256}", | |
urls = [ | |
"https://mirror.bazel.build/github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust-v{version}.tar.gz", | |
"https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust-v{version}.tar.gz", | |
], | |
) | |
``` | |
Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup |