1# Developing crate_universe examples 2 3## Bootstrapping 4 5Crate Universe examples require a bootstrapping process the first time 6`rules_rust` is checked out. To setup the examples, run the following 7bazel commands: 8 9```shell 10bazel run //vendor_external:crates_vendor 11bazel run //vendor_local_manifests:crates_vendor 12bazel run //vendor_local_pkgs:crates_vendor 13bazel run //vendor_remote_manifests:crates_vendor 14bazel run //vendor_remote_pkgs:crates_vendor 15``` 16 17## Repinning/Updating Dependencies 18 19After bootstrapping, Bazel lockfiles can be regenerated by running the following: 20 21```shell 22CARGO_BAZEL_REPIN=1 bazel test //... 23``` 24 25For more information on repinning, see: https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies 26 27