)]}'
{
  "commit": "1dac1296812e2b5d1d953497de6efd1f83903bbf",
  "tree": "705eaaf42a0379c107adceb30813f23107c9875f",
  "parents": [
    "36ef58510ee8361ee4f8f65aac51e061c45fa9d6"
  ],
  "author": {
    "name": "UebelAndre",
    "email": "github@uebelandre.com",
    "time": "Mon Nov 23 22:04:24 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 23 22:04:24 2026 +0000"
  },
  "message": "crate_universe: keep the bootstrap\u0027s build cache across rebuilds (#4453)\n\nThis change gives `@cargo_bazel_bootstrap` a build cache. `cargo-bazel`\nis built from source with Cargo whenever this rules_rust has no prebuilt\nbinary, and the repository was rebuilt from nothing each time one of its\ninputs changed, a repin of `crate_universe/Cargo.lock` included, which\ntook half a minute per rebuild. Cargo\u0027s target directory now lives in\n`@cargo_bazel_bootstrap_cache`, a repository with no inputs that Bazel\nnever refetches, so a rebuild recompiles what changed: a touched source\nfile rebuilds in under a second. The cache is private to\n`crate_universe`; `cargo_bootstrap_repository` gains a `cache` attribute\nto name it.\n\nThe bootstrap also prints a notice when it runs, since building the\ngenerator from source is only expected of rules_rust itself: releases\nship a binary, and `CARGO_BAZEL_GENERATOR_URL` names one to use instead.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d32b39d412e70e28f06cb4ba9774c1d2672f304e",
      "old_mode": 33188,
      "old_path": "cargo/private/cargo_bootstrap.bzl",
      "new_id": "c2a3b84e09f7d26076be445c7051e7177b4998a4",
      "new_mode": 33188,
      "new_path": "cargo/private/cargo_bootstrap.bzl"
    },
    {
      "type": "modify",
      "old_id": "5868d08e80e6555f11226e5b1a66bed8a8e4d9d5",
      "old_mode": 33188,
      "old_path": "crate_universe/extensions.bzl",
      "new_id": "6901215574e798466aea0bd62810395cf6b6067c",
      "new_mode": 33188,
      "new_path": "crate_universe/extensions.bzl"
    },
    {
      "type": "modify",
      "old_id": "f9642198a554704de1214db5b35c178227a18134",
      "old_mode": 33188,
      "old_path": "crate_universe/private/bootstrap_utils.bzl",
      "new_id": "3a01115c54c2e71f268a74075754e61dea6e202c",
      "new_mode": 33188,
      "new_path": "crate_universe/private/bootstrap_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "dd686e588d3273fa7af0dd5b8cd34baebd9aab9d",
      "old_mode": 33188,
      "old_path": "crate_universe/private/generate_utils.bzl",
      "new_id": "8993fe5ea8bd734e131f871b7cc85e3ae6c20e15",
      "new_mode": 33188,
      "new_path": "crate_universe/private/generate_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "bc9326de2214d4207dec13889d65bf908b785210",
      "old_mode": 33188,
      "old_path": "crate_universe/private/internal_extensions.bzl",
      "new_id": "34f899c9cf3768fc8917ef176d988d3a0f382632",
      "new_mode": 33188,
      "new_path": "crate_universe/private/internal_extensions.bzl"
    }
  ]
}
