1# {version} 2 3## Bzlmod 4 5```python 6bazel_dep(name = "rules_rust", version = "{version}") 7``` 8 9## WORKSPACE 10 11```python 12load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 13http_archive( 14 name = "rules_rust", 15 integrity = "sha256-{sha256_base64}", 16 urls = ["https://github.com/bazelbuild/rules_rust/releases/download/{version}/rules_rust-v{version}.tar.gz"], 17) 18``` 19 20Additional documentation can be found at: https://bazelbuild.github.io/rules_rust/#setup 21