build: vendor Rust crate dependencies

This commit is contained in:
2026-08-31 18:38:07 -04:00
parent 97cca46f4e
commit b20e9c90ce
70 changed files with 7920 additions and 11 deletions

17
third_party/bazel-for-cargo-bazel.sh vendored Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
is_info=false
for argument in "$@"; do
if [[ "$argument" == "info" ]]; then
is_info=true
break
fi
done
if $is_info; then
bazel "$@" | sed -E \
's/^release: release ([0-9]+\.[0-9]+\.[0-9]+).*/release: \1/'
else
exec bazel "$@"
fi