metropolis/node/abloader: Update to uefi 0.35.0 and prost 0.14.1
Change-Id: I8e81056621c465173cb8416f01c37a46ed65fc28
Reviewed-on: https://review.monogon.dev/c/monogon/+/4377
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
Tested-by: Jenkins CI
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
index ca91e77..0a27304 100644
--- a/MODULE.bazel.lock
+++ b/MODULE.bazel.lock
@@ -1436,8 +1436,8 @@
"recordedFileInputs": {
"@@//third_party/rust/Cargo.lock": "fa9d7f659ffbfb7f5554de4a7e653d3bd900f0a75b22ef4c0853b98c6ede5548",
"@@//third_party/rust/Cargo.toml": "80205d11f8d92249818db93fb7d02108d4385cc82d5973b9e0bb7f11743fe367",
- "@@//third_party/rust_efi/Cargo.lock": "d89367eaaf57c3e272397222df650c476642d984bf877781bacbece893ea95f1",
- "@@//third_party/rust_efi/Cargo.toml": "cf5ab6a5b23bc0cd75f0b88f99d7f407363ee0129cab02d7dd0abc194e5a4ea0"
+ "@@//third_party/rust_efi/Cargo.lock": "40d889c0c044e1b54d91dfe02dbbc3425cffa065ea5b48cecf3265e087ee4302",
+ "@@//third_party/rust_efi/Cargo.toml": "2a59b45efe33f8865b932ea56d80c76ea5a4ce1a3cf891ca3023fcc343454776"
},
"recordedDirentsInputs": {},
"envVariables": {
@@ -2248,9 +2248,9 @@
"repoRuleId": "@@rules_rust+//crate_universe:extensions.bzl%_generate_repo",
"attributes": {
"contents": {
- "BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files(\n [\n \"cargo-bazel.json\",\n \"crates.bzl\",\n \"defs.bzl\",\n ] + glob(\n allow_empty = True,\n include = [\"*.bazel\"],\n ),\n)\n\nfilegroup(\n name = \"srcs\",\n srcs = glob(\n allow_empty = True,\n include = [\n \"*.bazel\",\n \"*.bzl\",\n ],\n ),\n)\n\n# Workspace Member Dependencies\nalias(\n name = \"prost-0.12.1\",\n actual = \"@crate_index_efi__prost-0.12.1//:prost\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost\",\n actual = \"@crate_index_efi__prost-0.12.1//:prost\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-types-0.12.1\",\n actual = \"@crate_index_efi__prost-types-0.12.1//:prost_types\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-types\",\n actual = \"@crate_index_efi__prost-types-0.12.1//:prost_types\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi-0.24.0\",\n actual = \"@crate_index_efi__uefi-0.24.0//:uefi\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi\",\n actual = \"@crate_index_efi__uefi-0.24.0//:uefi\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi-services-0.21.0\",\n actual = \"@crate_index_efi__uefi-services-0.21.0//:uefi_services\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi-services\",\n actual = \"@crate_index_efi__uefi-services-0.21.0//:uefi_services\",\n tags = [\"manual\"],\n)\n",
+ "BUILD.bazel": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files(\n [\n \"cargo-bazel.json\",\n \"crates.bzl\",\n \"defs.bzl\",\n ] + glob(\n allow_empty = True,\n include = [\"*.bazel\"],\n ),\n)\n\nfilegroup(\n name = \"srcs\",\n srcs = glob(\n allow_empty = True,\n include = [\n \"*.bazel\",\n \"*.bzl\",\n ],\n ),\n)\n\n# Workspace Member Dependencies\nalias(\n name = \"prost-0.14.1\",\n actual = \"@crate_index_efi__prost-0.14.1//:prost\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost\",\n actual = \"@crate_index_efi__prost-0.14.1//:prost\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-derive-0.14.1\",\n actual = \"@crate_index_efi__prost-derive-0.14.1//:prost_derive\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-derive\",\n actual = \"@crate_index_efi__prost-derive-0.14.1//:prost_derive\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-types-0.14.1\",\n actual = \"@crate_index_efi__prost-types-0.14.1//:prost_types\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"prost-types\",\n actual = \"@crate_index_efi__prost-types-0.14.1//:prost_types\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi-0.35.0\",\n actual = \"@crate_index_efi__uefi-0.35.0//:uefi\",\n tags = [\"manual\"],\n)\n\nalias(\n name = \"uefi\",\n actual = \"@crate_index_efi__uefi-0.35.0//:uefi\",\n tags = [\"manual\"],\n)\n",
"alias_rules.bzl": "\"\"\"Alias that transitions its target to `compilation_mode=opt`. Use `transition_alias=\"opt\"` to enable.\"\"\"\n\nload(\"@rules_cc//cc:defs.bzl\", \"CcInfo\")\nload(\"@rules_rust//rust:rust_common.bzl\", \"COMMON_PROVIDERS\")\n\ndef _transition_alias_impl(ctx):\n # `ctx.attr.actual` is a list of 1 item due to the transition\n providers = [ctx.attr.actual[0][provider] for provider in COMMON_PROVIDERS]\n if CcInfo in ctx.attr.actual[0]:\n providers.append(ctx.attr.actual[0][CcInfo])\n return providers\n\ndef _change_compilation_mode(compilation_mode):\n def _change_compilation_mode_impl(_settings, _attr):\n return {\n \"//command_line_option:compilation_mode\": compilation_mode,\n }\n\n return transition(\n implementation = _change_compilation_mode_impl,\n inputs = [],\n outputs = [\n \"//command_line_option:compilation_mode\",\n ],\n )\n\ndef _transition_alias_rule(compilation_mode):\n return rule(\n implementation = _transition_alias_impl,\n provides = COMMON_PROVIDERS,\n attrs = {\n \"actual\": attr.label(\n mandatory = True,\n doc = \"`rust_library()` target to transition to `compilation_mode=opt`.\",\n providers = COMMON_PROVIDERS,\n cfg = _change_compilation_mode(compilation_mode),\n ),\n \"_allowlist_function_transition\": attr.label(\n default = \"@bazel_tools//tools/allowlists/function_transition_allowlist\",\n ),\n },\n doc = \"Transitions a Rust library crate to the `compilation_mode=opt`.\",\n )\n\ntransition_alias_dbg = _transition_alias_rule(\"dbg\")\ntransition_alias_fastbuild = _transition_alias_rule(\"fastbuild\")\ntransition_alias_opt = _transition_alias_rule(\"opt\")\n",
- "defs.bzl": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\"\"\"\n# `crates_repository` API\n\n- [aliases](#aliases)\n- [crate_deps](#crate_deps)\n- [all_crate_deps](#all_crate_deps)\n- [crate_repositories](#crate_repositories)\n\n\"\"\"\n\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"new_git_repository\")\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nload(\"@bazel_tools//tools/build_defs/repo:utils.bzl\", \"maybe\")\nload(\"@bazel_skylib//lib:selects.bzl\", \"selects\")\nload(\"@rules_rust//crate_universe/private:local_crate_mirror.bzl\", \"local_crate_mirror\")\n\n###############################################################################\n# MACROS API\n###############################################################################\n\n# An identifier that represent common dependencies (unconditional).\n_COMMON_CONDITION = \"\"\n\ndef _flatten_dependency_maps(all_dependency_maps):\n \"\"\"Flatten a list of dependency maps into one dictionary.\n\n Dependency maps have the following structure:\n\n ```python\n DEPENDENCIES_MAP = {\n # The first key in the map is a Bazel package\n # name of the workspace this file is defined in.\n \"workspace_member_package\": {\n\n # Not all dependencies are supported for all platforms.\n # the condition key is the condition required to be true\n # on the host platform.\n \"condition\": {\n\n # An alias to a crate target. # The label of the crate target the\n # Aliases are only crate names. # package name refers to.\n \"package_name\": \"@full//:label\",\n }\n }\n }\n ```\n\n Args:\n all_dependency_maps (list): A list of dicts as described above\n\n Returns:\n dict: A dictionary as described above\n \"\"\"\n dependencies = {}\n\n for workspace_deps_map in all_dependency_maps:\n for pkg_name, conditional_deps_map in workspace_deps_map.items():\n if pkg_name not in dependencies:\n non_frozen_map = dict()\n for key, values in conditional_deps_map.items():\n non_frozen_map.update({key: dict(values.items())})\n dependencies.setdefault(pkg_name, non_frozen_map)\n continue\n\n for condition, deps_map in conditional_deps_map.items():\n # If the condition has not been recorded, do so and continue\n if condition not in dependencies[pkg_name]:\n dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))\n continue\n\n # Alert on any miss-matched dependencies\n inconsistent_entries = []\n for crate_name, crate_label in deps_map.items():\n existing = dependencies[pkg_name][condition].get(crate_name)\n if existing and existing != crate_label:\n inconsistent_entries.append((crate_name, existing, crate_label))\n dependencies[pkg_name][condition].update({crate_name: crate_label})\n\n return dependencies\n\ndef crate_deps(deps, package_name = None):\n \"\"\"Finds the fully qualified label of the requested crates for the package where this macro is called.\n\n Args:\n deps (list): The desired list of crate targets.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()`.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if not deps:\n return []\n\n if package_name == None:\n package_name = native.package_name()\n\n # Join both sets of dependencies\n dependencies = _flatten_dependency_maps([\n _NORMAL_DEPENDENCIES,\n _NORMAL_DEV_DEPENDENCIES,\n _PROC_MACRO_DEPENDENCIES,\n _PROC_MACRO_DEV_DEPENDENCIES,\n _BUILD_DEPENDENCIES,\n _BUILD_PROC_MACRO_DEPENDENCIES,\n ]).pop(package_name, {})\n\n # Combine all conditional packages so we can easily index over a flat list\n # TODO: Perhaps this should actually return select statements and maintain\n # the conditionals of the dependencies\n flat_deps = {}\n for deps_set in dependencies.values():\n for crate_name, crate_label in deps_set.items():\n flat_deps.update({crate_name: crate_label})\n\n missing_crates = []\n crate_targets = []\n for crate_target in deps:\n if crate_target not in flat_deps:\n missing_crates.append(crate_target)\n else:\n crate_targets.append(flat_deps[crate_target])\n\n if missing_crates:\n fail(\"Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`\".format(\n missing_crates,\n package_name,\n dependencies,\n ))\n\n return crate_targets\n\ndef all_crate_deps(\n normal = False, \n normal_dev = False, \n proc_macro = False, \n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Finds the fully qualified label of all requested direct crate dependencies \\\n for the package where this macro is called.\n\n If no parameters are set, all normal dependencies are returned. Setting any one flag will\n otherwise impact the contents of the returned list.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list..\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_dependency_maps = []\n if normal:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n if normal_dev:\n all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)\n if proc_macro:\n all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)\n if proc_macro_dev:\n all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)\n if build:\n all_dependency_maps.append(_BUILD_DEPENDENCIES)\n if build_proc_macro:\n all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)\n\n # Default to always using normal dependencies\n if not all_dependency_maps:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n\n dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)\n\n if not dependencies:\n if dependencies == None:\n fail(\"Tried to get all_crate_deps for package \" + package_name + \" but that package had no Cargo.toml file\")\n else:\n return []\n\n crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())\n for condition, deps in dependencies.items():\n crate_deps += selects.with_or({\n tuple(_CONDITIONS[condition]): deps.values(),\n \"//conditions:default\": [],\n })\n\n return crate_deps\n\ndef aliases(\n normal = False,\n normal_dev = False,\n proc_macro = False,\n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Produces a map of Crate alias names to their original label\n\n If no dependency kinds are specified, `normal` and `proc_macro` are used by default.\n Setting any one flag will otherwise determine the contents of the returned dict.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list..\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n dict: The aliases of all associated packages\n \"\"\"\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_aliases_maps = []\n if normal:\n all_aliases_maps.append(_NORMAL_ALIASES)\n if normal_dev:\n all_aliases_maps.append(_NORMAL_DEV_ALIASES)\n if proc_macro:\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n if proc_macro_dev:\n all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)\n if build:\n all_aliases_maps.append(_BUILD_ALIASES)\n if build_proc_macro:\n all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)\n\n # Default to always using normal aliases\n if not all_aliases_maps:\n all_aliases_maps.append(_NORMAL_ALIASES)\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n\n aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)\n\n if not aliases:\n return dict()\n\n common_items = aliases.pop(_COMMON_CONDITION, {}).items()\n\n # If there are only common items in the dictionary, immediately return them\n if not len(aliases.keys()) == 1:\n return dict(common_items)\n\n # Build a single select statement where each conditional has accounted for the\n # common set of aliases.\n crate_aliases = {\"//conditions:default\": dict(common_items)}\n for condition, deps in aliases.items():\n condition_triples = _CONDITIONS[condition]\n for triple in condition_triples:\n if triple in crate_aliases:\n crate_aliases[triple].update(deps)\n else:\n crate_aliases.update({triple: dict(deps.items() + common_items)})\n\n return select(crate_aliases)\n\n###############################################################################\n# WORKSPACE MEMBER DEPS AND ALIASES\n###############################################################################\n\n_NORMAL_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n _COMMON_CONDITION: {\n \"prost\": Label(\"@crate_index_efi//:prost-0.12.1\"),\n \"prost-types\": Label(\"@crate_index_efi//:prost-types-0.12.1\"),\n \"uefi\": Label(\"@crate_index_efi//:uefi-0.24.0\"),\n \"uefi-services\": Label(\"@crate_index_efi//:uefi-services-0.21.0\"),\n },\n },\n}\n\n\n_NORMAL_ALIASES = {\n \"third_party/rust_efi\": {\n _COMMON_CONDITION: {\n },\n },\n}\n\n\n_NORMAL_DEV_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_NORMAL_DEV_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEV_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEV_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_CONDITIONS = {\n \"aarch64-unknown-uefi\": [\"@rules_rust//rust/platform:aarch64-unknown-uefi\"],\n \"x86_64-unknown-linux-gnu\": [\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\"],\n \"x86_64-unknown-uefi\": [\"@rules_rust//rust/platform:x86_64-unknown-uefi\"],\n}\n\n###############################################################################\n\ndef crate_repositories():\n \"\"\"A macro for defining repositories for all generated crates.\n\n Returns:\n A list of repos visible to the module through the module extension.\n \"\"\"\n maybe(\n http_archive,\n name = \"crate_index_efi__anyhow-1.0.75\",\n sha256 = \"a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/anyhow/1.0.75/download\"],\n strip_prefix = \"anyhow-1.0.75\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.anyhow-1.0.75.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bit_field-0.10.2\",\n sha256 = \"dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bit_field/0.10.2/download\"],\n strip_prefix = \"bit_field-0.10.2\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bit_field-0.10.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bitflags-2.4.0\",\n sha256 = \"b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bitflags/2.4.0/download\"],\n strip_prefix = \"bitflags-2.4.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bitflags-2.4.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bytes-1.5.0\",\n sha256 = \"a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bytes/1.5.0/download\"],\n strip_prefix = \"bytes-1.5.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bytes-1.5.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__cfg-if-1.0.0\",\n sha256 = \"baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/cfg-if/1.0.0/download\"],\n strip_prefix = \"cfg-if-1.0.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.cfg-if-1.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__either-1.9.0\",\n sha256 = \"a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/either/1.9.0/download\"],\n strip_prefix = \"either-1.9.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.either-1.9.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__itertools-0.11.0\",\n sha256 = \"b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/itertools/0.11.0/download\"],\n strip_prefix = \"itertools-0.11.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.itertools-0.11.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__log-0.4.20\",\n sha256 = \"b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/log/0.4.20/download\"],\n strip_prefix = \"log-0.4.20\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.log-0.4.20.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__proc-macro2-1.0.67\",\n sha256 = \"3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/proc-macro2/1.0.67/download\"],\n strip_prefix = \"proc-macro2-1.0.67\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.proc-macro2-1.0.67.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-0.12.1\",\n sha256 = \"f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost/0.12.1/download\"],\n strip_prefix = \"prost-0.12.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-0.12.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-derive-0.12.1\",\n sha256 = \"265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost-derive/0.12.1/download\"],\n strip_prefix = \"prost-derive-0.12.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-derive-0.12.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-types-0.12.1\",\n sha256 = \"e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost-types/0.12.1/download\"],\n strip_prefix = \"prost-types-0.12.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-types-0.12.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ptr_meta-0.2.0\",\n sha256 = \"bcada80daa06c42ed5f48c9a043865edea5dc44cbf9ac009fda3b89526e28607\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ptr_meta/0.2.0/download\"],\n strip_prefix = \"ptr_meta-0.2.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ptr_meta-0.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ptr_meta_derive-0.2.0\",\n sha256 = \"bca9224df2e20e7c5548aeb5f110a0f3b77ef05f8585139b7148b59056168ed2\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ptr_meta_derive/0.2.0/download\"],\n strip_prefix = \"ptr_meta_derive-0.2.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ptr_meta_derive-0.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__quote-1.0.33\",\n sha256 = \"5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/quote/1.0.33/download\"],\n strip_prefix = \"quote-1.0.33\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.quote-1.0.33.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__syn-1.0.109\",\n sha256 = \"72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/syn/1.0.109/download\"],\n strip_prefix = \"syn-1.0.109\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.syn-1.0.109.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__syn-2.0.37\",\n sha256 = \"7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/syn/2.0.37/download\"],\n strip_prefix = \"syn-2.0.37\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.syn-2.0.37.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ucs2-0.3.2\",\n sha256 = \"bad643914094137d475641b6bab89462505316ec2ce70907ad20102d28a79ab8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ucs2/0.3.2/download\"],\n strip_prefix = \"ucs2-0.3.2\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ucs2-0.3.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-0.24.0\",\n sha256 = \"3b63e82686b4bdb0db74f18b2abbd60a0470354fb640aa69e115598d714d0a10\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi/0.24.0/download\"],\n strip_prefix = \"uefi-0.24.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-0.24.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-macros-0.12.0\",\n sha256 = \"023d94ef8e135d068b9a3bd94614ef2610b2b0419ade0a9d8f3501fa9cd08e95\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi-macros/0.12.0/download\"],\n strip_prefix = \"uefi-macros-0.12.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-macros-0.12.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-raw-0.3.0\",\n sha256 = \"62642516099c6441a5f41b0da8486d5fc3515a0603b0fdaea67b31600e22082e\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi-raw/0.3.0/download\"],\n strip_prefix = \"uefi-raw-0.3.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-raw-0.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-services-0.21.0\",\n sha256 = \"44b32954ebbb4be5ebfde0df6699c2091f04e9f9c3762c65f3435dfb1a90a668\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi-services/0.21.0/download\"],\n strip_prefix = \"uefi-services-0.21.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-services-0.21.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uguid-2.2.0\",\n sha256 = \"ab14ea9660d240e7865ce9d54ecdbd1cd9fa5802ae6f4512f093c7907e921533\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uguid/2.2.0/download\"],\n strip_prefix = \"uguid-2.2.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uguid-2.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__unicode-ident-1.0.12\",\n sha256 = \"3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-ident/1.0.12/download\"],\n strip_prefix = \"unicode-ident-1.0.12\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.unicode-ident-1.0.12.bazel\"),\n )\n\n return [\n struct(repo=\"crate_index_efi__prost-0.12.1\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__prost-types-0.12.1\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__uefi-0.24.0\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__uefi-services-0.21.0\", is_dev_dep = False),\n ]\n"
+ "defs.bzl": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\"\"\"\n# `crates_repository` API\n\n- [aliases](#aliases)\n- [crate_deps](#crate_deps)\n- [all_crate_deps](#all_crate_deps)\n- [crate_repositories](#crate_repositories)\n\n\"\"\"\n\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"new_git_repository\")\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nload(\"@bazel_tools//tools/build_defs/repo:utils.bzl\", \"maybe\")\nload(\"@bazel_skylib//lib:selects.bzl\", \"selects\")\nload(\"@rules_rust//crate_universe/private:local_crate_mirror.bzl\", \"local_crate_mirror\")\n\n###############################################################################\n# MACROS API\n###############################################################################\n\n# An identifier that represent common dependencies (unconditional).\n_COMMON_CONDITION = \"\"\n\ndef _flatten_dependency_maps(all_dependency_maps):\n \"\"\"Flatten a list of dependency maps into one dictionary.\n\n Dependency maps have the following structure:\n\n ```python\n DEPENDENCIES_MAP = {\n # The first key in the map is a Bazel package\n # name of the workspace this file is defined in.\n \"workspace_member_package\": {\n\n # Not all dependencies are supported for all platforms.\n # the condition key is the condition required to be true\n # on the host platform.\n \"condition\": {\n\n # An alias to a crate target. # The label of the crate target the\n # Aliases are only crate names. # package name refers to.\n \"package_name\": \"@full//:label\",\n }\n }\n }\n ```\n\n Args:\n all_dependency_maps (list): A list of dicts as described above\n\n Returns:\n dict: A dictionary as described above\n \"\"\"\n dependencies = {}\n\n for workspace_deps_map in all_dependency_maps:\n for pkg_name, conditional_deps_map in workspace_deps_map.items():\n if pkg_name not in dependencies:\n non_frozen_map = dict()\n for key, values in conditional_deps_map.items():\n non_frozen_map.update({key: dict(values.items())})\n dependencies.setdefault(pkg_name, non_frozen_map)\n continue\n\n for condition, deps_map in conditional_deps_map.items():\n # If the condition has not been recorded, do so and continue\n if condition not in dependencies[pkg_name]:\n dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))\n continue\n\n # Alert on any miss-matched dependencies\n inconsistent_entries = []\n for crate_name, crate_label in deps_map.items():\n existing = dependencies[pkg_name][condition].get(crate_name)\n if existing and existing != crate_label:\n inconsistent_entries.append((crate_name, existing, crate_label))\n dependencies[pkg_name][condition].update({crate_name: crate_label})\n\n return dependencies\n\ndef crate_deps(deps, package_name = None):\n \"\"\"Finds the fully qualified label of the requested crates for the package where this macro is called.\n\n Args:\n deps (list): The desired list of crate targets.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()`.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if not deps:\n return []\n\n if package_name == None:\n package_name = native.package_name()\n\n # Join both sets of dependencies\n dependencies = _flatten_dependency_maps([\n _NORMAL_DEPENDENCIES,\n _NORMAL_DEV_DEPENDENCIES,\n _PROC_MACRO_DEPENDENCIES,\n _PROC_MACRO_DEV_DEPENDENCIES,\n _BUILD_DEPENDENCIES,\n _BUILD_PROC_MACRO_DEPENDENCIES,\n ]).pop(package_name, {})\n\n # Combine all conditional packages so we can easily index over a flat list\n # TODO: Perhaps this should actually return select statements and maintain\n # the conditionals of the dependencies\n flat_deps = {}\n for deps_set in dependencies.values():\n for crate_name, crate_label in deps_set.items():\n flat_deps.update({crate_name: crate_label})\n\n missing_crates = []\n crate_targets = []\n for crate_target in deps:\n if crate_target not in flat_deps:\n missing_crates.append(crate_target)\n else:\n crate_targets.append(flat_deps[crate_target])\n\n if missing_crates:\n fail(\"Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`\".format(\n missing_crates,\n package_name,\n dependencies,\n ))\n\n return crate_targets\n\ndef all_crate_deps(\n normal = False, \n normal_dev = False, \n proc_macro = False, \n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Finds the fully qualified label of all requested direct crate dependencies \\\n for the package where this macro is called.\n\n If no parameters are set, all normal dependencies are returned. Setting any one flag will\n otherwise impact the contents of the returned list.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list..\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n list: A list of labels to generated rust targets (str)\n \"\"\"\n\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_dependency_maps = []\n if normal:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n if normal_dev:\n all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)\n if proc_macro:\n all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)\n if proc_macro_dev:\n all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)\n if build:\n all_dependency_maps.append(_BUILD_DEPENDENCIES)\n if build_proc_macro:\n all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)\n\n # Default to always using normal dependencies\n if not all_dependency_maps:\n all_dependency_maps.append(_NORMAL_DEPENDENCIES)\n\n dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)\n\n if not dependencies:\n if dependencies == None:\n fail(\"Tried to get all_crate_deps for package \" + package_name + \" but that package had no Cargo.toml file\")\n else:\n return []\n\n crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())\n for condition, deps in dependencies.items():\n crate_deps += selects.with_or({\n tuple(_CONDITIONS[condition]): deps.values(),\n \"//conditions:default\": [],\n })\n\n return crate_deps\n\ndef aliases(\n normal = False,\n normal_dev = False,\n proc_macro = False,\n proc_macro_dev = False,\n build = False,\n build_proc_macro = False,\n package_name = None):\n \"\"\"Produces a map of Crate alias names to their original label\n\n If no dependency kinds are specified, `normal` and `proc_macro` are used by default.\n Setting any one flag will otherwise determine the contents of the returned dict.\n\n Args:\n normal (bool, optional): If True, normal dependencies are included in the\n output list.\n normal_dev (bool, optional): If True, normal dev dependencies will be\n included in the output list..\n proc_macro (bool, optional): If True, proc_macro dependencies are included\n in the output list.\n proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are\n included in the output list.\n build (bool, optional): If True, build dependencies are included\n in the output list.\n build_proc_macro (bool, optional): If True, build proc_macro dependencies are\n included in the output list.\n package_name (str, optional): The package name of the set of dependencies to look up.\n Defaults to `native.package_name()` when unset.\n\n Returns:\n dict: The aliases of all associated packages\n \"\"\"\n if package_name == None:\n package_name = native.package_name()\n\n # Determine the relevant maps to use\n all_aliases_maps = []\n if normal:\n all_aliases_maps.append(_NORMAL_ALIASES)\n if normal_dev:\n all_aliases_maps.append(_NORMAL_DEV_ALIASES)\n if proc_macro:\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n if proc_macro_dev:\n all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)\n if build:\n all_aliases_maps.append(_BUILD_ALIASES)\n if build_proc_macro:\n all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)\n\n # Default to always using normal aliases\n if not all_aliases_maps:\n all_aliases_maps.append(_NORMAL_ALIASES)\n all_aliases_maps.append(_PROC_MACRO_ALIASES)\n\n aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)\n\n if not aliases:\n return dict()\n\n common_items = aliases.pop(_COMMON_CONDITION, {}).items()\n\n # If there are only common items in the dictionary, immediately return them\n if not len(aliases.keys()) == 1:\n return dict(common_items)\n\n # Build a single select statement where each conditional has accounted for the\n # common set of aliases.\n crate_aliases = {\"//conditions:default\": dict(common_items)}\n for condition, deps in aliases.items():\n condition_triples = _CONDITIONS[condition]\n for triple in condition_triples:\n if triple in crate_aliases:\n crate_aliases[triple].update(deps)\n else:\n crate_aliases.update({triple: dict(deps.items() + common_items)})\n\n return select(crate_aliases)\n\n###############################################################################\n# WORKSPACE MEMBER DEPS AND ALIASES\n###############################################################################\n\n_NORMAL_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n _COMMON_CONDITION: {\n \"prost\": Label(\"@crate_index_efi//:prost-0.14.1\"),\n \"prost-types\": Label(\"@crate_index_efi//:prost-types-0.14.1\"),\n \"uefi\": Label(\"@crate_index_efi//:uefi-0.35.0\"),\n },\n },\n}\n\n\n_NORMAL_ALIASES = {\n \"third_party/rust_efi\": {\n _COMMON_CONDITION: {\n },\n },\n}\n\n\n_NORMAL_DEV_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_NORMAL_DEV_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n _COMMON_CONDITION: {\n \"prost-derive\": Label(\"@crate_index_efi//:prost-derive-0.14.1\"),\n },\n },\n}\n\n\n_PROC_MACRO_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEV_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_PROC_MACRO_DEV_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_DEPENDENCIES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_BUILD_PROC_MACRO_ALIASES = {\n \"third_party/rust_efi\": {\n },\n}\n\n\n_CONDITIONS = {\n \"aarch64-unknown-uefi\": [\"@rules_rust//rust/platform:aarch64-unknown-uefi\"],\n \"x86_64-unknown-linux-gnu\": [\"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\"],\n \"x86_64-unknown-uefi\": [\"@rules_rust//rust/platform:x86_64-unknown-uefi\"],\n}\n\n###############################################################################\n\ndef crate_repositories():\n \"\"\"A macro for defining repositories for all generated crates.\n\n Returns:\n A list of repos visible to the module through the module extension.\n \"\"\"\n maybe(\n http_archive,\n name = \"crate_index_efi__anyhow-1.0.75\",\n sha256 = \"a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/anyhow/1.0.75/download\"],\n strip_prefix = \"anyhow-1.0.75\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.anyhow-1.0.75.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bit_field-0.10.2\",\n sha256 = \"dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bit_field/0.10.2/download\"],\n strip_prefix = \"bit_field-0.10.2\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bit_field-0.10.2.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bitflags-2.4.0\",\n sha256 = \"b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bitflags/2.4.0/download\"],\n strip_prefix = \"bitflags-2.4.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bitflags-2.4.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__bytes-1.5.0\",\n sha256 = \"a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/bytes/1.5.0/download\"],\n strip_prefix = \"bytes-1.5.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.bytes-1.5.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__cfg-if-1.0.0\",\n sha256 = \"baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/cfg-if/1.0.0/download\"],\n strip_prefix = \"cfg-if-1.0.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.cfg-if-1.0.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__either-1.9.0\",\n sha256 = \"a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/either/1.9.0/download\"],\n strip_prefix = \"either-1.9.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.either-1.9.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__itertools-0.11.0\",\n sha256 = \"b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/itertools/0.11.0/download\"],\n strip_prefix = \"itertools-0.11.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.itertools-0.11.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__log-0.4.20\",\n sha256 = \"b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/log/0.4.20/download\"],\n strip_prefix = \"log-0.4.20\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.log-0.4.20.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__proc-macro2-1.0.67\",\n sha256 = \"3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/proc-macro2/1.0.67/download\"],\n strip_prefix = \"proc-macro2-1.0.67\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.proc-macro2-1.0.67.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-0.14.1\",\n sha256 = \"7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost/0.14.1/download\"],\n strip_prefix = \"prost-0.14.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-0.14.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-derive-0.14.1\",\n sha256 = \"9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost-derive/0.14.1/download\"],\n strip_prefix = \"prost-derive-0.14.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-derive-0.14.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__prost-types-0.14.1\",\n sha256 = \"b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/prost-types/0.14.1/download\"],\n strip_prefix = \"prost-types-0.14.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.prost-types-0.14.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ptr_meta-0.3.0\",\n sha256 = \"fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ptr_meta/0.3.0/download\"],\n strip_prefix = \"ptr_meta-0.3.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ptr_meta-0.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ptr_meta_derive-0.3.0\",\n sha256 = \"ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ptr_meta_derive/0.3.0/download\"],\n strip_prefix = \"ptr_meta_derive-0.3.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ptr_meta_derive-0.3.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__quote-1.0.33\",\n sha256 = \"5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/quote/1.0.33/download\"],\n strip_prefix = \"quote-1.0.33\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.quote-1.0.33.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__syn-2.0.37\",\n sha256 = \"7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/syn/2.0.37/download\"],\n strip_prefix = \"syn-2.0.37\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.syn-2.0.37.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__ucs2-0.3.3\",\n sha256 = \"df79298e11f316400c57ec268f3c2c29ac3c4d4777687955cd3d4f3a35ce7eba\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/ucs2/0.3.3/download\"],\n strip_prefix = \"ucs2-0.3.3\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.ucs2-0.3.3.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-0.35.0\",\n sha256 = \"da7569ceafb898907ff764629bac90ac24ba4203c38c33ef79ee88c74aa35b11\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi/0.35.0/download\"],\n strip_prefix = \"uefi-0.35.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-0.35.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-macros-0.18.1\",\n sha256 = \"b3dad47b3af8f99116c0f6d4d669c439487d9aaf1c8d9480d686cda6f3a8aa23\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi-macros/0.18.1/download\"],\n strip_prefix = \"uefi-macros-0.18.1\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-macros-0.18.1.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uefi-raw-0.11.0\",\n sha256 = \"7cad96b8baaf1615d3fdd0f03d04a0b487d857c1b51b19dcbfe05e2e3c447b78\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uefi-raw/0.11.0/download\"],\n strip_prefix = \"uefi-raw-0.11.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uefi-raw-0.11.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__uguid-2.2.0\",\n sha256 = \"ab14ea9660d240e7865ce9d54ecdbd1cd9fa5802ae6f4512f093c7907e921533\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/uguid/2.2.0/download\"],\n strip_prefix = \"uguid-2.2.0\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.uguid-2.2.0.bazel\"),\n )\n\n maybe(\n http_archive,\n name = \"crate_index_efi__unicode-ident-1.0.12\",\n sha256 = \"3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b\",\n type = \"tar.gz\",\n urls = [\"https://static.crates.io/crates/unicode-ident/1.0.12/download\"],\n strip_prefix = \"unicode-ident-1.0.12\",\n build_file = Label(\"@crate_index_efi//crate_index_efi:BUILD.unicode-ident-1.0.12.bazel\"),\n )\n\n return [\n struct(repo=\"crate_index_efi__prost-0.14.1\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__prost-derive-0.14.1\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__prost-types-0.14.1\", is_dev_dep = False),\n struct(repo=\"crate_index_efi__uefi-0.35.0\", is_dev_dep = False),\n ]\n"
}
}
},
@@ -2347,7 +2347,7 @@
"https://static.crates.io/crates/either/1.9.0/download"
],
"strip_prefix": "either-1.9.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"either\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=either\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.9.0\",\n)\n"
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"either\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"use_std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=either\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.9.0\",\n)\n"
}
},
"crate_index_efi__itertools-0.11.0": {
@@ -2363,7 +2363,7 @@
"https://static.crates.io/crates/itertools/0.11.0/download"
],
"strip_prefix": "itertools-0.11.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"itertools\",\n deps = [\n \"@crate_index_efi__either-1.9.0//:either\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"use_alloc\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=itertools\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.11.0\",\n)\n"
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"itertools\",\n deps = [\n \"@crate_index_efi__either-1.9.0//:either\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"use_alloc\",\n \"use_std\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=itertools\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.11.0\",\n)\n"
}
},
"crate_index_efi__log-0.4.20": {
@@ -2398,84 +2398,84 @@
"build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"proc_macro2\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:build_script_build\",\n \"@crate_index_efi__unicode-ident-1.0.12//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=proc-macro2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.67\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n edition = \"2021\",\n pkg_name = \"proc-macro2\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=proc-macro2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.67\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n"
}
},
- "crate_index_efi__prost-0.12.1": {
+ "crate_index_efi__prost-0.14.1": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d",
+ "sha256": "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/prost/0.12.1/download"
+ "https://static.crates.io/crates/prost/0.14.1/download"
],
- "strip_prefix": "prost-0.12.1",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"prost\",\n deps = [\n \"@crate_index_efi__bytes-1.5.0//:bytes\",\n ],\n proc_macro_deps = [\n \"@crate_index_efi__prost-derive-0.12.1//:prost_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"prost-derive\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.1\",\n)\n"
+ "strip_prefix": "prost-0.14.1",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"prost\",\n deps = [\n \"@crate_index_efi__bytes-1.5.0//:bytes\",\n ],\n proc_macro_deps = [\n \"@crate_index_efi__prost-derive-0.14.1//:prost_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"derive\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.1\",\n)\n"
}
},
- "crate_index_efi__prost-derive-0.12.1": {
+ "crate_index_efi__prost-derive-0.14.1": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32",
+ "sha256": "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/prost-derive/0.12.1/download"
+ "https://static.crates.io/crates/prost-derive/0.14.1/download"
],
- "strip_prefix": "prost-derive-0.12.1",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"prost_derive\",\n deps = [\n \"@crate_index_efi__anyhow-1.0.75//:anyhow\",\n \"@crate_index_efi__itertools-0.11.0//:itertools\",\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-2.0.37//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.1\",\n)\n"
+ "strip_prefix": "prost-derive-0.14.1",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"prost_derive\",\n deps = [\n \"@crate_index_efi__anyhow-1.0.75//:anyhow\",\n \"@crate_index_efi__itertools-0.11.0//:itertools\",\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-2.0.37//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost-derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.1\",\n)\n"
}
},
- "crate_index_efi__prost-types-0.12.1": {
+ "crate_index_efi__prost-types-0.14.1": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf",
+ "sha256": "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/prost-types/0.12.1/download"
+ "https://static.crates.io/crates/prost-types/0.14.1/download"
],
- "strip_prefix": "prost-types-0.12.1",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"prost_types\",\n deps = [\n \"@crate_index_efi__prost-0.12.1//:prost\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost-types\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.1\",\n)\n"
+ "strip_prefix": "prost-types-0.14.1",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"prost_types\",\n deps = [\n \"@crate_index_efi__prost-0.14.1//:prost\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=prost-types\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.14.1\",\n)\n"
}
},
- "crate_index_efi__ptr_meta-0.2.0": {
+ "crate_index_efi__ptr_meta-0.3.0": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "bcada80daa06c42ed5f48c9a043865edea5dc44cbf9ac009fda3b89526e28607",
+ "sha256": "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/ptr_meta/0.2.0/download"
+ "https://static.crates.io/crates/ptr_meta/0.3.0/download"
],
- "strip_prefix": "ptr_meta-0.2.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ptr_meta\",\n proc_macro_deps = [\n \"@crate_index_efi__ptr_meta_derive-0.2.0//:ptr_meta_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ptr_meta\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.0\",\n)\n"
+ "strip_prefix": "ptr_meta-0.3.0",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ptr_meta\",\n proc_macro_deps = [\n \"@crate_index_efi__ptr_meta_derive-0.3.0//:ptr_meta_derive\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"derive\",\n \"ptr_meta_derive\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ptr_meta\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.0\",\n)\n"
}
},
- "crate_index_efi__ptr_meta_derive-0.2.0": {
+ "crate_index_efi__ptr_meta_derive-0.3.0": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "bca9224df2e20e7c5548aeb5f110a0f3b77ef05f8585139b7148b59056168ed2",
+ "sha256": "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/ptr_meta_derive/0.2.0/download"
+ "https://static.crates.io/crates/ptr_meta_derive/0.3.0/download"
],
- "strip_prefix": "ptr_meta_derive-0.2.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"ptr_meta_derive\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-1.0.109//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ptr_meta_derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.2.0\",\n)\n"
+ "strip_prefix": "ptr_meta_derive-0.3.0",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"ptr_meta_derive\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-2.0.37//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ptr_meta_derive\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.0\",\n)\n"
}
},
"crate_index_efi__quote-1.0.33": {
@@ -2494,22 +2494,6 @@
"build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"quote\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"proc-macro\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=quote\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.33\",\n)\n"
}
},
- "crate_index_efi__syn-1.0.109": {
- "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
- "attributes": {
- "patch_args": [],
- "patch_tool": "",
- "patches": [],
- "remote_patch_strip": 1,
- "sha256": "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237",
- "type": "tar.gz",
- "urls": [
- "https://static.crates.io/crates/syn/1.0.109/download"
- ],
- "strip_prefix": "syn-1.0.109",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\n \"@rules_rust//cargo:defs.bzl\",\n \"cargo_build_script\",\n \"cargo_toml_env_vars\",\n)\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"syn\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-1.0.109//:build_script_build\",\n \"@crate_index_efi__unicode-ident-1.0.12//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"clone-impls\",\n \"default\",\n \"derive\",\n \"full\",\n \"parsing\",\n \"printing\",\n \"proc-macro\",\n \"quote\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=syn\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"1.0.109\",\n)\n\ncargo_build_script(\n name = \"_bs\",\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \"**/*.rs\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"clone-impls\",\n \"default\",\n \"derive\",\n \"full\",\n \"parsing\",\n \"printing\",\n \"proc-macro\",\n \"quote\",\n ],\n crate_name = \"build_script_build\",\n crate_root = \"build.rs\",\n data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n edition = \"2018\",\n pkg_name = \"syn\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=syn\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n version = \"1.0.109\",\n visibility = [\"//visibility:private\"],\n)\n\nalias(\n name = \"build_script_build\",\n actual = \":_bs\",\n tags = [\"manual\"],\n)\n"
- }
- },
"crate_index_efi__syn-2.0.37": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
@@ -2526,84 +2510,68 @@
"build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"syn\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__unicode-ident-1.0.12//:unicode_ident\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"clone-impls\",\n \"default\",\n \"derive\",\n \"extra-traits\",\n \"full\",\n \"parsing\",\n \"printing\",\n \"proc-macro\",\n \"quote\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=syn\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"2.0.37\",\n)\n"
}
},
- "crate_index_efi__ucs2-0.3.2": {
+ "crate_index_efi__ucs2-0.3.3": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "bad643914094137d475641b6bab89462505316ec2ce70907ad20102d28a79ab8",
+ "sha256": "df79298e11f316400c57ec268f3c2c29ac3c4d4777687955cd3d4f3a35ce7eba",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/ucs2/0.3.2/download"
+ "https://static.crates.io/crates/ucs2/0.3.3/download"
],
- "strip_prefix": "ucs2-0.3.2",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ucs2\",\n deps = [\n \"@crate_index_efi__bit_field-0.10.2//:bit_field\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2018\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ucs2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.2\",\n)\n"
+ "strip_prefix": "ucs2-0.3.3",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"ucs2\",\n deps = [\n \"@crate_index_efi__bit_field-0.10.2//:bit_field\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=ucs2\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.3\",\n)\n"
}
},
- "crate_index_efi__uefi-0.24.0": {
+ "crate_index_efi__uefi-0.35.0": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "3b63e82686b4bdb0db74f18b2abbd60a0470354fb640aa69e115598d714d0a10",
+ "sha256": "da7569ceafb898907ff764629bac90ac24ba4203c38c33ef79ee88c74aa35b11",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/uefi/0.24.0/download"
+ "https://static.crates.io/crates/uefi/0.35.0/download"
],
- "strip_prefix": "uefi-0.24.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"uefi\",\n deps = [\n \"@crate_index_efi__bitflags-2.4.0//:bitflags\",\n \"@crate_index_efi__log-0.4.20//:log\",\n \"@crate_index_efi__ptr_meta-0.2.0//:ptr_meta\",\n \"@crate_index_efi__ucs2-0.3.2//:ucs2\",\n \"@crate_index_efi__uefi-raw-0.3.0//:uefi_raw\",\n \"@crate_index_efi__uguid-2.2.0//:uguid\",\n ],\n proc_macro_deps = [\n \"@crate_index_efi__uefi-macros-0.12.0//:uefi_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"default\",\n \"global_allocator\",\n \"logger\",\n \"panic-on-logger-errors\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.24.0\",\n)\n"
+ "strip_prefix": "uefi-0.35.0",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"uefi\",\n deps = [\n \"@crate_index_efi__bitflags-2.4.0//:bitflags\",\n \"@crate_index_efi__cfg-if-1.0.0//:cfg_if\",\n \"@crate_index_efi__log-0.4.20//:log\",\n \"@crate_index_efi__ptr_meta-0.3.0//:ptr_meta\",\n \"@crate_index_efi__ucs2-0.3.3//:ucs2\",\n \"@crate_index_efi__uefi-raw-0.11.0//:uefi_raw\",\n \"@crate_index_efi__uguid-2.2.0//:uguid\",\n ],\n proc_macro_deps = [\n \"@crate_index_efi__uefi-macros-0.18.1//:uefi_macros\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"alloc\",\n \"global_allocator\",\n \"panic_handler\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.35.0\",\n)\n"
}
},
- "crate_index_efi__uefi-macros-0.12.0": {
+ "crate_index_efi__uefi-macros-0.18.1": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "023d94ef8e135d068b9a3bd94614ef2610b2b0419ade0a9d8f3501fa9cd08e95",
+ "sha256": "b3dad47b3af8f99116c0f6d4d669c439487d9aaf1c8d9480d686cda6f3a8aa23",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/uefi-macros/0.12.0/download"
+ "https://static.crates.io/crates/uefi-macros/0.18.1/download"
],
- "strip_prefix": "uefi-macros-0.12.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"uefi_macros\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-2.0.37//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi-macros\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.12.0\",\n)\n"
+ "strip_prefix": "uefi-macros-0.18.1",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_proc_macro\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_proc_macro(\n name = \"uefi_macros\",\n deps = [\n \"@crate_index_efi__proc-macro2-1.0.67//:proc_macro2\",\n \"@crate_index_efi__quote-1.0.33//:quote\",\n \"@crate_index_efi__syn-2.0.37//:syn\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi-macros\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.18.1\",\n)\n"
}
},
- "crate_index_efi__uefi-raw-0.3.0": {
+ "crate_index_efi__uefi-raw-0.11.0": {
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
"attributes": {
"patch_args": [],
"patch_tool": "",
"patches": [],
"remote_patch_strip": 1,
- "sha256": "62642516099c6441a5f41b0da8486d5fc3515a0603b0fdaea67b31600e22082e",
+ "sha256": "7cad96b8baaf1615d3fdd0f03d04a0b487d857c1b51b19dcbfe05e2e3c447b78",
"type": "tar.gz",
"urls": [
- "https://static.crates.io/crates/uefi-raw/0.3.0/download"
+ "https://static.crates.io/crates/uefi-raw/0.11.0/download"
],
- "strip_prefix": "uefi-raw-0.3.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"uefi_raw\",\n deps = [\n \"@crate_index_efi__bitflags-2.4.0//:bitflags\",\n \"@crate_index_efi__ptr_meta-0.2.0//:ptr_meta\",\n \"@crate_index_efi__uguid-2.2.0//:uguid\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi-raw\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.3.0\",\n)\n"
- }
- },
- "crate_index_efi__uefi-services-0.21.0": {
- "repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
- "attributes": {
- "patch_args": [],
- "patch_tool": "",
- "patches": [],
- "remote_patch_strip": 1,
- "sha256": "44b32954ebbb4be5ebfde0df6699c2091f04e9f9c3762c65f3435dfb1a90a668",
- "type": "tar.gz",
- "urls": [
- "https://static.crates.io/crates/uefi-services/0.21.0/download"
- ],
- "strip_prefix": "uefi-services-0.21.0",
- "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"uefi_services\",\n deps = [\n \"@crate_index_efi__cfg-if-1.0.0//:cfg_if\",\n \"@crate_index_efi__log-0.4.20//:log\",\n \"@crate_index_efi__uefi-0.24.0//:uefi\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_features = [\n \"default\",\n \"logger\",\n \"panic_handler\",\n ],\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi-services\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.21.0\",\n)\n"
+ "strip_prefix": "uefi-raw-0.11.0",
+ "build_file_content": "###############################################################################\n# @generated\n# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To \n# regenerate this file, run the following:\n#\n# bazel mod show_repo ''\n###############################################################################\n\nload(\"@rules_rust//cargo:defs.bzl\", \"cargo_toml_env_vars\")\n\nload(\"@rules_rust//rust:defs.bzl\", \"rust_library\")\n\n# buildifier: disable=bzl-visibility\nload(\"@rules_rust//crate_universe/private:selects.bzl\", \"selects\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\ncargo_toml_env_vars(\n name = \"cargo_toml_env_vars\",\n src = \"Cargo.toml\",\n)\n\nrust_library(\n name = \"uefi_raw\",\n deps = [\n \"@crate_index_efi__bitflags-2.4.0//:bitflags\",\n \"@crate_index_efi__uguid-2.2.0//:uguid\",\n ],\n compile_data = glob(\n allow_empty = True,\n include = [\"**\"],\n exclude = [\n \"**/* *\",\n \".tmp_git_root/**/*\",\n \"BUILD\",\n \"BUILD.bazel\",\n \"WORKSPACE\",\n \"WORKSPACE.bazel\",\n ],\n ),\n crate_root = \"src/lib.rs\",\n edition = \"2021\",\n rustc_env_files = [\n \":cargo_toml_env_vars\",\n ],\n rustc_flags = [\n \"--cap-lints=allow\",\n ],\n srcs = glob(\n allow_empty = True,\n include = [\"**/*.rs\"],\n ),\n tags = [\n \"cargo-bazel\",\n \"crate-name=uefi-raw\",\n \"manual\",\n \"noclippy\",\n \"norustfmt\",\n ],\n target_compatible_with = select({\n \"@rules_rust//rust/platform:aarch64-unknown-uefi\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-linux-gnu\": [],\n \"@rules_rust//rust/platform:x86_64-unknown-uefi\": [],\n \"//conditions:default\": [\"@platforms//:incompatible\"],\n }),\n version = \"0.11.0\",\n)\n"
}
},
"crate_index_efi__uguid-2.2.0": {
diff --git a/metropolis/node/abloader/BUILD.bazel b/metropolis/node/abloader/BUILD.bazel
index 20f26db..e8bd06e 100644
--- a/metropolis/node/abloader/BUILD.bazel
+++ b/metropolis/node/abloader/BUILD.bazel
@@ -21,7 +21,6 @@
"//metropolis/node/abloader/spec:abloader_proto_rs",
"@crate_index_efi//:prost",
"@crate_index_efi//:uefi",
- "@crate_index_efi//:uefi-services",
],
)
diff --git a/metropolis/node/abloader/main.rs b/metropolis/node/abloader/main.rs
index f0f61ee..4389c14 100644
--- a/metropolis/node/abloader/main.rs
+++ b/metropolis/node/abloader/main.rs
@@ -9,16 +9,17 @@
extern crate alloc;
use alloc::vec::Vec;
-use core::result::Result;
use core::fmt;
+use core::result::Result;
use prost::Message;
+use uefi::boot::{self, ScopedProtocol};
use uefi::fs::FileSystem;
use uefi::proto::device_path::build::media::FilePath;
use uefi::proto::device_path::build::DevicePathBuilder;
use uefi::proto::device_path::{DeviceSubType, DeviceType, LoadedImageDevicePath};
-use uefi::table::boot;
+use uefi::proto::media::fs::SimpleFileSystem;
use uefi::{prelude::*, CStr16};
-use uefi_services::println;
+use uefi::println;
use abloader_proto::metropolis::node::abloader::spec::*;
@@ -57,8 +58,8 @@
impl fmt::Display for ReadLoaderStateError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
- ReadLoaderStateError::FSReadError(e) => write!(f, "while reading state file: {}", e),
- ReadLoaderStateError::DecodeError(e) => write!(f, "while decoding state file contents: {}", e),
+ ReadLoaderStateError::FSReadError(e) => write!(f, "while reading state file: {}", e),
+ ReadLoaderStateError::DecodeError(e) => write!(f, "while decoding state file contents: {}", e),
}
}
}
@@ -68,15 +69,15 @@
AbLoaderData::decode(state_raw.as_slice()).map_err(|e| ReadLoaderStateError::DecodeError(e))
}
-fn load_slot_image(slot: &ValidSlot, boot_services: &BootServices) -> uefi::Result<Handle> {
+fn load_slot_image(slot: &ValidSlot) -> uefi::Result<Handle> {
let mut storage = Vec::new();
// Build the path to the slot payload. This takes the path to the loader
// itself, strips off the file path and following element(s) and appends
// the path to the correct slot payload.
let new_image_path = {
- let loaded_image_device_path = boot_services
- .open_protocol_exclusive::<LoadedImageDevicePath>(boot_services.image_handle())?;
+ let loaded_image_device_path =
+ boot::open_protocol_exclusive::<LoadedImageDevicePath>(boot::image_handle())?;
let mut builder = DevicePathBuilder::with_vec(&mut storage);
@@ -97,26 +98,22 @@
builder.finalize().unwrap()
};
- boot_services
- .load_image(
- boot_services.image_handle(),
- boot::LoadImageSource::FromDevicePath {
- device_path: new_image_path,
- from_boot_manager: false,
- },
- )
+ boot::load_image(
+ boot::image_handle(),
+ boot::LoadImageSource::FromDevicePath {
+ device_path: new_image_path,
+ boot_policy: uefi::proto::BootPolicy::ExactMatch,
+ },
+ )
}
#[entry]
-fn main(_handle: Handle, mut system_table: SystemTable<Boot>) -> Status {
- uefi_services::init(&mut system_table).unwrap();
-
- let boot_services = system_table.boot_services();
-
+fn main() -> Status {
let boot_slot_raw = {
- let mut esp_fs = boot_services
- .get_image_file_system(boot_services.image_handle())
- .expect("image filesystem not available");
+ let esp_fs: ScopedProtocol<SimpleFileSystem> =
+ boot::get_image_file_system(boot::image_handle())
+ .expect("image filesystem not available");
+ let mut esp_fs = FileSystem::new(esp_fs);
let mut loader_data = match read_loader_state(&mut esp_fs) {
Ok(d) => d,
@@ -154,11 +151,11 @@
}
};
- let payload_image = match load_slot_image(&boot_slot, boot_services) {
+ let payload_image = match load_slot_image(&boot_slot) {
Ok(img) => img,
Err(e) => {
println!("Error loading intended slot, falling back to other slot: {}", e);
- match load_slot_image(&boot_slot.other(), boot_services) {
+ match load_slot_image(&boot_slot.other()) {
Ok(img) => img,
Err(e) => {
panic!("Loading from both slots failed, second slot error: {}", e);
@@ -168,8 +165,6 @@
};
// Boot the payload.
- boot_services
- .start_image(payload_image)
- .expect("failed to start payload");
+ boot::start_image(payload_image).expect("failed to start payload");
Status::SUCCESS
}
diff --git a/third_party/rust_efi/Cargo.lock b/third_party/rust_efi/Cargo.lock
index 2100129..5290389 100644
--- a/third_party/rust_efi/Cargo.lock
+++ b/third_party/rust_efi/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "anyhow"
@@ -37,9 +37,9 @@
version = "0.0.0"
dependencies = [
"prost",
+ "prost-derive",
"prost-types",
"uefi",
- "uefi-services",
]
[[package]]
@@ -74,9 +74,9 @@
[[package]]
name = "prost"
-version = "0.12.1"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d"
+checksum = "7231bd9b3d3d33c86b58adbac74b5ec0ad9f496b19d22801d773636feaa95f3d"
dependencies = [
"bytes",
"prost-derive",
@@ -84,44 +84,44 @@
[[package]]
name = "prost-derive"
-version = "0.12.1"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32"
+checksum = "9120690fafc389a67ba3803df527d0ec9cbbc9cc45e4cc20b332996dfb672425"
dependencies = [
"anyhow",
"itertools",
"proc-macro2",
"quote",
- "syn 2.0.37",
+ "syn",
]
[[package]]
name = "prost-types"
-version = "0.12.1"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf"
+checksum = "b9b4db3d6da204ed77bb26ba83b6122a73aeb2e87e25fbf7ad2e84c4ccbf8f72"
dependencies = [
"prost",
]
[[package]]
name = "ptr_meta"
-version = "0.2.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bcada80daa06c42ed5f48c9a043865edea5dc44cbf9ac009fda3b89526e28607"
+checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90"
dependencies = [
"ptr_meta_derive",
]
[[package]]
name = "ptr_meta_derive"
-version = "0.2.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bca9224df2e20e7c5548aeb5f110a0f3b77ef05f8585139b7148b59056168ed2"
+checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1"
dependencies = [
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn",
]
[[package]]
@@ -135,17 +135,6 @@
[[package]]
name = "syn"
-version = "1.0.109"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "syn"
version = "2.0.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8"
@@ -157,20 +146,21 @@
[[package]]
name = "ucs2"
-version = "0.3.2"
+version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bad643914094137d475641b6bab89462505316ec2ce70907ad20102d28a79ab8"
+checksum = "df79298e11f316400c57ec268f3c2c29ac3c4d4777687955cd3d4f3a35ce7eba"
dependencies = [
"bit_field",
]
[[package]]
name = "uefi"
-version = "0.24.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b63e82686b4bdb0db74f18b2abbd60a0470354fb640aa69e115598d714d0a10"
+checksum = "da7569ceafb898907ff764629bac90ac24ba4203c38c33ef79ee88c74aa35b11"
dependencies = [
"bitflags",
+ "cfg-if",
"log",
"ptr_meta",
"ucs2",
@@ -181,38 +171,26 @@
[[package]]
name = "uefi-macros"
-version = "0.12.0"
+version = "0.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "023d94ef8e135d068b9a3bd94614ef2610b2b0419ade0a9d8f3501fa9cd08e95"
+checksum = "b3dad47b3af8f99116c0f6d4d669c439487d9aaf1c8d9480d686cda6f3a8aa23"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.37",
+ "syn",
]
[[package]]
name = "uefi-raw"
-version = "0.3.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62642516099c6441a5f41b0da8486d5fc3515a0603b0fdaea67b31600e22082e"
+checksum = "7cad96b8baaf1615d3fdd0f03d04a0b487d857c1b51b19dcbfe05e2e3c447b78"
dependencies = [
"bitflags",
- "ptr_meta",
"uguid",
]
[[package]]
-name = "uefi-services"
-version = "0.21.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44b32954ebbb4be5ebfde0df6699c2091f04e9f9c3762c65f3435dfb1a90a668"
-dependencies = [
- "cfg-if",
- "log",
- "uefi",
-]
-
-[[package]]
name = "uguid"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/third_party/rust_efi/Cargo.toml b/third_party/rust_efi/Cargo.toml
index e288ea6..f2ec72c 100644
--- a/third_party/rust_efi/Cargo.toml
+++ b/third_party/rust_efi/Cargo.toml
@@ -7,8 +7,7 @@
path = "fake_lib.rs"
[dependencies]
-uefi = { version = "0.24.0", features = ["alloc"] }
-uefi-services = "0.21.0"
-prost = { version = "0.12", default-features = false, features = ["prost-derive"] }
-prost-types = { version = "0.12", default-features = false }
-
+uefi = { version = "0.35.0", features = ["alloc", "global_allocator", "panic_handler"], default-features = false }
+prost = { version = "0.14.1", default-features = false }
+prost-derive = { version = "0.14.1", default-features = false }
+prost-types = { version = "0.14.1", default-features = false }