This directory contains the lock files for the Rust dependencies.
xxx.Cargo.lock
: This file is generated bycargo
, but we generate it withbazel
to make therules_rust
happy.xxx.lock
: This file is generated bybazel
and is used byrules_rust
for reproducibility.
For more information on how to repin the dependencies, please check out the rules_rust.
crates="atc_router_crate_index"
CARGO_BAZEL_REPIN=1 CARGO_BAZEL_REPIN_ONLY=$crates bazel sync --only=$crates
unset crates
set -l crates \
atc_router_crate_index
CARGO_BAZEL_REPIN=1 CARGO_BAZEL_REPIN_ONLY=$(string join ',' $crates) bazel sync --only=$(string join ',' $crates)
set -e crates