diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 38f1404c..90c1e6d9 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -92,210 +92,6 @@ }, "selectedYankedVersions": {}, "moduleExtensions": { - "//bazel:extensions.bzl%crates_deps": { - "general": { - "bzlTransitiveDigest": "6M1ZxizOavNIHDCcGW+dQBBHdHs9+iWuqpLWhpA1my4=", - "usagesDigest": "V25Xq0MoMZUUqQc3SjC+T54x7+T0ogcA8LKGxmp7Z8o=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "crates_vendor": { - "bzlFile": "@@rules_rust~//crate_universe/private:crates_vendor.bzl", - "ruleClassName": "crates_vendor_remote_repository", - "attributes": { - "build_file": "@@//bazel/cargo/remote:BUILD.bazel", - "defs_module": "@@//bazel/cargo/remote:defs.bzl" - } - }, - "crates_vendor__allocator-api2-0.2.21": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/allocator-api2/0.2.21/download" - ], - "strip_prefix": "allocator-api2-0.2.21", - "build_file": "@@//bazel/cargo/remote:BUILD.allocator-api2-0.2.21.bazel" - } - }, - "crates_vendor__equivalent-1.0.2": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/equivalent/1.0.2/download" - ], - "strip_prefix": "equivalent-1.0.2", - "build_file": "@@//bazel/cargo/remote:BUILD.equivalent-1.0.2.bazel" - } - }, - "crates_vendor__foldhash-0.2.0": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/foldhash/0.2.0/download" - ], - "strip_prefix": "foldhash-0.2.0", - "build_file": "@@//bazel/cargo/remote:BUILD.foldhash-0.2.0.bazel" - } - }, - "crates_vendor__hashbrown-0.16.0": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/hashbrown/0.16.0/download" - ], - "strip_prefix": "hashbrown-0.16.0", - "build_file": "@@//bazel/cargo/remote:BUILD.hashbrown-0.16.0.bazel" - } - }, - "crates_vendor__log-0.4.27": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/log/0.4.27/download" - ], - "strip_prefix": "log-0.4.27", - "build_file": "@@//bazel/cargo/remote:BUILD.log-0.4.27.bazel" - } - }, - "crates_vendor__mockalloc-0.1.2": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "5a6c93486116b2ab028d2a2c5f5ff42020407d1c7048b77ca0b196a511a12a94", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/mockalloc/0.1.2/download" - ], - "strip_prefix": "mockalloc-0.1.2", - "build_file": "@@//bazel/cargo/remote:BUILD.mockalloc-0.1.2.bazel" - } - }, - "crates_vendor__mockalloc-macros-0.1.0": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "23565dcdaedab64115f722c31d84e5bdb7125724097dcafce160a64806d6fb65", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/mockalloc-macros/0.1.0/download" - ], - "strip_prefix": "mockalloc-macros-0.1.0", - "build_file": "@@//bazel/cargo/remote:BUILD.mockalloc-macros-0.1.0.bazel" - } - }, - "crates_vendor__proc-macro2-1.0.101": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/proc-macro2/1.0.101/download" - ], - "strip_prefix": "proc-macro2-1.0.101", - "build_file": "@@//bazel/cargo/remote:BUILD.proc-macro2-1.0.101.bazel" - } - }, - "crates_vendor__quote-1.0.41": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/quote/1.0.41/download" - ], - "strip_prefix": "quote-1.0.41", - "build_file": "@@//bazel/cargo/remote:BUILD.quote-1.0.41.bazel" - } - }, - "crates_vendor__syn-1.0.109": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/syn/1.0.109/download" - ], - "strip_prefix": "syn-1.0.109", - "build_file": "@@//bazel/cargo/remote:BUILD.syn-1.0.109.bazel" - } - }, - "crates_vendor__unicode-ident-1.0.19": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d", - "type": "tar.gz", - "urls": [ - "https://static.crates.io/crates/unicode-ident/1.0.19/download" - ], - "strip_prefix": "unicode-ident-1.0.19", - "build_file": "@@//bazel/cargo/remote:BUILD.unicode-ident-1.0.19.bazel" - } - } - }, - "moduleExtensionMetadata": { - "explicitRootModuleDirectDeps": [ - "crates_vendor", - "crates_vendor__hashbrown-0.16.0", - "crates_vendor__log-0.4.27" - ], - "explicitRootModuleDirectDevDeps": [], - "useAllRepos": "NO", - "reproducible": false - }, - "recordedRepoMappingEntries": [ - [ - "", - "bazel_skylib", - "bazel_skylib~" - ], - [ - "", - "bazel_tools", - "bazel_tools" - ], - [ - "", - "crates_vendor", - "_main~crates_deps~crates_vendor" - ], - [ - "", - "proxy_wasm_rust_sdk", - "" - ], - [ - "", - "rules_rust", - "rules_rust~" - ], - [ - "rules_rust~", - "bazel_tools", - "bazel_tools" - ] - ] - } - }, "@@rules_jvm_external~//:extensions.bzl%maven": { "general": { "bzlTransitiveDigest": "eI1Szaegyzw2MWHALfn87WmqY6oWSpWLnI2zfxLBi0s=", diff --git a/bazel/extensions.bzl b/bazel/extensions.bzl index b0512bda..1c58d2f1 100644 --- a/bazel/extensions.bzl +++ b/bazel/extensions.bzl @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +load("@bazel_features//:features.bzl", "bazel_features") load("@proxy_wasm_rust_sdk//bazel/cargo/remote:crates.bzl", "crate_repositories") def _crates_deps_impl(module_ctx): @@ -21,6 +22,7 @@ def _crates_deps_impl(module_ctx): deps.append(repo.repo) return module_ctx.extension_metadata( + reproducible = bazel_features.external_deps.extension_metadata_has_reproducible, root_module_direct_deps = deps, root_module_direct_dev_deps = [], )