• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_remote_manifests:crates_vendor
11bazel run //vendor_remote_pkgs:crates_vendor
12```
13
14## Repinning/Updating Dependencies
15
16After bootstrapping, Bazel lockfiles can be regenerated by running the following:
17
18```shell
19CARGO_BAZEL_REPIN=1 bazel test //...
20```
21
22For more information on repinning, see: https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies
23