blob: 8f5e216a65db2de243f7a76abe62e753aeb38d24 [file] [view]
# Developing crate_universe examples
## Bootstrapping
Crate Universe examples require a bootstrapping process the first time
`rules_rust` is checked out. To setup the examples, run the following
bazel commands:
```shell
bazel run //vendor_remote_manifests:crates_vendor_manifests
bazel run //vendor_remote_pkgs:crates_vendor_pkgs
```
## Repinning/Updating Dependencies
After bootstrapping, Bazel lockfiles can be regenerated by running the following:
```shell
CARGO_BAZEL_REPIN=1 bazel test //...
```
For more information on repinning, see: https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies