| ############################################################################### |
| # @generated |
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To |
| # regenerate this file, run the following: |
| # |
| # bazel run @@//3rdparty:crates_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 = { |
| "": { |
| _COMMON_CONDITION: { |
| "pyo3": Label("@rpyo3c//:pyo3-0.28.2"), |
| "pyo3-ffi": Label("@rpyo3c//:pyo3-ffi-0.28.2"), |
| "pyo3-introspection": Label("@rpyo3c//:pyo3-introspection-0.28.2"), |
| }, |
| }, |
| } |
| |
| _NORMAL_ALIASES = { |
| "": { |
| _COMMON_CONDITION: { |
| }, |
| }, |
| } |
| |
| _NORMAL_DEV_DEPENDENCIES = { |
| "": { |
| }, |
| } |
| |
| _NORMAL_DEV_ALIASES = { |
| "": { |
| }, |
| } |
| |
| _PROC_MACRO_DEPENDENCIES = { |
| "": { |
| }, |
| } |
| |
| _PROC_MACRO_ALIASES = { |
| "": { |
| }, |
| } |
| |
| _PROC_MACRO_DEV_DEPENDENCIES = { |
| "": { |
| }, |
| } |
| |
| _PROC_MACRO_DEV_ALIASES = { |
| "": { |
| }, |
| } |
| |
| _BUILD_DEPENDENCIES = { |
| "": { |
| }, |
| } |
| |
| _BUILD_ALIASES = { |
| "": { |
| }, |
| } |
| |
| _BUILD_PROC_MACRO_DEPENDENCIES = { |
| "": { |
| }, |
| } |
| |
| _BUILD_PROC_MACRO_ALIASES = { |
| "": { |
| }, |
| } |
| |
| _CONDITIONS = { |
| "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"], |
| "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"], |
| "aarch64-apple-ios-macabi": ["@rules_rust//rust/platform:aarch64-apple-ios-macabi"], |
| "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"], |
| "arm-unknown-linux-musleabi": ["@rules_rust//rust/platform:arm-unknown-linux-musleabi"], |
| "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(not(target_has_atomic = \"64\"))": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:thumbv6m-none-eabi", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv7em-none-eabihf", "@rules_rust//rust/platform:thumbv8m.main-none-eabi"], |
| "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"], |
| "thumbv6m-none-eabi": ["@rules_rust//rust/platform:thumbv6m-none-eabi"], |
| "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"], |
| "thumbv7em-none-eabihf": ["@rules_rust//rust/platform:thumbv7em-none-eabihf"], |
| "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-apple-ios-macabi": ["@rules_rust//rust/platform:x86_64-apple-ios-macabi"], |
| "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 = "rpyo3c__anyhow-1.0.100", |
| sha256 = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/anyhow/1.0.100/download"], |
| strip_prefix = "anyhow-1.0.100", |
| build_file = Label("//3rdparty/crates:BUILD.anyhow-1.0.100.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__goblin-0.10.1", |
| sha256 = "d6a80adfd63bd7ffd94fefc3d22167880c440a724303080e5aa686fa36abaa96", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/goblin/0.10.1/download"], |
| strip_prefix = "goblin-0.10.1", |
| build_file = Label("//3rdparty/crates:BUILD.goblin-0.10.1.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__heck-0.5.0", |
| sha256 = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/heck/0.5.0/download"], |
| strip_prefix = "heck-0.5.0", |
| build_file = Label("//3rdparty/crates:BUILD.heck-0.5.0.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__itoa-1.0.15", |
| sha256 = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/itoa/1.0.15/download"], |
| strip_prefix = "itoa-1.0.15", |
| build_file = Label("//3rdparty/crates:BUILD.itoa-1.0.15.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__libc-0.2.176", |
| sha256 = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/libc/0.2.176/download"], |
| strip_prefix = "libc-0.2.176", |
| build_file = Label("//3rdparty/crates:BUILD.libc-0.2.176.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__log-0.4.28", |
| sha256 = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/log/0.4.28/download"], |
| strip_prefix = "log-0.4.28", |
| build_file = Label("//3rdparty/crates:BUILD.log-0.4.28.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__memchr-2.7.6", |
| sha256 = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/memchr/2.7.6/download"], |
| strip_prefix = "memchr-2.7.6", |
| build_file = Label("//3rdparty/crates:BUILD.memchr-2.7.6.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__once_cell-1.21.3", |
| sha256 = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/once_cell/1.21.3/download"], |
| strip_prefix = "once_cell-1.21.3", |
| build_file = Label("//3rdparty/crates:BUILD.once_cell-1.21.3.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__plain-0.2.3", |
| sha256 = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/plain/0.2.3/download"], |
| strip_prefix = "plain-0.2.3", |
| build_file = Label("//3rdparty/crates:BUILD.plain-0.2.3.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__portable-atomic-1.11.1", |
| sha256 = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/portable-atomic/1.11.1/download"], |
| strip_prefix = "portable-atomic-1.11.1", |
| build_file = Label("//3rdparty/crates:BUILD.portable-atomic-1.11.1.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__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("//3rdparty/crates:BUILD.proc-macro2-1.0.101.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-0.28.2", |
| sha256 = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3/0.28.2/download"], |
| strip_prefix = "pyo3-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-build-config-0.28.2", |
| patch_args = [ |
| "-p1", |
| ], |
| patches = [ |
| "@rules_rust_pyo3//3rdparty/patches:resolve_cross_compile_config_path.patch", |
| ], |
| sha256 = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3-build-config/0.28.2/download"], |
| strip_prefix = "pyo3-build-config-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-build-config-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-ffi-0.28.2", |
| sha256 = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3-ffi/0.28.2/download"], |
| strip_prefix = "pyo3-ffi-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-ffi-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-introspection-0.28.2", |
| sha256 = "cc11f40a1f5ec62a36963d4b4b0c051fac90c879c640baa975f45cd01afd3c38", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3-introspection/0.28.2/download"], |
| strip_prefix = "pyo3-introspection-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-introspection-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-macros-0.28.2", |
| sha256 = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3-macros/0.28.2/download"], |
| strip_prefix = "pyo3-macros-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-macros-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__pyo3-macros-backend-0.28.2", |
| sha256 = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/pyo3-macros-backend/0.28.2/download"], |
| strip_prefix = "pyo3-macros-backend-0.28.2", |
| build_file = Label("//3rdparty/crates:BUILD.pyo3-macros-backend-0.28.2.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__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("//3rdparty/crates:BUILD.quote-1.0.41.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__ryu-1.0.20", |
| sha256 = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/ryu/1.0.20/download"], |
| strip_prefix = "ryu-1.0.20", |
| build_file = Label("//3rdparty/crates:BUILD.ryu-1.0.20.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__scroll-0.13.0", |
| sha256 = "c1257cd4248b4132760d6524d6dda4e053bc648c9070b960929bf50cfb1e7add", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/scroll/0.13.0/download"], |
| strip_prefix = "scroll-0.13.0", |
| build_file = Label("//3rdparty/crates:BUILD.scroll-0.13.0.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__scroll_derive-0.13.1", |
| sha256 = "ed76efe62313ab6610570951494bdaa81568026e0318eaa55f167de70eeea67d", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/scroll_derive/0.13.1/download"], |
| strip_prefix = "scroll_derive-0.13.1", |
| build_file = Label("//3rdparty/crates:BUILD.scroll_derive-0.13.1.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__serde-1.0.228", |
| sha256 = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/serde/1.0.228/download"], |
| strip_prefix = "serde-1.0.228", |
| build_file = Label("//3rdparty/crates:BUILD.serde-1.0.228.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__serde_core-1.0.228", |
| sha256 = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/serde_core/1.0.228/download"], |
| strip_prefix = "serde_core-1.0.228", |
| build_file = Label("//3rdparty/crates:BUILD.serde_core-1.0.228.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__serde_derive-1.0.228", |
| sha256 = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/serde_derive/1.0.228/download"], |
| strip_prefix = "serde_derive-1.0.228", |
| build_file = Label("//3rdparty/crates:BUILD.serde_derive-1.0.228.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__serde_json-1.0.145", |
| sha256 = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/serde_json/1.0.145/download"], |
| strip_prefix = "serde_json-1.0.145", |
| build_file = Label("//3rdparty/crates:BUILD.serde_json-1.0.145.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__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("//3rdparty/crates:BUILD.syn-2.0.106.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__target-lexicon-0.13.3", |
| sha256 = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c", |
| type = "tar.gz", |
| urls = ["https://static.crates.io/crates/target-lexicon/0.13.3/download"], |
| strip_prefix = "target-lexicon-0.13.3", |
| build_file = Label("//3rdparty/crates:BUILD.target-lexicon-0.13.3.bazel"), |
| ) |
| |
| maybe( |
| http_archive, |
| name = "rpyo3c__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("//3rdparty/crates:BUILD.unicode-ident-1.0.19.bazel"), |
| ) |
| |
| return [ |
| struct(repo = "rpyo3c__pyo3-0.28.2", is_dev_dep = False), |
| struct(repo = "rpyo3c__pyo3-ffi-0.28.2", is_dev_dep = False), |
| struct(repo = "rpyo3c__pyo3-introspection-0.28.2", is_dev_dep = False), |
| ] |