| ############################################################################### | |
| # @generated | |
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To | |
| # regenerate this file, run the following: | |
| # | |
| # bazel run @@//third-party:vendor | |
| ############################################################################### | |
| """ | |
| # `crates_repository` API | |
| - [aliases](#aliases) | |
| - [crate_deps](#crate_deps) | |
| - [all_crate_deps](#all_crate_deps) | |
| - [crate_repositories](#crate_repositories) | |
| """ | |
| load("@bazel_skylib//lib:selects.bzl", "selects") | |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |
| load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") | |
| ############################################################################### | |
| # MACROS API | |
| ############################################################################### | |
| # An identifier that represent common dependencies (unconditional). | |
| _COMMON_CONDITION = "" | |
| def _flatten_dependency_maps(all_dependency_maps): | |
| """Flatten a list of dependency maps into one dictionary. | |
| Dependency maps have the following structure: | |
| ```python | |
| DEPENDENCIES_MAP = { | |
| # The first key in the map is a Bazel package | |
| # name of the workspace this file is defined in. | |
| "workspace_member_package": { | |
| # Not all dependencies are supported for all platforms. | |
| # the condition key is the condition required to be true | |
| # on the host platform. | |
| "condition": { | |
| # An alias to a crate target. # The label of the crate target the | |
| # Aliases are only crate names. # package name refers to. | |
| "package_name": "@full//:label", | |
| } | |
| } | |
| } | |
| ``` | |
| Args: | |
| all_dependency_maps (list): A list of dicts as described above | |
| Returns: | |
| dict: A dictionary as described above | |
| """ | |
| dependencies = {} | |
| for workspace_deps_map in all_dependency_maps: | |
| for pkg_name, conditional_deps_map in workspace_deps_map.items(): | |
| if pkg_name not in dependencies: | |
| non_frozen_map = dict() | |
| for key, values in conditional_deps_map.items(): | |
| non_frozen_map.update({key: dict(values.items())}) | |
| dependencies.setdefault(pkg_name, non_frozen_map) | |
| continue | |
| for condition, deps_map in conditional_deps_map.items(): | |
| # If the condition has not been recorded, do so and continue | |
| if condition not in dependencies[pkg_name]: | |
| dependencies[pkg_name].setdefault(condition, dict(deps_map.items())) | |
| continue | |
| # Alert on any miss-matched dependencies | |
| inconsistent_entries = [] | |
| for crate_name, crate_label in deps_map.items(): | |
| existing = dependencies[pkg_name][condition].get(crate_name) | |
| if existing and existing != crate_label: | |
| inconsistent_entries.append((crate_name, existing, crate_label)) | |
| dependencies[pkg_name][condition].update({crate_name: crate_label}) | |
| return dependencies | |
| def crate_deps(deps, package_name = None): | |
| """Finds the fully qualified label of the requested crates for the package where this macro is called. | |
| Args: | |
| deps (list): The desired list of crate targets. | |
| package_name (str, optional): The package name of the set of dependencies to look up. | |
| Defaults to `native.package_name()`. | |
| Returns: | |
| list: A list of labels to generated rust targets (str) | |
| """ | |
| if not deps: | |
| return [] | |
| if package_name == None: | |
| package_name = native.package_name() | |
| # Join both sets of dependencies | |
| dependencies = _flatten_dependency_maps([ | |
| _NORMAL_DEPENDENCIES, | |
| _NORMAL_DEV_DEPENDENCIES, | |
| _PROC_MACRO_DEPENDENCIES, | |
| _PROC_MACRO_DEV_DEPENDENCIES, | |
| _BUILD_DEPENDENCIES, | |
| _BUILD_PROC_MACRO_DEPENDENCIES, | |
| ]).pop(package_name, {}) | |
| # Combine all conditional packages so we can easily index over a flat list | |
| # TODO: Perhaps this should actually return select statements and maintain | |
| # the conditionals of the dependencies | |
| flat_deps = {} | |
| for deps_set in dependencies.values(): | |
| for crate_name, crate_label in deps_set.items(): | |
| flat_deps.update({crate_name: crate_label}) | |
| missing_crates = [] | |
| crate_targets = [] | |
| for crate_target in deps: | |
| if crate_target not in flat_deps: | |
| missing_crates.append(crate_target) | |
| else: | |
| crate_targets.append(flat_deps[crate_target]) | |
| if missing_crates: | |
| fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format( | |
| missing_crates, | |
| package_name, | |
| dependencies, | |
| )) | |
| return crate_targets | |
| def all_crate_deps( | |
| normal = False, | |
| normal_dev = False, | |
| proc_macro = False, | |
| proc_macro_dev = False, | |
| build = False, | |
| build_proc_macro = False, | |
| package_name = None): | |
| """Finds the fully qualified label of all requested direct crate dependencies \ | |
| for the package where this macro is called. | |
| If no parameters are set, all normal dependencies are returned. Setting any one flag will | |
| otherwise impact the contents of the returned list. | |
| Args: | |
| normal (bool, optional): If True, normal dependencies are included in the | |
| output list. | |
| normal_dev (bool, optional): If True, normal dev dependencies will be | |
| included in the output list.. | |
| proc_macro (bool, optional): If True, proc_macro dependencies are included | |
| in the output list. | |
| proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are | |
| included in the output list. | |
| build (bool, optional): If True, build dependencies are included | |
| in the output list. | |
| build_proc_macro (bool, optional): If True, build proc_macro dependencies are | |
| included in the output list. | |
| package_name (str, optional): The package name of the set of dependencies to look up. | |
| Defaults to `native.package_name()` when unset. | |
| Returns: | |
| list: A list of labels to generated rust targets (str) | |
| """ | |
| if package_name == None: | |
| package_name = native.package_name() | |
| # Determine the relevant maps to use | |
| all_dependency_maps = [] | |
| if normal: | |
| all_dependency_maps.append(_NORMAL_DEPENDENCIES) | |
| if normal_dev: | |
| all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES) | |
| if proc_macro: | |
| all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES) | |
| if proc_macro_dev: | |
| all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES) | |
| if build: | |
| all_dependency_maps.append(_BUILD_DEPENDENCIES) | |
| if build_proc_macro: | |
| all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES) | |
| # Default to always using normal dependencies | |
| if not all_dependency_maps: | |
| all_dependency_maps.append(_NORMAL_DEPENDENCIES) | |
| dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None) | |
| if not dependencies: | |
| if dependencies == None: | |
| fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file") | |
| else: | |
| return [] | |
| crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values()) | |
| for condition, deps in dependencies.items(): | |
| crate_deps += selects.with_or({ | |
| tuple(_CONDITIONS[condition]): deps.values(), | |
| "//conditions:default": [], | |
| }) | |
| return crate_deps | |
| def aliases( | |
| normal = False, | |
| normal_dev = False, | |
| proc_macro = False, | |
| proc_macro_dev = False, | |
| build = False, | |
| build_proc_macro = False, | |
| package_name = None): | |
| """Produces a map of Crate alias names to their original label | |
| If no dependency kinds are specified, `normal` and `proc_macro` are used by default. | |
| Setting any one flag will otherwise determine the contents of the returned dict. | |
| Args: | |
| normal (bool, optional): If True, normal dependencies are included in the | |
| output list. | |
| normal_dev (bool, optional): If True, normal dev dependencies will be | |
| included in the output list.. | |
| proc_macro (bool, optional): If True, proc_macro dependencies are included | |
| in the output list. | |
| proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are | |
| included in the output list. | |
| build (bool, optional): If True, build dependencies are included | |
| in the output list. | |
| build_proc_macro (bool, optional): If True, build proc_macro dependencies are | |
| included in the output list. | |
| package_name (str, optional): The package name of the set of dependencies to look up. | |
| Defaults to `native.package_name()` when unset. | |
| Returns: | |
| dict: The aliases of all associated packages | |
| """ | |
| if package_name == None: | |
| package_name = native.package_name() | |
| # Determine the relevant maps to use | |
| all_aliases_maps = [] | |
| if normal: | |
| all_aliases_maps.append(_NORMAL_ALIASES) | |
| if normal_dev: | |
| all_aliases_maps.append(_NORMAL_DEV_ALIASES) | |
| if proc_macro: | |
| all_aliases_maps.append(_PROC_MACRO_ALIASES) | |
| if proc_macro_dev: | |
| all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES) | |
| if build: | |
| all_aliases_maps.append(_BUILD_ALIASES) | |
| if build_proc_macro: | |
| all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES) | |
| # Default to always using normal aliases | |
| if not all_aliases_maps: | |
| all_aliases_maps.append(_NORMAL_ALIASES) | |
| all_aliases_maps.append(_PROC_MACRO_ALIASES) | |
| aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None) | |
| if not aliases: | |
| return dict() | |
| common_items = aliases.pop(_COMMON_CONDITION, {}).items() | |
| # If there are only common items in the dictionary, immediately return them | |
| if not len(aliases.keys()) == 1: | |
| return dict(common_items) | |
| # Build a single select statement where each conditional has accounted for the | |
| # common set of aliases. | |
| crate_aliases = {"//conditions:default": dict(common_items)} | |
| for condition, deps in aliases.items(): | |
| condition_triples = _CONDITIONS[condition] | |
| for triple in condition_triples: | |
| if triple in crate_aliases: | |
| crate_aliases[triple].update(deps) | |
| else: | |
| crate_aliases.update({triple: dict(deps.items() + common_items)}) | |
| return select(crate_aliases) | |
| ############################################################################### | |
| # WORKSPACE MEMBER DEPS AND ALIASES | |
| ############################################################################### | |
| _NORMAL_DEPENDENCIES = { | |
| "third-party": { | |
| _COMMON_CONDITION: { | |
| "cc": Label("@vendor//:cc-1.2.38"), | |
| "clap": Label("@vendor//:clap-4.5.48"), | |
| "codespan-reporting": Label("@vendor//:codespan-reporting-0.13.0"), | |
| "foldhash": Label("@vendor//:foldhash-0.2.0"), | |
| "indexmap": Label("@vendor//:indexmap-2.11.4"), | |
| "proc-macro2": Label("@vendor//:proc-macro2-1.0.101"), | |
| "quote": Label("@vendor//:quote-1.0.41"), | |
| "scratch": Label("@vendor//:scratch-1.0.9"), | |
| "serde": Label("@vendor//:serde-1.0.226"), | |
| "syn": Label("@vendor//:syn-2.0.106"), | |
| }, | |
| }, | |
| } | |
| _NORMAL_ALIASES = { | |
| "third-party": { | |
| _COMMON_CONDITION: { | |
| }, | |
| }, | |
| } | |
| _NORMAL_DEV_DEPENDENCIES = { | |
| "third-party": { | |
| }, | |
| } | |
| _NORMAL_DEV_ALIASES = { | |
| "third-party": { | |
| }, | |
| } | |
| _PROC_MACRO_DEPENDENCIES = { | |
| "third-party": { | |
| _COMMON_CONDITION: { | |
| "rustversion": Label("@vendor//:rustversion-1.0.22"), | |
| }, | |
| }, | |
| } | |
| _PROC_MACRO_ALIASES = { | |
| "third-party": { | |
| }, | |
| } | |
| _PROC_MACRO_DEV_DEPENDENCIES = { | |
| "third-party": { | |
| }, | |
| } | |
| _PROC_MACRO_DEV_ALIASES = { | |
| "third-party": { | |
| }, | |
| } | |
| _BUILD_DEPENDENCIES = { | |
| "third-party": { | |
| }, | |
| } | |
| _BUILD_ALIASES = { | |
| "third-party": { | |
| }, | |
| } | |
| _BUILD_PROC_MACRO_DEPENDENCIES = { | |
| "third-party": { | |
| }, | |
| } | |
| _BUILD_PROC_MACRO_ALIASES = { | |
| "third-party": { | |
| }, | |
| } | |
| _CONDITIONS = { | |
| "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], | |
| "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"], | |
| "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"], | |
| "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"], | |
| "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"], | |
| "aarch64-unknown-fuchsia": ["@rules_rust//rust/platform:aarch64-unknown-fuchsia"], | |
| "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu"], | |
| "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"], | |
| "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"], | |
| "aarch64-unknown-uefi": ["@rules_rust//rust/platform:aarch64-unknown-uefi"], | |
| "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"], | |
| "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"], | |
| "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"], | |
| "cfg(any())": [], | |
| "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"], | |
| "i686-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"], | |
| "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"], | |
| "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"], | |
| "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"], | |
| "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"], | |
| "powerpc-unknown-linux-gnu": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu"], | |
| "riscv32imc-unknown-none-elf": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"], | |
| "riscv64gc-unknown-linux-gnu": ["@rules_rust//rust/platform:riscv64gc-unknown-linux-gnu"], | |
| "riscv64gc-unknown-none-elf": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf"], | |
| "s390x-unknown-linux-gnu": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"], | |
| "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"], | |
| "thumbv8m.main-none-eabi": ["@rules_rust//rust/platform:thumbv8m.main-none-eabi"], | |
| "wasm32-unknown-emscripten": ["@rules_rust//rust/platform:wasm32-unknown-emscripten"], | |
| "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"], | |
| "wasm32-wasip1": ["@rules_rust//rust/platform:wasm32-wasip1"], | |
| "wasm32-wasip1-threads": ["@rules_rust//rust/platform:wasm32-wasip1-threads"], | |
| "wasm32-wasip2": ["@rules_rust//rust/platform:wasm32-wasip2"], | |
| "x86_64-apple-darwin": ["@rules_rust//rust/platform:x86_64-apple-darwin"], | |
| "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"], | |
| "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"], | |
| "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"], | |
| "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"], | |
| "x86_64-unknown-fuchsia": ["@rules_rust//rust/platform:x86_64-unknown-fuchsia"], | |
| "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], | |
| "x86_64-unknown-nixos-gnu": ["@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"], | |
| "x86_64-unknown-none": ["@rules_rust//rust/platform:x86_64-unknown-none"], | |
| "x86_64-unknown-uefi": ["@rules_rust//rust/platform:x86_64-unknown-uefi"], | |
| } | |
| ############################################################################### | |
| def crate_repositories(): | |
| """A macro for defining repositories for all generated crates. | |
| Returns: | |
| A list of repos visible to the module through the module extension. | |
| """ | |
| maybe( | |
| http_archive, | |
| name = "vendor__anstyle-1.0.11", | |
| sha256 = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/anstyle/1.0.11/download"], | |
| strip_prefix = "anstyle-1.0.11", | |
| build_file = Label("//third-party/bazel:BUILD.anstyle-1.0.11.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__cc-1.2.38", | |
| sha256 = "80f41ae168f955c12fb8960b057d70d0ca153fb83182b57d86380443527be7e9", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/cc/1.2.38/download"], | |
| strip_prefix = "cc-1.2.38", | |
| build_file = Label("//third-party/bazel:BUILD.cc-1.2.38.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__clap-4.5.48", | |
| sha256 = "e2134bb3ea021b78629caa971416385309e0131b351b25e01dc16fb54e1b5fae", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/clap/4.5.48/download"], | |
| strip_prefix = "clap-4.5.48", | |
| build_file = Label("//third-party/bazel:BUILD.clap-4.5.48.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__clap_builder-4.5.48", | |
| sha256 = "c2ba64afa3c0a6df7fa517765e31314e983f51dda798ffba27b988194fb65dc9", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/clap_builder/4.5.48/download"], | |
| strip_prefix = "clap_builder-4.5.48", | |
| build_file = Label("//third-party/bazel:BUILD.clap_builder-4.5.48.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__clap_lex-0.7.5", | |
| sha256 = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/clap_lex/0.7.5/download"], | |
| strip_prefix = "clap_lex-0.7.5", | |
| build_file = Label("//third-party/bazel:BUILD.clap_lex-0.7.5.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__codespan-reporting-0.13.0", | |
| sha256 = "ba7a06c0b31fff5ff2e1e7d37dbf940864e2a974b336e1a2938d10af6e8fb283", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/codespan-reporting/0.13.0/download"], | |
| strip_prefix = "codespan-reporting-0.13.0", | |
| build_file = Label("//third-party/bazel:BUILD.codespan-reporting-0.13.0.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__equivalent-1.0.2", | |
| sha256 = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/equivalent/1.0.2/download"], | |
| strip_prefix = "equivalent-1.0.2", | |
| build_file = Label("//third-party/bazel:BUILD.equivalent-1.0.2.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__find-msvc-tools-0.1.2", | |
| sha256 = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/find-msvc-tools/0.1.2/download"], | |
| strip_prefix = "find-msvc-tools-0.1.2", | |
| build_file = Label("//third-party/bazel:BUILD.find-msvc-tools-0.1.2.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__foldhash-0.2.0", | |
| sha256 = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/foldhash/0.2.0/download"], | |
| strip_prefix = "foldhash-0.2.0", | |
| build_file = Label("//third-party/bazel:BUILD.foldhash-0.2.0.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__hashbrown-0.16.0", | |
| sha256 = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/hashbrown/0.16.0/download"], | |
| strip_prefix = "hashbrown-0.16.0", | |
| build_file = Label("//third-party/bazel:BUILD.hashbrown-0.16.0.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__indexmap-2.11.4", | |
| sha256 = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/indexmap/2.11.4/download"], | |
| strip_prefix = "indexmap-2.11.4", | |
| build_file = Label("//third-party/bazel:BUILD.indexmap-2.11.4.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__proc-macro2-1.0.101", | |
| sha256 = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/proc-macro2/1.0.101/download"], | |
| strip_prefix = "proc-macro2-1.0.101", | |
| build_file = Label("//third-party/bazel:BUILD.proc-macro2-1.0.101.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__quote-1.0.41", | |
| sha256 = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/quote/1.0.41/download"], | |
| strip_prefix = "quote-1.0.41", | |
| build_file = Label("//third-party/bazel:BUILD.quote-1.0.41.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__rustversion-1.0.22", | |
| sha256 = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/rustversion/1.0.22/download"], | |
| strip_prefix = "rustversion-1.0.22", | |
| build_file = Label("//third-party/bazel:BUILD.rustversion-1.0.22.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__scratch-1.0.9", | |
| sha256 = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/scratch/1.0.9/download"], | |
| strip_prefix = "scratch-1.0.9", | |
| build_file = Label("//third-party/bazel:BUILD.scratch-1.0.9.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__serde-1.0.226", | |
| sha256 = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/serde/1.0.226/download"], | |
| strip_prefix = "serde-1.0.226", | |
| build_file = Label("//third-party/bazel:BUILD.serde-1.0.226.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__serde_core-1.0.226", | |
| sha256 = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/serde_core/1.0.226/download"], | |
| strip_prefix = "serde_core-1.0.226", | |
| build_file = Label("//third-party/bazel:BUILD.serde_core-1.0.226.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__serde_derive-1.0.226", | |
| sha256 = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/serde_derive/1.0.226/download"], | |
| strip_prefix = "serde_derive-1.0.226", | |
| build_file = Label("//third-party/bazel:BUILD.serde_derive-1.0.226.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__shlex-1.3.0", | |
| sha256 = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/shlex/1.3.0/download"], | |
| strip_prefix = "shlex-1.3.0", | |
| build_file = Label("//third-party/bazel:BUILD.shlex-1.3.0.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__syn-2.0.106", | |
| sha256 = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/syn/2.0.106/download"], | |
| strip_prefix = "syn-2.0.106", | |
| build_file = Label("//third-party/bazel:BUILD.syn-2.0.106.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__termcolor-1.4.1", | |
| sha256 = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/termcolor/1.4.1/download"], | |
| strip_prefix = "termcolor-1.4.1", | |
| build_file = Label("//third-party/bazel:BUILD.termcolor-1.4.1.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__unicode-ident-1.0.19", | |
| sha256 = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/unicode-ident/1.0.19/download"], | |
| strip_prefix = "unicode-ident-1.0.19", | |
| build_file = Label("//third-party/bazel:BUILD.unicode-ident-1.0.19.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__unicode-width-0.2.1", | |
| sha256 = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/unicode-width/0.2.1/download"], | |
| strip_prefix = "unicode-width-0.2.1", | |
| build_file = Label("//third-party/bazel:BUILD.unicode-width-0.2.1.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__winapi-util-0.1.11", | |
| sha256 = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/winapi-util/0.1.11/download"], | |
| strip_prefix = "winapi-util-0.1.11", | |
| build_file = Label("//third-party/bazel:BUILD.winapi-util-0.1.11.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__windows-link-0.2.0", | |
| sha256 = "45e46c0661abb7180e7b9c281db115305d49ca1709ab8242adf09666d2173c65", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/windows-link/0.2.0/download"], | |
| strip_prefix = "windows-link-0.2.0", | |
| build_file = Label("//third-party/bazel:BUILD.windows-link-0.2.0.bazel"), | |
| ) | |
| maybe( | |
| http_archive, | |
| name = "vendor__windows-sys-0.61.0", | |
| sha256 = "e201184e40b2ede64bc2ea34968b28e33622acdbbf37104f0e4a33f7abe657aa", | |
| type = "tar.gz", | |
| urls = ["https://static.crates.io/crates/windows-sys/0.61.0/download"], | |
| strip_prefix = "windows-sys-0.61.0", | |
| build_file = Label("//third-party/bazel:BUILD.windows-sys-0.61.0.bazel"), | |
| ) | |
| return [ | |
| struct(repo = "vendor__cc-1.2.38", is_dev_dep = False), | |
| struct(repo = "vendor__clap-4.5.48", is_dev_dep = False), | |
| struct(repo = "vendor__codespan-reporting-0.13.0", is_dev_dep = False), | |
| struct(repo = "vendor__foldhash-0.2.0", is_dev_dep = False), | |
| struct(repo = "vendor__indexmap-2.11.4", is_dev_dep = False), | |
| struct(repo = "vendor__proc-macro2-1.0.101", is_dev_dep = False), | |
| struct(repo = "vendor__quote-1.0.41", is_dev_dep = False), | |
| struct(repo = "vendor__rustversion-1.0.22", is_dev_dep = False), | |
| struct(repo = "vendor__scratch-1.0.9", is_dev_dep = False), | |
| struct(repo = "vendor__serde-1.0.226", is_dev_dep = False), | |
| struct(repo = "vendor__syn-2.0.106", is_dev_dep = False), | |
| ] |