tree: 1ba0b9b29e9715feae4b52c491e9840621eea164 [path history] [tgz]
  1. BUILD.bazel
  2. Cargo.lock
  3. Cargo.toml
  4. README.md
third_party/rust/README.md

Rust dependency management

Dependencies are defined in Cargo.toml. Dependency syncing and updating is done in the repository rule which means it’s done during the analysis phase of builds.

To render a new lock file:

$ CARGO_BAZEL_REPIN=1 bazel sync

For more information on the process, consult the official rules_rust/crate_universe documentation.