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

16
third_party/BUILD vendored Normal file
View File

@@ -0,0 +1,16 @@
load("@rules_rust//crate_universe:defs.bzl", "crates_vendor")
sh_binary(
name = "bazel_for_cargo_bazel",
srcs = ["bazel-for-cargo-bazel.sh"],
)
crates_vendor(
name = "vendor_crates",
bazel = ":bazel_for_cargo_bazel",
cargo_lockfile = "//:Cargo.lock",
manifests = ["//:Cargo.toml"],
mode = "local",
tags = ["manual"],
vendor_path = "crates",
)