xref: /aosp_15_r20/external/bazelbuild-rules_rust/proto/prost/private/3rdparty/crates/defs.bzl (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6#     bazel run @//proto/prost/private/3rdparty:crates_vendor
7###############################################################################
8"""
9# `crates_repository` API
10
11- [aliases](#aliases)
12- [crate_deps](#crate_deps)
13- [all_crate_deps](#all_crate_deps)
14- [crate_repositories](#crate_repositories)
15
16"""
17
18load("@bazel_skylib//lib:selects.bzl", "selects")
19load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
21
22###############################################################################
23# MACROS API
24###############################################################################
25
26# An identifier that represent common dependencies (unconditional).
27_COMMON_CONDITION = ""
28
29def _flatten_dependency_maps(all_dependency_maps):
30    """Flatten a list of dependency maps into one dictionary.
31
32    Dependency maps have the following structure:
33
34    ```python
35    DEPENDENCIES_MAP = {
36        # The first key in the map is a Bazel package
37        # name of the workspace this file is defined in.
38        "workspace_member_package": {
39
40            # Not all dependencies are supported for all platforms.
41            # the condition key is the condition required to be true
42            # on the host platform.
43            "condition": {
44
45                # An alias to a crate target.     # The label of the crate target the
46                # Aliases are only crate names.   # package name refers to.
47                "package_name":                   "@full//:label",
48            }
49        }
50    }
51    ```
52
53    Args:
54        all_dependency_maps (list): A list of dicts as described above
55
56    Returns:
57        dict: A dictionary as described above
58    """
59    dependencies = {}
60
61    for workspace_deps_map in all_dependency_maps:
62        for pkg_name, conditional_deps_map in workspace_deps_map.items():
63            if pkg_name not in dependencies:
64                non_frozen_map = dict()
65                for key, values in conditional_deps_map.items():
66                    non_frozen_map.update({key: dict(values.items())})
67                dependencies.setdefault(pkg_name, non_frozen_map)
68                continue
69
70            for condition, deps_map in conditional_deps_map.items():
71                # If the condition has not been recorded, do so and continue
72                if condition not in dependencies[pkg_name]:
73                    dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
74                    continue
75
76                # Alert on any miss-matched dependencies
77                inconsistent_entries = []
78                for crate_name, crate_label in deps_map.items():
79                    existing = dependencies[pkg_name][condition].get(crate_name)
80                    if existing and existing != crate_label:
81                        inconsistent_entries.append((crate_name, existing, crate_label))
82                    dependencies[pkg_name][condition].update({crate_name: crate_label})
83
84    return dependencies
85
86def crate_deps(deps, package_name = None):
87    """Finds the fully qualified label of the requested crates for the package where this macro is called.
88
89    Args:
90        deps (list): The desired list of crate targets.
91        package_name (str, optional): The package name of the set of dependencies to look up.
92            Defaults to `native.package_name()`.
93
94    Returns:
95        list: A list of labels to generated rust targets (str)
96    """
97
98    if not deps:
99        return []
100
101    if package_name == None:
102        package_name = native.package_name()
103
104    # Join both sets of dependencies
105    dependencies = _flatten_dependency_maps([
106        _NORMAL_DEPENDENCIES,
107        _NORMAL_DEV_DEPENDENCIES,
108        _PROC_MACRO_DEPENDENCIES,
109        _PROC_MACRO_DEV_DEPENDENCIES,
110        _BUILD_DEPENDENCIES,
111        _BUILD_PROC_MACRO_DEPENDENCIES,
112    ]).pop(package_name, {})
113
114    # Combine all conditional packages so we can easily index over a flat list
115    # TODO: Perhaps this should actually return select statements and maintain
116    # the conditionals of the dependencies
117    flat_deps = {}
118    for deps_set in dependencies.values():
119        for crate_name, crate_label in deps_set.items():
120            flat_deps.update({crate_name: crate_label})
121
122    missing_crates = []
123    crate_targets = []
124    for crate_target in deps:
125        if crate_target not in flat_deps:
126            missing_crates.append(crate_target)
127        else:
128            crate_targets.append(flat_deps[crate_target])
129
130    if missing_crates:
131        fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
132            missing_crates,
133            package_name,
134            dependencies,
135        ))
136
137    return crate_targets
138
139def all_crate_deps(
140        normal = False,
141        normal_dev = False,
142        proc_macro = False,
143        proc_macro_dev = False,
144        build = False,
145        build_proc_macro = False,
146        package_name = None):
147    """Finds the fully qualified label of all requested direct crate dependencies \
148    for the package where this macro is called.
149
150    If no parameters are set, all normal dependencies are returned. Setting any one flag will
151    otherwise impact the contents of the returned list.
152
153    Args:
154        normal (bool, optional): If True, normal dependencies are included in the
155            output list.
156        normal_dev (bool, optional): If True, normal dev dependencies will be
157            included in the output list..
158        proc_macro (bool, optional): If True, proc_macro dependencies are included
159            in the output list.
160        proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
161            included in the output list.
162        build (bool, optional): If True, build dependencies are included
163            in the output list.
164        build_proc_macro (bool, optional): If True, build proc_macro dependencies are
165            included in the output list.
166        package_name (str, optional): The package name of the set of dependencies to look up.
167            Defaults to `native.package_name()` when unset.
168
169    Returns:
170        list: A list of labels to generated rust targets (str)
171    """
172
173    if package_name == None:
174        package_name = native.package_name()
175
176    # Determine the relevant maps to use
177    all_dependency_maps = []
178    if normal:
179        all_dependency_maps.append(_NORMAL_DEPENDENCIES)
180    if normal_dev:
181        all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
182    if proc_macro:
183        all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
184    if proc_macro_dev:
185        all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
186    if build:
187        all_dependency_maps.append(_BUILD_DEPENDENCIES)
188    if build_proc_macro:
189        all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
190
191    # Default to always using normal dependencies
192    if not all_dependency_maps:
193        all_dependency_maps.append(_NORMAL_DEPENDENCIES)
194
195    dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
196
197    if not dependencies:
198        if dependencies == None:
199            fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
200        else:
201            return []
202
203    crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
204    for condition, deps in dependencies.items():
205        crate_deps += selects.with_or({
206            tuple(_CONDITIONS[condition]): deps.values(),
207            "//conditions:default": [],
208        })
209
210    return crate_deps
211
212def aliases(
213        normal = False,
214        normal_dev = False,
215        proc_macro = False,
216        proc_macro_dev = False,
217        build = False,
218        build_proc_macro = False,
219        package_name = None):
220    """Produces a map of Crate alias names to their original label
221
222    If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
223    Setting any one flag will otherwise determine the contents of the returned dict.
224
225    Args:
226        normal (bool, optional): If True, normal dependencies are included in the
227            output list.
228        normal_dev (bool, optional): If True, normal dev dependencies will be
229            included in the output list..
230        proc_macro (bool, optional): If True, proc_macro dependencies are included
231            in the output list.
232        proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
233            included in the output list.
234        build (bool, optional): If True, build dependencies are included
235            in the output list.
236        build_proc_macro (bool, optional): If True, build proc_macro dependencies are
237            included in the output list.
238        package_name (str, optional): The package name of the set of dependencies to look up.
239            Defaults to `native.package_name()` when unset.
240
241    Returns:
242        dict: The aliases of all associated packages
243    """
244    if package_name == None:
245        package_name = native.package_name()
246
247    # Determine the relevant maps to use
248    all_aliases_maps = []
249    if normal:
250        all_aliases_maps.append(_NORMAL_ALIASES)
251    if normal_dev:
252        all_aliases_maps.append(_NORMAL_DEV_ALIASES)
253    if proc_macro:
254        all_aliases_maps.append(_PROC_MACRO_ALIASES)
255    if proc_macro_dev:
256        all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
257    if build:
258        all_aliases_maps.append(_BUILD_ALIASES)
259    if build_proc_macro:
260        all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
261
262    # Default to always using normal aliases
263    if not all_aliases_maps:
264        all_aliases_maps.append(_NORMAL_ALIASES)
265        all_aliases_maps.append(_PROC_MACRO_ALIASES)
266
267    aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
268
269    if not aliases:
270        return dict()
271
272    common_items = aliases.pop(_COMMON_CONDITION, {}).items()
273
274    # If there are only common items in the dictionary, immediately return them
275    if not len(aliases.keys()) == 1:
276        return dict(common_items)
277
278    # Build a single select statement where each conditional has accounted for the
279    # common set of aliases.
280    crate_aliases = {"//conditions:default": dict(common_items)}
281    for condition, deps in aliases.items():
282        condition_triples = _CONDITIONS[condition]
283        for triple in condition_triples:
284            if triple in crate_aliases:
285                crate_aliases[triple].update(deps)
286            else:
287                crate_aliases.update({triple: dict(deps.items() + common_items)})
288
289    return select(crate_aliases)
290
291###############################################################################
292# WORKSPACE MEMBER DEPS AND ALIASES
293###############################################################################
294
295_NORMAL_DEPENDENCIES = {
296    "": {
297        _COMMON_CONDITION: {
298            "h2": Label("@rules_rust_prost__h2-0.3.19//:h2"),
299            "prost": Label("@rules_rust_prost__prost-0.11.9//:prost"),
300            "prost-types": Label("@rules_rust_prost__prost-types-0.11.9//:prost_types"),
301            "protoc-gen-prost": Label("@rules_rust_prost__protoc-gen-prost-0.2.2//:protoc_gen_prost"),
302            "protoc-gen-tonic": Label("@rules_rust_prost__protoc-gen-tonic-0.2.2//:protoc_gen_tonic"),
303            "tokio": Label("@rules_rust_prost__tokio-1.28.2//:tokio"),
304            "tokio-stream": Label("@rules_rust_prost__tokio-stream-0.1.14//:tokio_stream"),
305            "tonic": Label("@rules_rust_prost__tonic-0.9.2//:tonic"),
306        },
307    },
308}
309
310_NORMAL_ALIASES = {
311    "": {
312        _COMMON_CONDITION: {
313        },
314    },
315}
316
317_NORMAL_DEV_DEPENDENCIES = {
318    "": {
319    },
320}
321
322_NORMAL_DEV_ALIASES = {
323    "": {
324    },
325}
326
327_PROC_MACRO_DEPENDENCIES = {
328    "": {
329    },
330}
331
332_PROC_MACRO_ALIASES = {
333    "": {
334    },
335}
336
337_PROC_MACRO_DEV_DEPENDENCIES = {
338    "": {
339    },
340}
341
342_PROC_MACRO_DEV_ALIASES = {
343    "": {
344    },
345}
346
347_BUILD_DEPENDENCIES = {
348    "": {
349    },
350}
351
352_BUILD_ALIASES = {
353    "": {
354    },
355}
356
357_BUILD_PROC_MACRO_DEPENDENCIES = {
358    "": {
359    },
360}
361
362_BUILD_PROC_MACRO_ALIASES = {
363    "": {
364    },
365}
366
367_CONDITIONS = {
368    "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"],
369    "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"],
370    "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"],
371    "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"],
372    "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"],
373    "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
374    "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"],
375    "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"],
376    "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"],
377    "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"],
378    "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"],
379    "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"],
380    "cfg(all(any(target_arch = \"x86_64\", target_arch = \"aarch64\"), target_os = \"hermit\"))": [],
381    "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"],
382    "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
383    "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"],
384    "cfg(all(target_arch = \"aarch64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
385    "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
386    "cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))": ["@rules_rust//rust/platform:wasm32-unknown-unknown"],
387    "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
388    "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
389    "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
390    "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
391    "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
392    "cfg(any(unix, target_os = \"wasi\"))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
393    "cfg(docsrs)": [],
394    "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"],
395    "cfg(target_os = \"dragonfly\")": [],
396    "cfg(target_os = \"hermit\")": [],
397    "cfg(target_os = \"redox\")": [],
398    "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"],
399    "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu", "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
400    "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"],
401    "i686-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"],
402    "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"],
403    "i686-pc-windows-gnu": [],
404    "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
405    "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"],
406    "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
407    "powerpc-unknown-linux-gnu": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu"],
408    "riscv32imc-unknown-none-elf": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"],
409    "riscv64gc-unknown-none-elf": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf"],
410    "s390x-unknown-linux-gnu": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"],
411    "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"],
412    "thumbv8m.main-none-eabi": ["@rules_rust//rust/platform:thumbv8m.main-none-eabi"],
413    "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"],
414    "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"],
415    "x86_64-apple-darwin": ["@rules_rust//rust/platform:x86_64-apple-darwin"],
416    "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"],
417    "x86_64-fuchsia": ["@rules_rust//rust/platform:x86_64-fuchsia"],
418    "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"],
419    "x86_64-pc-windows-gnu": [],
420    "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
421    "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"],
422    "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
423    "x86_64-unknown-nixos-gnu": ["@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
424    "x86_64-unknown-none": ["@rules_rust//rust/platform:x86_64-unknown-none"],
425}
426
427###############################################################################
428
429def crate_repositories():
430    """A macro for defining repositories for all generated crates.
431
432    Returns:
433      A list of repos visible to the module through the module extension.
434    """
435    maybe(
436        http_archive,
437        name = "rules_rust_prost__anyhow-1.0.71",
438        sha256 = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8",
439        type = "tar.gz",
440        urls = ["https://static.crates.io/crates/anyhow/1.0.71/download"],
441        strip_prefix = "anyhow-1.0.71",
442        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.anyhow-1.0.71.bazel"),
443    )
444
445    maybe(
446        http_archive,
447        name = "rules_rust_prost__async-trait-0.1.68",
448        sha256 = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842",
449        type = "tar.gz",
450        urls = ["https://static.crates.io/crates/async-trait/0.1.68/download"],
451        strip_prefix = "async-trait-0.1.68",
452        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.async-trait-0.1.68.bazel"),
453    )
454
455    maybe(
456        http_archive,
457        name = "rules_rust_prost__autocfg-1.1.0",
458        sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
459        type = "tar.gz",
460        urls = ["https://static.crates.io/crates/autocfg/1.1.0/download"],
461        strip_prefix = "autocfg-1.1.0",
462        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"),
463    )
464
465    maybe(
466        http_archive,
467        name = "rules_rust_prost__axum-0.6.18",
468        sha256 = "f8175979259124331c1d7bf6586ee7e0da434155e4b2d48ec2c8386281d8df39",
469        type = "tar.gz",
470        urls = ["https://static.crates.io/crates/axum/0.6.18/download"],
471        strip_prefix = "axum-0.6.18",
472        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.axum-0.6.18.bazel"),
473    )
474
475    maybe(
476        http_archive,
477        name = "rules_rust_prost__axum-core-0.3.4",
478        sha256 = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c",
479        type = "tar.gz",
480        urls = ["https://static.crates.io/crates/axum-core/0.3.4/download"],
481        strip_prefix = "axum-core-0.3.4",
482        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.axum-core-0.3.4.bazel"),
483    )
484
485    maybe(
486        http_archive,
487        name = "rules_rust_prost__base64-0.21.2",
488        sha256 = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d",
489        type = "tar.gz",
490        urls = ["https://static.crates.io/crates/base64/0.21.2/download"],
491        strip_prefix = "base64-0.21.2",
492        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.base64-0.21.2.bazel"),
493    )
494
495    maybe(
496        http_archive,
497        name = "rules_rust_prost__bitflags-1.3.2",
498        sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
499        type = "tar.gz",
500        urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"],
501        strip_prefix = "bitflags-1.3.2",
502        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
503    )
504
505    maybe(
506        http_archive,
507        name = "rules_rust_prost__bytes-1.4.0",
508        sha256 = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be",
509        type = "tar.gz",
510        urls = ["https://static.crates.io/crates/bytes/1.4.0/download"],
511        strip_prefix = "bytes-1.4.0",
512        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.bytes-1.4.0.bazel"),
513    )
514
515    maybe(
516        http_archive,
517        name = "rules_rust_prost__cc-1.0.79",
518        sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f",
519        type = "tar.gz",
520        urls = ["https://static.crates.io/crates/cc/1.0.79/download"],
521        strip_prefix = "cc-1.0.79",
522        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.cc-1.0.79.bazel"),
523    )
524
525    maybe(
526        http_archive,
527        name = "rules_rust_prost__cfg-if-1.0.0",
528        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
529        type = "tar.gz",
530        urls = ["https://static.crates.io/crates/cfg-if/1.0.0/download"],
531        strip_prefix = "cfg-if-1.0.0",
532        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
533    )
534
535    maybe(
536        http_archive,
537        name = "rules_rust_prost__either-1.8.1",
538        sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91",
539        type = "tar.gz",
540        urls = ["https://static.crates.io/crates/either/1.8.1/download"],
541        strip_prefix = "either-1.8.1",
542        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.either-1.8.1.bazel"),
543    )
544
545    maybe(
546        http_archive,
547        name = "rules_rust_prost__errno-0.3.1",
548        sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a",
549        type = "tar.gz",
550        urls = ["https://static.crates.io/crates/errno/0.3.1/download"],
551        strip_prefix = "errno-0.3.1",
552        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.errno-0.3.1.bazel"),
553    )
554
555    maybe(
556        http_archive,
557        name = "rules_rust_prost__errno-dragonfly-0.1.2",
558        sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf",
559        type = "tar.gz",
560        urls = ["https://static.crates.io/crates/errno-dragonfly/0.1.2/download"],
561        strip_prefix = "errno-dragonfly-0.1.2",
562        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.errno-dragonfly-0.1.2.bazel"),
563    )
564
565    maybe(
566        http_archive,
567        name = "rules_rust_prost__fastrand-1.9.0",
568        sha256 = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be",
569        type = "tar.gz",
570        urls = ["https://static.crates.io/crates/fastrand/1.9.0/download"],
571        strip_prefix = "fastrand-1.9.0",
572        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fastrand-1.9.0.bazel"),
573    )
574
575    maybe(
576        http_archive,
577        name = "rules_rust_prost__fixedbitset-0.4.2",
578        sha256 = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80",
579        type = "tar.gz",
580        urls = ["https://static.crates.io/crates/fixedbitset/0.4.2/download"],
581        strip_prefix = "fixedbitset-0.4.2",
582        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fixedbitset-0.4.2.bazel"),
583    )
584
585    maybe(
586        http_archive,
587        name = "rules_rust_prost__fnv-1.0.7",
588        sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1",
589        type = "tar.gz",
590        urls = ["https://static.crates.io/crates/fnv/1.0.7/download"],
591        strip_prefix = "fnv-1.0.7",
592        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.fnv-1.0.7.bazel"),
593    )
594
595    maybe(
596        http_archive,
597        name = "rules_rust_prost__futures-channel-0.3.28",
598        sha256 = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2",
599        type = "tar.gz",
600        urls = ["https://static.crates.io/crates/futures-channel/0.3.28/download"],
601        strip_prefix = "futures-channel-0.3.28",
602        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-channel-0.3.28.bazel"),
603    )
604
605    maybe(
606        http_archive,
607        name = "rules_rust_prost__futures-core-0.3.28",
608        sha256 = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c",
609        type = "tar.gz",
610        urls = ["https://static.crates.io/crates/futures-core/0.3.28/download"],
611        strip_prefix = "futures-core-0.3.28",
612        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-core-0.3.28.bazel"),
613    )
614
615    maybe(
616        http_archive,
617        name = "rules_rust_prost__futures-sink-0.3.28",
618        sha256 = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e",
619        type = "tar.gz",
620        urls = ["https://static.crates.io/crates/futures-sink/0.3.28/download"],
621        strip_prefix = "futures-sink-0.3.28",
622        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-sink-0.3.28.bazel"),
623    )
624
625    maybe(
626        http_archive,
627        name = "rules_rust_prost__futures-task-0.3.28",
628        sha256 = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65",
629        type = "tar.gz",
630        urls = ["https://static.crates.io/crates/futures-task/0.3.28/download"],
631        strip_prefix = "futures-task-0.3.28",
632        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-task-0.3.28.bazel"),
633    )
634
635    maybe(
636        http_archive,
637        name = "rules_rust_prost__futures-util-0.3.28",
638        sha256 = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533",
639        type = "tar.gz",
640        urls = ["https://static.crates.io/crates/futures-util/0.3.28/download"],
641        strip_prefix = "futures-util-0.3.28",
642        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.futures-util-0.3.28.bazel"),
643    )
644
645    maybe(
646        http_archive,
647        name = "rules_rust_prost__getrandom-0.2.10",
648        sha256 = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427",
649        type = "tar.gz",
650        urls = ["https://static.crates.io/crates/getrandom/0.2.10/download"],
651        strip_prefix = "getrandom-0.2.10",
652        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.getrandom-0.2.10.bazel"),
653    )
654
655    maybe(
656        http_archive,
657        name = "rules_rust_prost__h2-0.3.19",
658        sha256 = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782",
659        type = "tar.gz",
660        urls = ["https://static.crates.io/crates/h2/0.3.19/download"],
661        strip_prefix = "h2-0.3.19",
662        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.h2-0.3.19.bazel"),
663    )
664
665    maybe(
666        http_archive,
667        name = "rules_rust_prost__hashbrown-0.12.3",
668        sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888",
669        type = "tar.gz",
670        urls = ["https://static.crates.io/crates/hashbrown/0.12.3/download"],
671        strip_prefix = "hashbrown-0.12.3",
672        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"),
673    )
674
675    maybe(
676        http_archive,
677        name = "rules_rust_prost__heck-0.4.1",
678        sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8",
679        type = "tar.gz",
680        urls = ["https://static.crates.io/crates/heck/0.4.1/download"],
681        strip_prefix = "heck-0.4.1",
682        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.heck-0.4.1.bazel"),
683    )
684
685    maybe(
686        http_archive,
687        name = "rules_rust_prost__hermit-abi-0.2.6",
688        sha256 = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7",
689        type = "tar.gz",
690        urls = ["https://static.crates.io/crates/hermit-abi/0.2.6/download"],
691        strip_prefix = "hermit-abi-0.2.6",
692        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hermit-abi-0.2.6.bazel"),
693    )
694
695    maybe(
696        http_archive,
697        name = "rules_rust_prost__hermit-abi-0.3.1",
698        sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286",
699        type = "tar.gz",
700        urls = ["https://static.crates.io/crates/hermit-abi/0.3.1/download"],
701        strip_prefix = "hermit-abi-0.3.1",
702        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hermit-abi-0.3.1.bazel"),
703    )
704
705    maybe(
706        http_archive,
707        name = "rules_rust_prost__http-0.2.9",
708        sha256 = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482",
709        type = "tar.gz",
710        urls = ["https://static.crates.io/crates/http/0.2.9/download"],
711        strip_prefix = "http-0.2.9",
712        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.http-0.2.9.bazel"),
713    )
714
715    maybe(
716        http_archive,
717        name = "rules_rust_prost__http-body-0.4.5",
718        sha256 = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1",
719        type = "tar.gz",
720        urls = ["https://static.crates.io/crates/http-body/0.4.5/download"],
721        strip_prefix = "http-body-0.4.5",
722        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.http-body-0.4.5.bazel"),
723    )
724
725    maybe(
726        http_archive,
727        name = "rules_rust_prost__httparse-1.8.0",
728        sha256 = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904",
729        type = "tar.gz",
730        urls = ["https://static.crates.io/crates/httparse/1.8.0/download"],
731        strip_prefix = "httparse-1.8.0",
732        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.httparse-1.8.0.bazel"),
733    )
734
735    maybe(
736        http_archive,
737        name = "rules_rust_prost__httpdate-1.0.2",
738        sha256 = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421",
739        type = "tar.gz",
740        urls = ["https://static.crates.io/crates/httpdate/1.0.2/download"],
741        strip_prefix = "httpdate-1.0.2",
742        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.httpdate-1.0.2.bazel"),
743    )
744
745    maybe(
746        http_archive,
747        name = "rules_rust_prost__hyper-0.14.26",
748        sha256 = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4",
749        type = "tar.gz",
750        urls = ["https://static.crates.io/crates/hyper/0.14.26/download"],
751        strip_prefix = "hyper-0.14.26",
752        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hyper-0.14.26.bazel"),
753    )
754
755    maybe(
756        http_archive,
757        name = "rules_rust_prost__hyper-timeout-0.4.1",
758        sha256 = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1",
759        type = "tar.gz",
760        urls = ["https://static.crates.io/crates/hyper-timeout/0.4.1/download"],
761        strip_prefix = "hyper-timeout-0.4.1",
762        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.hyper-timeout-0.4.1.bazel"),
763    )
764
765    maybe(
766        http_archive,
767        name = "rules_rust_prost__indexmap-1.9.3",
768        sha256 = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99",
769        type = "tar.gz",
770        urls = ["https://static.crates.io/crates/indexmap/1.9.3/download"],
771        strip_prefix = "indexmap-1.9.3",
772        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.indexmap-1.9.3.bazel"),
773    )
774
775    maybe(
776        http_archive,
777        name = "rules_rust_prost__instant-0.1.12",
778        sha256 = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c",
779        type = "tar.gz",
780        urls = ["https://static.crates.io/crates/instant/0.1.12/download"],
781        strip_prefix = "instant-0.1.12",
782        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.instant-0.1.12.bazel"),
783    )
784
785    maybe(
786        http_archive,
787        name = "rules_rust_prost__io-lifetimes-1.0.11",
788        sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2",
789        type = "tar.gz",
790        urls = ["https://static.crates.io/crates/io-lifetimes/1.0.11/download"],
791        strip_prefix = "io-lifetimes-1.0.11",
792        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"),
793    )
794
795    maybe(
796        http_archive,
797        name = "rules_rust_prost__itertools-0.10.5",
798        sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473",
799        type = "tar.gz",
800        urls = ["https://static.crates.io/crates/itertools/0.10.5/download"],
801        strip_prefix = "itertools-0.10.5",
802        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.itertools-0.10.5.bazel"),
803    )
804
805    maybe(
806        http_archive,
807        name = "rules_rust_prost__itoa-1.0.6",
808        sha256 = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6",
809        type = "tar.gz",
810        urls = ["https://static.crates.io/crates/itoa/1.0.6/download"],
811        strip_prefix = "itoa-1.0.6",
812        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.itoa-1.0.6.bazel"),
813    )
814
815    maybe(
816        http_archive,
817        name = "rules_rust_prost__lazy_static-1.4.0",
818        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
819        type = "tar.gz",
820        urls = ["https://static.crates.io/crates/lazy_static/1.4.0/download"],
821        strip_prefix = "lazy_static-1.4.0",
822        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"),
823    )
824
825    maybe(
826        http_archive,
827        name = "rules_rust_prost__libc-0.2.146",
828        sha256 = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b",
829        type = "tar.gz",
830        urls = ["https://static.crates.io/crates/libc/0.2.146/download"],
831        strip_prefix = "libc-0.2.146",
832        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.libc-0.2.146.bazel"),
833    )
834
835    maybe(
836        http_archive,
837        name = "rules_rust_prost__linux-raw-sys-0.3.8",
838        sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519",
839        type = "tar.gz",
840        urls = ["https://static.crates.io/crates/linux-raw-sys/0.3.8/download"],
841        strip_prefix = "linux-raw-sys-0.3.8",
842        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"),
843    )
844
845    maybe(
846        http_archive,
847        name = "rules_rust_prost__lock_api-0.4.10",
848        sha256 = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16",
849        type = "tar.gz",
850        urls = ["https://static.crates.io/crates/lock_api/0.4.10/download"],
851        strip_prefix = "lock_api-0.4.10",
852        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.lock_api-0.4.10.bazel"),
853    )
854
855    maybe(
856        http_archive,
857        name = "rules_rust_prost__log-0.4.19",
858        sha256 = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4",
859        type = "tar.gz",
860        urls = ["https://static.crates.io/crates/log/0.4.19/download"],
861        strip_prefix = "log-0.4.19",
862        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.log-0.4.19.bazel"),
863    )
864
865    maybe(
866        http_archive,
867        name = "rules_rust_prost__matchit-0.7.0",
868        sha256 = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40",
869        type = "tar.gz",
870        urls = ["https://static.crates.io/crates/matchit/0.7.0/download"],
871        strip_prefix = "matchit-0.7.0",
872        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.matchit-0.7.0.bazel"),
873    )
874
875    maybe(
876        http_archive,
877        name = "rules_rust_prost__memchr-2.5.0",
878        sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d",
879        type = "tar.gz",
880        urls = ["https://static.crates.io/crates/memchr/2.5.0/download"],
881        strip_prefix = "memchr-2.5.0",
882        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.memchr-2.5.0.bazel"),
883    )
884
885    maybe(
886        http_archive,
887        name = "rules_rust_prost__mime-0.3.17",
888        sha256 = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a",
889        type = "tar.gz",
890        urls = ["https://static.crates.io/crates/mime/0.3.17/download"],
891        strip_prefix = "mime-0.3.17",
892        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.mime-0.3.17.bazel"),
893    )
894
895    maybe(
896        http_archive,
897        name = "rules_rust_prost__mio-0.8.8",
898        sha256 = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2",
899        type = "tar.gz",
900        urls = ["https://static.crates.io/crates/mio/0.8.8/download"],
901        strip_prefix = "mio-0.8.8",
902        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.mio-0.8.8.bazel"),
903    )
904
905    maybe(
906        http_archive,
907        name = "rules_rust_prost__multimap-0.8.3",
908        sha256 = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a",
909        type = "tar.gz",
910        urls = ["https://static.crates.io/crates/multimap/0.8.3/download"],
911        strip_prefix = "multimap-0.8.3",
912        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.multimap-0.8.3.bazel"),
913    )
914
915    maybe(
916        http_archive,
917        name = "rules_rust_prost__num_cpus-1.15.0",
918        sha256 = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b",
919        type = "tar.gz",
920        urls = ["https://static.crates.io/crates/num_cpus/1.15.0/download"],
921        strip_prefix = "num_cpus-1.15.0",
922        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.num_cpus-1.15.0.bazel"),
923    )
924
925    maybe(
926        http_archive,
927        name = "rules_rust_prost__once_cell-1.18.0",
928        sha256 = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d",
929        type = "tar.gz",
930        urls = ["https://static.crates.io/crates/once_cell/1.18.0/download"],
931        strip_prefix = "once_cell-1.18.0",
932        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.once_cell-1.18.0.bazel"),
933    )
934
935    maybe(
936        http_archive,
937        name = "rules_rust_prost__parking_lot-0.12.1",
938        sha256 = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f",
939        type = "tar.gz",
940        urls = ["https://static.crates.io/crates/parking_lot/0.12.1/download"],
941        strip_prefix = "parking_lot-0.12.1",
942        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.parking_lot-0.12.1.bazel"),
943    )
944
945    maybe(
946        http_archive,
947        name = "rules_rust_prost__parking_lot_core-0.9.8",
948        sha256 = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447",
949        type = "tar.gz",
950        urls = ["https://static.crates.io/crates/parking_lot_core/0.9.8/download"],
951        strip_prefix = "parking_lot_core-0.9.8",
952        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.parking_lot_core-0.9.8.bazel"),
953    )
954
955    maybe(
956        http_archive,
957        name = "rules_rust_prost__percent-encoding-2.3.0",
958        sha256 = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94",
959        type = "tar.gz",
960        urls = ["https://static.crates.io/crates/percent-encoding/2.3.0/download"],
961        strip_prefix = "percent-encoding-2.3.0",
962        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.percent-encoding-2.3.0.bazel"),
963    )
964
965    maybe(
966        http_archive,
967        name = "rules_rust_prost__petgraph-0.6.3",
968        sha256 = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4",
969        type = "tar.gz",
970        urls = ["https://static.crates.io/crates/petgraph/0.6.3/download"],
971        strip_prefix = "petgraph-0.6.3",
972        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.petgraph-0.6.3.bazel"),
973    )
974
975    maybe(
976        http_archive,
977        name = "rules_rust_prost__pin-project-1.1.0",
978        sha256 = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead",
979        type = "tar.gz",
980        urls = ["https://static.crates.io/crates/pin-project/1.1.0/download"],
981        strip_prefix = "pin-project-1.1.0",
982        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-1.1.0.bazel"),
983    )
984
985    maybe(
986        http_archive,
987        name = "rules_rust_prost__pin-project-internal-1.1.0",
988        sha256 = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07",
989        type = "tar.gz",
990        urls = ["https://static.crates.io/crates/pin-project-internal/1.1.0/download"],
991        strip_prefix = "pin-project-internal-1.1.0",
992        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-internal-1.1.0.bazel"),
993    )
994
995    maybe(
996        http_archive,
997        name = "rules_rust_prost__pin-project-lite-0.2.9",
998        sha256 = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116",
999        type = "tar.gz",
1000        urls = ["https://static.crates.io/crates/pin-project-lite/0.2.9/download"],
1001        strip_prefix = "pin-project-lite-0.2.9",
1002        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-project-lite-0.2.9.bazel"),
1003    )
1004
1005    maybe(
1006        http_archive,
1007        name = "rules_rust_prost__pin-utils-0.1.0",
1008        sha256 = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184",
1009        type = "tar.gz",
1010        urls = ["https://static.crates.io/crates/pin-utils/0.1.0/download"],
1011        strip_prefix = "pin-utils-0.1.0",
1012        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.pin-utils-0.1.0.bazel"),
1013    )
1014
1015    maybe(
1016        http_archive,
1017        name = "rules_rust_prost__ppv-lite86-0.2.17",
1018        sha256 = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de",
1019        type = "tar.gz",
1020        urls = ["https://static.crates.io/crates/ppv-lite86/0.2.17/download"],
1021        strip_prefix = "ppv-lite86-0.2.17",
1022        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.ppv-lite86-0.2.17.bazel"),
1023    )
1024
1025    maybe(
1026        http_archive,
1027        name = "rules_rust_prost__prettyplease-0.1.25",
1028        sha256 = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86",
1029        type = "tar.gz",
1030        urls = ["https://static.crates.io/crates/prettyplease/0.1.25/download"],
1031        strip_prefix = "prettyplease-0.1.25",
1032        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prettyplease-0.1.25.bazel"),
1033    )
1034
1035    maybe(
1036        http_archive,
1037        name = "rules_rust_prost__proc-macro2-1.0.60",
1038        sha256 = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406",
1039        type = "tar.gz",
1040        urls = ["https://static.crates.io/crates/proc-macro2/1.0.60/download"],
1041        strip_prefix = "proc-macro2-1.0.60",
1042        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.proc-macro2-1.0.60.bazel"),
1043    )
1044
1045    maybe(
1046        http_archive,
1047        name = "rules_rust_prost__prost-0.11.9",
1048        sha256 = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd",
1049        type = "tar.gz",
1050        urls = ["https://static.crates.io/crates/prost/0.11.9/download"],
1051        strip_prefix = "prost-0.11.9",
1052        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-0.11.9.bazel"),
1053    )
1054
1055    maybe(
1056        http_archive,
1057        name = "rules_rust_prost__prost-build-0.11.9",
1058        sha256 = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270",
1059        type = "tar.gz",
1060        urls = ["https://static.crates.io/crates/prost-build/0.11.9/download"],
1061        strip_prefix = "prost-build-0.11.9",
1062        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-build-0.11.9.bazel"),
1063    )
1064
1065    maybe(
1066        http_archive,
1067        name = "rules_rust_prost__prost-derive-0.11.9",
1068        sha256 = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4",
1069        type = "tar.gz",
1070        urls = ["https://static.crates.io/crates/prost-derive/0.11.9/download"],
1071        strip_prefix = "prost-derive-0.11.9",
1072        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-derive-0.11.9.bazel"),
1073    )
1074
1075    maybe(
1076        http_archive,
1077        name = "rules_rust_prost__prost-types-0.11.9",
1078        sha256 = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13",
1079        type = "tar.gz",
1080        urls = ["https://static.crates.io/crates/prost-types/0.11.9/download"],
1081        strip_prefix = "prost-types-0.11.9",
1082        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.prost-types-0.11.9.bazel"),
1083    )
1084
1085    maybe(
1086        http_archive,
1087        name = "rules_rust_prost__protoc-gen-prost-0.2.2",
1088        patch_args = [
1089            "-p1",
1090        ],
1091        patches = [
1092            "@rules_rust//proto/prost/private/3rdparty/patches:protoc-gen-prost.patch",
1093        ],
1094        sha256 = "a81e3a9bb429fec47008b209896f0b9ab99fbcbc1c3733b385d43fbfd64dd2ca",
1095        type = "tar.gz",
1096        urls = ["https://static.crates.io/crates/protoc-gen-prost/0.2.2/download"],
1097        strip_prefix = "protoc-gen-prost-0.2.2",
1098        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.protoc-gen-prost-0.2.2.bazel"),
1099    )
1100
1101    maybe(
1102        http_archive,
1103        name = "rules_rust_prost__protoc-gen-tonic-0.2.2",
1104        sha256 = "725a07a704f9cf7a956b302c21d81b5516ed5ee6cfbbf827edb69beeaae6cc30",
1105        type = "tar.gz",
1106        urls = ["https://static.crates.io/crates/protoc-gen-tonic/0.2.2/download"],
1107        strip_prefix = "protoc-gen-tonic-0.2.2",
1108        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.protoc-gen-tonic-0.2.2.bazel"),
1109    )
1110
1111    maybe(
1112        http_archive,
1113        name = "rules_rust_prost__quote-1.0.28",
1114        sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488",
1115        type = "tar.gz",
1116        urls = ["https://static.crates.io/crates/quote/1.0.28/download"],
1117        strip_prefix = "quote-1.0.28",
1118        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.quote-1.0.28.bazel"),
1119    )
1120
1121    maybe(
1122        http_archive,
1123        name = "rules_rust_prost__rand-0.8.5",
1124        sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404",
1125        type = "tar.gz",
1126        urls = ["https://static.crates.io/crates/rand/0.8.5/download"],
1127        strip_prefix = "rand-0.8.5",
1128        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand-0.8.5.bazel"),
1129    )
1130
1131    maybe(
1132        http_archive,
1133        name = "rules_rust_prost__rand_chacha-0.3.1",
1134        sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88",
1135        type = "tar.gz",
1136        urls = ["https://static.crates.io/crates/rand_chacha/0.3.1/download"],
1137        strip_prefix = "rand_chacha-0.3.1",
1138        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand_chacha-0.3.1.bazel"),
1139    )
1140
1141    maybe(
1142        http_archive,
1143        name = "rules_rust_prost__rand_core-0.6.4",
1144        sha256 = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c",
1145        type = "tar.gz",
1146        urls = ["https://static.crates.io/crates/rand_core/0.6.4/download"],
1147        strip_prefix = "rand_core-0.6.4",
1148        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rand_core-0.6.4.bazel"),
1149    )
1150
1151    maybe(
1152        http_archive,
1153        name = "rules_rust_prost__redox_syscall-0.3.5",
1154        sha256 = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29",
1155        type = "tar.gz",
1156        urls = ["https://static.crates.io/crates/redox_syscall/0.3.5/download"],
1157        strip_prefix = "redox_syscall-0.3.5",
1158        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.redox_syscall-0.3.5.bazel"),
1159    )
1160
1161    maybe(
1162        http_archive,
1163        name = "rules_rust_prost__regex-1.8.4",
1164        sha256 = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f",
1165        type = "tar.gz",
1166        urls = ["https://static.crates.io/crates/regex/1.8.4/download"],
1167        strip_prefix = "regex-1.8.4",
1168        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.regex-1.8.4.bazel"),
1169    )
1170
1171    maybe(
1172        http_archive,
1173        name = "rules_rust_prost__regex-syntax-0.7.2",
1174        sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78",
1175        type = "tar.gz",
1176        urls = ["https://static.crates.io/crates/regex-syntax/0.7.2/download"],
1177        strip_prefix = "regex-syntax-0.7.2",
1178        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.regex-syntax-0.7.2.bazel"),
1179    )
1180
1181    maybe(
1182        http_archive,
1183        name = "rules_rust_prost__rustix-0.37.20",
1184        sha256 = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0",
1185        type = "tar.gz",
1186        urls = ["https://static.crates.io/crates/rustix/0.37.20/download"],
1187        strip_prefix = "rustix-0.37.20",
1188        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rustix-0.37.20.bazel"),
1189    )
1190
1191    maybe(
1192        http_archive,
1193        name = "rules_rust_prost__rustversion-1.0.12",
1194        sha256 = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06",
1195        type = "tar.gz",
1196        urls = ["https://static.crates.io/crates/rustversion/1.0.12/download"],
1197        strip_prefix = "rustversion-1.0.12",
1198        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.rustversion-1.0.12.bazel"),
1199    )
1200
1201    maybe(
1202        http_archive,
1203        name = "rules_rust_prost__scopeguard-1.1.0",
1204        sha256 = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd",
1205        type = "tar.gz",
1206        urls = ["https://static.crates.io/crates/scopeguard/1.1.0/download"],
1207        strip_prefix = "scopeguard-1.1.0",
1208        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.scopeguard-1.1.0.bazel"),
1209    )
1210
1211    maybe(
1212        http_archive,
1213        name = "rules_rust_prost__serde-1.0.164",
1214        sha256 = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d",
1215        type = "tar.gz",
1216        urls = ["https://static.crates.io/crates/serde/1.0.164/download"],
1217        strip_prefix = "serde-1.0.164",
1218        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.serde-1.0.164.bazel"),
1219    )
1220
1221    maybe(
1222        http_archive,
1223        name = "rules_rust_prost__signal-hook-registry-1.4.1",
1224        sha256 = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1",
1225        type = "tar.gz",
1226        urls = ["https://static.crates.io/crates/signal-hook-registry/1.4.1/download"],
1227        strip_prefix = "signal-hook-registry-1.4.1",
1228        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.signal-hook-registry-1.4.1.bazel"),
1229    )
1230
1231    maybe(
1232        http_archive,
1233        name = "rules_rust_prost__slab-0.4.8",
1234        sha256 = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d",
1235        type = "tar.gz",
1236        urls = ["https://static.crates.io/crates/slab/0.4.8/download"],
1237        strip_prefix = "slab-0.4.8",
1238        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.slab-0.4.8.bazel"),
1239    )
1240
1241    maybe(
1242        http_archive,
1243        name = "rules_rust_prost__smallvec-1.10.0",
1244        sha256 = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0",
1245        type = "tar.gz",
1246        urls = ["https://static.crates.io/crates/smallvec/1.10.0/download"],
1247        strip_prefix = "smallvec-1.10.0",
1248        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.smallvec-1.10.0.bazel"),
1249    )
1250
1251    maybe(
1252        http_archive,
1253        name = "rules_rust_prost__socket2-0.4.9",
1254        sha256 = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662",
1255        type = "tar.gz",
1256        urls = ["https://static.crates.io/crates/socket2/0.4.9/download"],
1257        strip_prefix = "socket2-0.4.9",
1258        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.socket2-0.4.9.bazel"),
1259    )
1260
1261    maybe(
1262        http_archive,
1263        name = "rules_rust_prost__syn-1.0.109",
1264        sha256 = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237",
1265        type = "tar.gz",
1266        urls = ["https://static.crates.io/crates/syn/1.0.109/download"],
1267        strip_prefix = "syn-1.0.109",
1268        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.syn-1.0.109.bazel"),
1269    )
1270
1271    maybe(
1272        http_archive,
1273        name = "rules_rust_prost__syn-2.0.18",
1274        sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e",
1275        type = "tar.gz",
1276        urls = ["https://static.crates.io/crates/syn/2.0.18/download"],
1277        strip_prefix = "syn-2.0.18",
1278        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.syn-2.0.18.bazel"),
1279    )
1280
1281    maybe(
1282        http_archive,
1283        name = "rules_rust_prost__sync_wrapper-0.1.2",
1284        sha256 = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160",
1285        type = "tar.gz",
1286        urls = ["https://static.crates.io/crates/sync_wrapper/0.1.2/download"],
1287        strip_prefix = "sync_wrapper-0.1.2",
1288        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.sync_wrapper-0.1.2.bazel"),
1289    )
1290
1291    maybe(
1292        http_archive,
1293        name = "rules_rust_prost__tempfile-3.6.0",
1294        sha256 = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6",
1295        type = "tar.gz",
1296        urls = ["https://static.crates.io/crates/tempfile/3.6.0/download"],
1297        strip_prefix = "tempfile-3.6.0",
1298        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tempfile-3.6.0.bazel"),
1299    )
1300
1301    maybe(
1302        http_archive,
1303        name = "rules_rust_prost__tokio-1.28.2",
1304        sha256 = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2",
1305        type = "tar.gz",
1306        urls = ["https://static.crates.io/crates/tokio/1.28.2/download"],
1307        strip_prefix = "tokio-1.28.2",
1308        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-1.28.2.bazel"),
1309    )
1310
1311    maybe(
1312        http_archive,
1313        name = "rules_rust_prost__tokio-io-timeout-1.2.0",
1314        sha256 = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf",
1315        type = "tar.gz",
1316        urls = ["https://static.crates.io/crates/tokio-io-timeout/1.2.0/download"],
1317        strip_prefix = "tokio-io-timeout-1.2.0",
1318        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-io-timeout-1.2.0.bazel"),
1319    )
1320
1321    maybe(
1322        http_archive,
1323        name = "rules_rust_prost__tokio-macros-2.1.0",
1324        sha256 = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e",
1325        type = "tar.gz",
1326        urls = ["https://static.crates.io/crates/tokio-macros/2.1.0/download"],
1327        strip_prefix = "tokio-macros-2.1.0",
1328        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-macros-2.1.0.bazel"),
1329    )
1330
1331    maybe(
1332        http_archive,
1333        name = "rules_rust_prost__tokio-stream-0.1.14",
1334        sha256 = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842",
1335        type = "tar.gz",
1336        urls = ["https://static.crates.io/crates/tokio-stream/0.1.14/download"],
1337        strip_prefix = "tokio-stream-0.1.14",
1338        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-stream-0.1.14.bazel"),
1339    )
1340
1341    maybe(
1342        http_archive,
1343        name = "rules_rust_prost__tokio-util-0.7.8",
1344        sha256 = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d",
1345        type = "tar.gz",
1346        urls = ["https://static.crates.io/crates/tokio-util/0.7.8/download"],
1347        strip_prefix = "tokio-util-0.7.8",
1348        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tokio-util-0.7.8.bazel"),
1349    )
1350
1351    maybe(
1352        http_archive,
1353        name = "rules_rust_prost__tonic-0.9.2",
1354        sha256 = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a",
1355        type = "tar.gz",
1356        urls = ["https://static.crates.io/crates/tonic/0.9.2/download"],
1357        strip_prefix = "tonic-0.9.2",
1358        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tonic-0.9.2.bazel"),
1359    )
1360
1361    maybe(
1362        http_archive,
1363        name = "rules_rust_prost__tonic-build-0.8.4",
1364        sha256 = "5bf5e9b9c0f7e0a7c027dcfaba7b2c60816c7049171f679d99ee2ff65d0de8c4",
1365        type = "tar.gz",
1366        urls = ["https://static.crates.io/crates/tonic-build/0.8.4/download"],
1367        strip_prefix = "tonic-build-0.8.4",
1368        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tonic-build-0.8.4.bazel"),
1369    )
1370
1371    maybe(
1372        http_archive,
1373        name = "rules_rust_prost__tower-0.4.13",
1374        sha256 = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c",
1375        type = "tar.gz",
1376        urls = ["https://static.crates.io/crates/tower/0.4.13/download"],
1377        strip_prefix = "tower-0.4.13",
1378        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-0.4.13.bazel"),
1379    )
1380
1381    maybe(
1382        http_archive,
1383        name = "rules_rust_prost__tower-layer-0.3.2",
1384        sha256 = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0",
1385        type = "tar.gz",
1386        urls = ["https://static.crates.io/crates/tower-layer/0.3.2/download"],
1387        strip_prefix = "tower-layer-0.3.2",
1388        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-layer-0.3.2.bazel"),
1389    )
1390
1391    maybe(
1392        http_archive,
1393        name = "rules_rust_prost__tower-service-0.3.2",
1394        sha256 = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52",
1395        type = "tar.gz",
1396        urls = ["https://static.crates.io/crates/tower-service/0.3.2/download"],
1397        strip_prefix = "tower-service-0.3.2",
1398        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tower-service-0.3.2.bazel"),
1399    )
1400
1401    maybe(
1402        http_archive,
1403        name = "rules_rust_prost__tracing-0.1.37",
1404        sha256 = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8",
1405        type = "tar.gz",
1406        urls = ["https://static.crates.io/crates/tracing/0.1.37/download"],
1407        strip_prefix = "tracing-0.1.37",
1408        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-0.1.37.bazel"),
1409    )
1410
1411    maybe(
1412        http_archive,
1413        name = "rules_rust_prost__tracing-attributes-0.1.26",
1414        sha256 = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab",
1415        type = "tar.gz",
1416        urls = ["https://static.crates.io/crates/tracing-attributes/0.1.26/download"],
1417        strip_prefix = "tracing-attributes-0.1.26",
1418        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-attributes-0.1.26.bazel"),
1419    )
1420
1421    maybe(
1422        http_archive,
1423        name = "rules_rust_prost__tracing-core-0.1.31",
1424        sha256 = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a",
1425        type = "tar.gz",
1426        urls = ["https://static.crates.io/crates/tracing-core/0.1.31/download"],
1427        strip_prefix = "tracing-core-0.1.31",
1428        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.tracing-core-0.1.31.bazel"),
1429    )
1430
1431    maybe(
1432        http_archive,
1433        name = "rules_rust_prost__try-lock-0.2.4",
1434        sha256 = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed",
1435        type = "tar.gz",
1436        urls = ["https://static.crates.io/crates/try-lock/0.2.4/download"],
1437        strip_prefix = "try-lock-0.2.4",
1438        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.try-lock-0.2.4.bazel"),
1439    )
1440
1441    maybe(
1442        http_archive,
1443        name = "rules_rust_prost__unicode-ident-1.0.9",
1444        sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0",
1445        type = "tar.gz",
1446        urls = ["https://static.crates.io/crates/unicode-ident/1.0.9/download"],
1447        strip_prefix = "unicode-ident-1.0.9",
1448        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.unicode-ident-1.0.9.bazel"),
1449    )
1450
1451    maybe(
1452        http_archive,
1453        name = "rules_rust_prost__want-0.3.1",
1454        sha256 = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e",
1455        type = "tar.gz",
1456        urls = ["https://static.crates.io/crates/want/0.3.1/download"],
1457        strip_prefix = "want-0.3.1",
1458        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.want-0.3.1.bazel"),
1459    )
1460
1461    maybe(
1462        http_archive,
1463        name = "rules_rust_prost__wasi-0.11.0-wasi-snapshot-preview1",
1464        sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423",
1465        type = "tar.gz",
1466        urls = ["https://static.crates.io/crates/wasi/0.11.0+wasi-snapshot-preview1/download"],
1467        strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1",
1468        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"),
1469    )
1470
1471    maybe(
1472        http_archive,
1473        name = "rules_rust_prost__which-4.4.0",
1474        sha256 = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269",
1475        type = "tar.gz",
1476        urls = ["https://static.crates.io/crates/which/4.4.0/download"],
1477        strip_prefix = "which-4.4.0",
1478        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.which-4.4.0.bazel"),
1479    )
1480
1481    maybe(
1482        http_archive,
1483        name = "rules_rust_prost__winapi-0.3.9",
1484        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
1485        type = "tar.gz",
1486        urls = ["https://static.crates.io/crates/winapi/0.3.9/download"],
1487        strip_prefix = "winapi-0.3.9",
1488        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-0.3.9.bazel"),
1489    )
1490
1491    maybe(
1492        http_archive,
1493        name = "rules_rust_prost__winapi-i686-pc-windows-gnu-0.4.0",
1494        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
1495        type = "tar.gz",
1496        urls = ["https://static.crates.io/crates/winapi-i686-pc-windows-gnu/0.4.0/download"],
1497        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
1498        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
1499    )
1500
1501    maybe(
1502        http_archive,
1503        name = "rules_rust_prost__winapi-x86_64-pc-windows-gnu-0.4.0",
1504        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
1505        type = "tar.gz",
1506        urls = ["https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"],
1507        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
1508        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
1509    )
1510
1511    maybe(
1512        http_archive,
1513        name = "rules_rust_prost__windows-sys-0.48.0",
1514        sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9",
1515        type = "tar.gz",
1516        urls = ["https://static.crates.io/crates/windows-sys/0.48.0/download"],
1517        strip_prefix = "windows-sys-0.48.0",
1518        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"),
1519    )
1520
1521    maybe(
1522        http_archive,
1523        name = "rules_rust_prost__windows-targets-0.48.0",
1524        sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5",
1525        type = "tar.gz",
1526        urls = ["https://static.crates.io/crates/windows-targets/0.48.0/download"],
1527        strip_prefix = "windows-targets-0.48.0",
1528        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows-targets-0.48.0.bazel"),
1529    )
1530
1531    maybe(
1532        http_archive,
1533        name = "rules_rust_prost__windows_aarch64_gnullvm-0.48.0",
1534        sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc",
1535        type = "tar.gz",
1536        urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.48.0/download"],
1537        strip_prefix = "windows_aarch64_gnullvm-0.48.0",
1538        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"),
1539    )
1540
1541    maybe(
1542        http_archive,
1543        name = "rules_rust_prost__windows_aarch64_msvc-0.48.0",
1544        sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3",
1545        type = "tar.gz",
1546        urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.48.0/download"],
1547        strip_prefix = "windows_aarch64_msvc-0.48.0",
1548        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"),
1549    )
1550
1551    maybe(
1552        http_archive,
1553        name = "rules_rust_prost__windows_i686_gnu-0.48.0",
1554        sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241",
1555        type = "tar.gz",
1556        urls = ["https://static.crates.io/crates/windows_i686_gnu/0.48.0/download"],
1557        strip_prefix = "windows_i686_gnu-0.48.0",
1558        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"),
1559    )
1560
1561    maybe(
1562        http_archive,
1563        name = "rules_rust_prost__windows_i686_msvc-0.48.0",
1564        sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00",
1565        type = "tar.gz",
1566        urls = ["https://static.crates.io/crates/windows_i686_msvc/0.48.0/download"],
1567        strip_prefix = "windows_i686_msvc-0.48.0",
1568        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"),
1569    )
1570
1571    maybe(
1572        http_archive,
1573        name = "rules_rust_prost__windows_x86_64_gnu-0.48.0",
1574        sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1",
1575        type = "tar.gz",
1576        urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.48.0/download"],
1577        strip_prefix = "windows_x86_64_gnu-0.48.0",
1578        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"),
1579    )
1580
1581    maybe(
1582        http_archive,
1583        name = "rules_rust_prost__windows_x86_64_gnullvm-0.48.0",
1584        sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953",
1585        type = "tar.gz",
1586        urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.48.0/download"],
1587        strip_prefix = "windows_x86_64_gnullvm-0.48.0",
1588        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"),
1589    )
1590
1591    maybe(
1592        http_archive,
1593        name = "rules_rust_prost__windows_x86_64_msvc-0.48.0",
1594        sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a",
1595        type = "tar.gz",
1596        urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.48.0/download"],
1597        strip_prefix = "windows_x86_64_msvc-0.48.0",
1598        build_file = Label("@rules_rust//proto/prost/private/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"),
1599    )
1600
1601    return [
1602        struct(repo = "rules_rust_prost__h2-0.3.19", is_dev_dep = False),
1603        struct(repo = "rules_rust_prost__prost-0.11.9", is_dev_dep = False),
1604        struct(repo = "rules_rust_prost__prost-types-0.11.9", is_dev_dep = False),
1605        struct(repo = "rules_rust_prost__protoc-gen-prost-0.2.2", is_dev_dep = False),
1606        struct(repo = "rules_rust_prost__protoc-gen-tonic-0.2.2", is_dev_dep = False),
1607        struct(repo = "rules_rust_prost__tokio-1.28.2", is_dev_dep = False),
1608        struct(repo = "rules_rust_prost__tokio-stream-0.1.14", is_dev_dep = False),
1609        struct(repo = "rules_rust_prost__tonic-0.9.2", is_dev_dep = False),
1610    ]
1611