xref: /aosp_15_r20/external/bazelbuild-rules_rust/bindgen/3rdparty/crates/defs.bzl (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifan###############################################################################
2*d4726bddSHONG Yifan# @generated
3*d4726bddSHONG Yifan# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4*d4726bddSHONG Yifan# regenerate this file, run the following:
5*d4726bddSHONG Yifan#
6*d4726bddSHONG Yifan#     bazel run @//bindgen/3rdparty:crates_vendor
7*d4726bddSHONG Yifan###############################################################################
8*d4726bddSHONG Yifan"""
9*d4726bddSHONG Yifan# `crates_repository` API
10*d4726bddSHONG Yifan
11*d4726bddSHONG Yifan- [aliases](#aliases)
12*d4726bddSHONG Yifan- [crate_deps](#crate_deps)
13*d4726bddSHONG Yifan- [all_crate_deps](#all_crate_deps)
14*d4726bddSHONG Yifan- [crate_repositories](#crate_repositories)
15*d4726bddSHONG Yifan
16*d4726bddSHONG Yifan"""
17*d4726bddSHONG Yifan
18*d4726bddSHONG Yifanload("@bazel_skylib//lib:selects.bzl", "selects")
19*d4726bddSHONG Yifanload("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
20*d4726bddSHONG Yifanload("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
21*d4726bddSHONG Yifan
22*d4726bddSHONG Yifan###############################################################################
23*d4726bddSHONG Yifan# MACROS API
24*d4726bddSHONG Yifan###############################################################################
25*d4726bddSHONG Yifan
26*d4726bddSHONG Yifan# An identifier that represent common dependencies (unconditional).
27*d4726bddSHONG Yifan_COMMON_CONDITION = ""
28*d4726bddSHONG Yifan
29*d4726bddSHONG Yifandef _flatten_dependency_maps(all_dependency_maps):
30*d4726bddSHONG Yifan    """Flatten a list of dependency maps into one dictionary.
31*d4726bddSHONG Yifan
32*d4726bddSHONG Yifan    Dependency maps have the following structure:
33*d4726bddSHONG Yifan
34*d4726bddSHONG Yifan    ```python
35*d4726bddSHONG Yifan    DEPENDENCIES_MAP = {
36*d4726bddSHONG Yifan        # The first key in the map is a Bazel package
37*d4726bddSHONG Yifan        # name of the workspace this file is defined in.
38*d4726bddSHONG Yifan        "workspace_member_package": {
39*d4726bddSHONG Yifan
40*d4726bddSHONG Yifan            # Not all dependencies are supported for all platforms.
41*d4726bddSHONG Yifan            # the condition key is the condition required to be true
42*d4726bddSHONG Yifan            # on the host platform.
43*d4726bddSHONG Yifan            "condition": {
44*d4726bddSHONG Yifan
45*d4726bddSHONG Yifan                # An alias to a crate target.     # The label of the crate target the
46*d4726bddSHONG Yifan                # Aliases are only crate names.   # package name refers to.
47*d4726bddSHONG Yifan                "package_name":                   "@full//:label",
48*d4726bddSHONG Yifan            }
49*d4726bddSHONG Yifan        }
50*d4726bddSHONG Yifan    }
51*d4726bddSHONG Yifan    ```
52*d4726bddSHONG Yifan
53*d4726bddSHONG Yifan    Args:
54*d4726bddSHONG Yifan        all_dependency_maps (list): A list of dicts as described above
55*d4726bddSHONG Yifan
56*d4726bddSHONG Yifan    Returns:
57*d4726bddSHONG Yifan        dict: A dictionary as described above
58*d4726bddSHONG Yifan    """
59*d4726bddSHONG Yifan    dependencies = {}
60*d4726bddSHONG Yifan
61*d4726bddSHONG Yifan    for workspace_deps_map in all_dependency_maps:
62*d4726bddSHONG Yifan        for pkg_name, conditional_deps_map in workspace_deps_map.items():
63*d4726bddSHONG Yifan            if pkg_name not in dependencies:
64*d4726bddSHONG Yifan                non_frozen_map = dict()
65*d4726bddSHONG Yifan                for key, values in conditional_deps_map.items():
66*d4726bddSHONG Yifan                    non_frozen_map.update({key: dict(values.items())})
67*d4726bddSHONG Yifan                dependencies.setdefault(pkg_name, non_frozen_map)
68*d4726bddSHONG Yifan                continue
69*d4726bddSHONG Yifan
70*d4726bddSHONG Yifan            for condition, deps_map in conditional_deps_map.items():
71*d4726bddSHONG Yifan                # If the condition has not been recorded, do so and continue
72*d4726bddSHONG Yifan                if condition not in dependencies[pkg_name]:
73*d4726bddSHONG Yifan                    dependencies[pkg_name].setdefault(condition, dict(deps_map.items()))
74*d4726bddSHONG Yifan                    continue
75*d4726bddSHONG Yifan
76*d4726bddSHONG Yifan                # Alert on any miss-matched dependencies
77*d4726bddSHONG Yifan                inconsistent_entries = []
78*d4726bddSHONG Yifan                for crate_name, crate_label in deps_map.items():
79*d4726bddSHONG Yifan                    existing = dependencies[pkg_name][condition].get(crate_name)
80*d4726bddSHONG Yifan                    if existing and existing != crate_label:
81*d4726bddSHONG Yifan                        inconsistent_entries.append((crate_name, existing, crate_label))
82*d4726bddSHONG Yifan                    dependencies[pkg_name][condition].update({crate_name: crate_label})
83*d4726bddSHONG Yifan
84*d4726bddSHONG Yifan    return dependencies
85*d4726bddSHONG Yifan
86*d4726bddSHONG Yifandef crate_deps(deps, package_name = None):
87*d4726bddSHONG Yifan    """Finds the fully qualified label of the requested crates for the package where this macro is called.
88*d4726bddSHONG Yifan
89*d4726bddSHONG Yifan    Args:
90*d4726bddSHONG Yifan        deps (list): The desired list of crate targets.
91*d4726bddSHONG Yifan        package_name (str, optional): The package name of the set of dependencies to look up.
92*d4726bddSHONG Yifan            Defaults to `native.package_name()`.
93*d4726bddSHONG Yifan
94*d4726bddSHONG Yifan    Returns:
95*d4726bddSHONG Yifan        list: A list of labels to generated rust targets (str)
96*d4726bddSHONG Yifan    """
97*d4726bddSHONG Yifan
98*d4726bddSHONG Yifan    if not deps:
99*d4726bddSHONG Yifan        return []
100*d4726bddSHONG Yifan
101*d4726bddSHONG Yifan    if package_name == None:
102*d4726bddSHONG Yifan        package_name = native.package_name()
103*d4726bddSHONG Yifan
104*d4726bddSHONG Yifan    # Join both sets of dependencies
105*d4726bddSHONG Yifan    dependencies = _flatten_dependency_maps([
106*d4726bddSHONG Yifan        _NORMAL_DEPENDENCIES,
107*d4726bddSHONG Yifan        _NORMAL_DEV_DEPENDENCIES,
108*d4726bddSHONG Yifan        _PROC_MACRO_DEPENDENCIES,
109*d4726bddSHONG Yifan        _PROC_MACRO_DEV_DEPENDENCIES,
110*d4726bddSHONG Yifan        _BUILD_DEPENDENCIES,
111*d4726bddSHONG Yifan        _BUILD_PROC_MACRO_DEPENDENCIES,
112*d4726bddSHONG Yifan    ]).pop(package_name, {})
113*d4726bddSHONG Yifan
114*d4726bddSHONG Yifan    # Combine all conditional packages so we can easily index over a flat list
115*d4726bddSHONG Yifan    # TODO: Perhaps this should actually return select statements and maintain
116*d4726bddSHONG Yifan    # the conditionals of the dependencies
117*d4726bddSHONG Yifan    flat_deps = {}
118*d4726bddSHONG Yifan    for deps_set in dependencies.values():
119*d4726bddSHONG Yifan        for crate_name, crate_label in deps_set.items():
120*d4726bddSHONG Yifan            flat_deps.update({crate_name: crate_label})
121*d4726bddSHONG Yifan
122*d4726bddSHONG Yifan    missing_crates = []
123*d4726bddSHONG Yifan    crate_targets = []
124*d4726bddSHONG Yifan    for crate_target in deps:
125*d4726bddSHONG Yifan        if crate_target not in flat_deps:
126*d4726bddSHONG Yifan            missing_crates.append(crate_target)
127*d4726bddSHONG Yifan        else:
128*d4726bddSHONG Yifan            crate_targets.append(flat_deps[crate_target])
129*d4726bddSHONG Yifan
130*d4726bddSHONG Yifan    if missing_crates:
131*d4726bddSHONG Yifan        fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format(
132*d4726bddSHONG Yifan            missing_crates,
133*d4726bddSHONG Yifan            package_name,
134*d4726bddSHONG Yifan            dependencies,
135*d4726bddSHONG Yifan        ))
136*d4726bddSHONG Yifan
137*d4726bddSHONG Yifan    return crate_targets
138*d4726bddSHONG Yifan
139*d4726bddSHONG Yifandef all_crate_deps(
140*d4726bddSHONG Yifan        normal = False,
141*d4726bddSHONG Yifan        normal_dev = False,
142*d4726bddSHONG Yifan        proc_macro = False,
143*d4726bddSHONG Yifan        proc_macro_dev = False,
144*d4726bddSHONG Yifan        build = False,
145*d4726bddSHONG Yifan        build_proc_macro = False,
146*d4726bddSHONG Yifan        package_name = None):
147*d4726bddSHONG Yifan    """Finds the fully qualified label of all requested direct crate dependencies \
148*d4726bddSHONG Yifan    for the package where this macro is called.
149*d4726bddSHONG Yifan
150*d4726bddSHONG Yifan    If no parameters are set, all normal dependencies are returned. Setting any one flag will
151*d4726bddSHONG Yifan    otherwise impact the contents of the returned list.
152*d4726bddSHONG Yifan
153*d4726bddSHONG Yifan    Args:
154*d4726bddSHONG Yifan        normal (bool, optional): If True, normal dependencies are included in the
155*d4726bddSHONG Yifan            output list.
156*d4726bddSHONG Yifan        normal_dev (bool, optional): If True, normal dev dependencies will be
157*d4726bddSHONG Yifan            included in the output list..
158*d4726bddSHONG Yifan        proc_macro (bool, optional): If True, proc_macro dependencies are included
159*d4726bddSHONG Yifan            in the output list.
160*d4726bddSHONG Yifan        proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
161*d4726bddSHONG Yifan            included in the output list.
162*d4726bddSHONG Yifan        build (bool, optional): If True, build dependencies are included
163*d4726bddSHONG Yifan            in the output list.
164*d4726bddSHONG Yifan        build_proc_macro (bool, optional): If True, build proc_macro dependencies are
165*d4726bddSHONG Yifan            included in the output list.
166*d4726bddSHONG Yifan        package_name (str, optional): The package name of the set of dependencies to look up.
167*d4726bddSHONG Yifan            Defaults to `native.package_name()` when unset.
168*d4726bddSHONG Yifan
169*d4726bddSHONG Yifan    Returns:
170*d4726bddSHONG Yifan        list: A list of labels to generated rust targets (str)
171*d4726bddSHONG Yifan    """
172*d4726bddSHONG Yifan
173*d4726bddSHONG Yifan    if package_name == None:
174*d4726bddSHONG Yifan        package_name = native.package_name()
175*d4726bddSHONG Yifan
176*d4726bddSHONG Yifan    # Determine the relevant maps to use
177*d4726bddSHONG Yifan    all_dependency_maps = []
178*d4726bddSHONG Yifan    if normal:
179*d4726bddSHONG Yifan        all_dependency_maps.append(_NORMAL_DEPENDENCIES)
180*d4726bddSHONG Yifan    if normal_dev:
181*d4726bddSHONG Yifan        all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES)
182*d4726bddSHONG Yifan    if proc_macro:
183*d4726bddSHONG Yifan        all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES)
184*d4726bddSHONG Yifan    if proc_macro_dev:
185*d4726bddSHONG Yifan        all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES)
186*d4726bddSHONG Yifan    if build:
187*d4726bddSHONG Yifan        all_dependency_maps.append(_BUILD_DEPENDENCIES)
188*d4726bddSHONG Yifan    if build_proc_macro:
189*d4726bddSHONG Yifan        all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES)
190*d4726bddSHONG Yifan
191*d4726bddSHONG Yifan    # Default to always using normal dependencies
192*d4726bddSHONG Yifan    if not all_dependency_maps:
193*d4726bddSHONG Yifan        all_dependency_maps.append(_NORMAL_DEPENDENCIES)
194*d4726bddSHONG Yifan
195*d4726bddSHONG Yifan    dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None)
196*d4726bddSHONG Yifan
197*d4726bddSHONG Yifan    if not dependencies:
198*d4726bddSHONG Yifan        if dependencies == None:
199*d4726bddSHONG Yifan            fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file")
200*d4726bddSHONG Yifan        else:
201*d4726bddSHONG Yifan            return []
202*d4726bddSHONG Yifan
203*d4726bddSHONG Yifan    crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
204*d4726bddSHONG Yifan    for condition, deps in dependencies.items():
205*d4726bddSHONG Yifan        crate_deps += selects.with_or({
206*d4726bddSHONG Yifan            tuple(_CONDITIONS[condition]): deps.values(),
207*d4726bddSHONG Yifan            "//conditions:default": [],
208*d4726bddSHONG Yifan        })
209*d4726bddSHONG Yifan
210*d4726bddSHONG Yifan    return crate_deps
211*d4726bddSHONG Yifan
212*d4726bddSHONG Yifandef aliases(
213*d4726bddSHONG Yifan        normal = False,
214*d4726bddSHONG Yifan        normal_dev = False,
215*d4726bddSHONG Yifan        proc_macro = False,
216*d4726bddSHONG Yifan        proc_macro_dev = False,
217*d4726bddSHONG Yifan        build = False,
218*d4726bddSHONG Yifan        build_proc_macro = False,
219*d4726bddSHONG Yifan        package_name = None):
220*d4726bddSHONG Yifan    """Produces a map of Crate alias names to their original label
221*d4726bddSHONG Yifan
222*d4726bddSHONG Yifan    If no dependency kinds are specified, `normal` and `proc_macro` are used by default.
223*d4726bddSHONG Yifan    Setting any one flag will otherwise determine the contents of the returned dict.
224*d4726bddSHONG Yifan
225*d4726bddSHONG Yifan    Args:
226*d4726bddSHONG Yifan        normal (bool, optional): If True, normal dependencies are included in the
227*d4726bddSHONG Yifan            output list.
228*d4726bddSHONG Yifan        normal_dev (bool, optional): If True, normal dev dependencies will be
229*d4726bddSHONG Yifan            included in the output list..
230*d4726bddSHONG Yifan        proc_macro (bool, optional): If True, proc_macro dependencies are included
231*d4726bddSHONG Yifan            in the output list.
232*d4726bddSHONG Yifan        proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are
233*d4726bddSHONG Yifan            included in the output list.
234*d4726bddSHONG Yifan        build (bool, optional): If True, build dependencies are included
235*d4726bddSHONG Yifan            in the output list.
236*d4726bddSHONG Yifan        build_proc_macro (bool, optional): If True, build proc_macro dependencies are
237*d4726bddSHONG Yifan            included in the output list.
238*d4726bddSHONG Yifan        package_name (str, optional): The package name of the set of dependencies to look up.
239*d4726bddSHONG Yifan            Defaults to `native.package_name()` when unset.
240*d4726bddSHONG Yifan
241*d4726bddSHONG Yifan    Returns:
242*d4726bddSHONG Yifan        dict: The aliases of all associated packages
243*d4726bddSHONG Yifan    """
244*d4726bddSHONG Yifan    if package_name == None:
245*d4726bddSHONG Yifan        package_name = native.package_name()
246*d4726bddSHONG Yifan
247*d4726bddSHONG Yifan    # Determine the relevant maps to use
248*d4726bddSHONG Yifan    all_aliases_maps = []
249*d4726bddSHONG Yifan    if normal:
250*d4726bddSHONG Yifan        all_aliases_maps.append(_NORMAL_ALIASES)
251*d4726bddSHONG Yifan    if normal_dev:
252*d4726bddSHONG Yifan        all_aliases_maps.append(_NORMAL_DEV_ALIASES)
253*d4726bddSHONG Yifan    if proc_macro:
254*d4726bddSHONG Yifan        all_aliases_maps.append(_PROC_MACRO_ALIASES)
255*d4726bddSHONG Yifan    if proc_macro_dev:
256*d4726bddSHONG Yifan        all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES)
257*d4726bddSHONG Yifan    if build:
258*d4726bddSHONG Yifan        all_aliases_maps.append(_BUILD_ALIASES)
259*d4726bddSHONG Yifan    if build_proc_macro:
260*d4726bddSHONG Yifan        all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES)
261*d4726bddSHONG Yifan
262*d4726bddSHONG Yifan    # Default to always using normal aliases
263*d4726bddSHONG Yifan    if not all_aliases_maps:
264*d4726bddSHONG Yifan        all_aliases_maps.append(_NORMAL_ALIASES)
265*d4726bddSHONG Yifan        all_aliases_maps.append(_PROC_MACRO_ALIASES)
266*d4726bddSHONG Yifan
267*d4726bddSHONG Yifan    aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None)
268*d4726bddSHONG Yifan
269*d4726bddSHONG Yifan    if not aliases:
270*d4726bddSHONG Yifan        return dict()
271*d4726bddSHONG Yifan
272*d4726bddSHONG Yifan    common_items = aliases.pop(_COMMON_CONDITION, {}).items()
273*d4726bddSHONG Yifan
274*d4726bddSHONG Yifan    # If there are only common items in the dictionary, immediately return them
275*d4726bddSHONG Yifan    if not len(aliases.keys()) == 1:
276*d4726bddSHONG Yifan        return dict(common_items)
277*d4726bddSHONG Yifan
278*d4726bddSHONG Yifan    # Build a single select statement where each conditional has accounted for the
279*d4726bddSHONG Yifan    # common set of aliases.
280*d4726bddSHONG Yifan    crate_aliases = {"//conditions:default": dict(common_items)}
281*d4726bddSHONG Yifan    for condition, deps in aliases.items():
282*d4726bddSHONG Yifan        condition_triples = _CONDITIONS[condition]
283*d4726bddSHONG Yifan        for triple in condition_triples:
284*d4726bddSHONG Yifan            if triple in crate_aliases:
285*d4726bddSHONG Yifan                crate_aliases[triple].update(deps)
286*d4726bddSHONG Yifan            else:
287*d4726bddSHONG Yifan                crate_aliases.update({triple: dict(deps.items() + common_items)})
288*d4726bddSHONG Yifan
289*d4726bddSHONG Yifan    return select(crate_aliases)
290*d4726bddSHONG Yifan
291*d4726bddSHONG Yifan###############################################################################
292*d4726bddSHONG Yifan# WORKSPACE MEMBER DEPS AND ALIASES
293*d4726bddSHONG Yifan###############################################################################
294*d4726bddSHONG Yifan
295*d4726bddSHONG Yifan_NORMAL_DEPENDENCIES = {
296*d4726bddSHONG Yifan    "": {
297*d4726bddSHONG Yifan        _COMMON_CONDITION: {
298*d4726bddSHONG Yifan            "bindgen": Label("@rules_rust_bindgen__bindgen-0.69.1//:bindgen"),
299*d4726bddSHONG Yifan            "clang-sys": Label("@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys"),
300*d4726bddSHONG Yifan            "clap": Label("@rules_rust_bindgen__clap-4.3.3//:clap"),
301*d4726bddSHONG Yifan            "clap_complete": Label("@rules_rust_bindgen__clap_complete-4.3.1//:clap_complete"),
302*d4726bddSHONG Yifan            "env_logger": Label("@rules_rust_bindgen__env_logger-0.10.0//:env_logger"),
303*d4726bddSHONG Yifan        },
304*d4726bddSHONG Yifan    },
305*d4726bddSHONG Yifan}
306*d4726bddSHONG Yifan
307*d4726bddSHONG Yifan_NORMAL_ALIASES = {
308*d4726bddSHONG Yifan    "": {
309*d4726bddSHONG Yifan        _COMMON_CONDITION: {
310*d4726bddSHONG Yifan        },
311*d4726bddSHONG Yifan    },
312*d4726bddSHONG Yifan}
313*d4726bddSHONG Yifan
314*d4726bddSHONG Yifan_NORMAL_DEV_DEPENDENCIES = {
315*d4726bddSHONG Yifan    "": {
316*d4726bddSHONG Yifan    },
317*d4726bddSHONG Yifan}
318*d4726bddSHONG Yifan
319*d4726bddSHONG Yifan_NORMAL_DEV_ALIASES = {
320*d4726bddSHONG Yifan    "": {
321*d4726bddSHONG Yifan    },
322*d4726bddSHONG Yifan}
323*d4726bddSHONG Yifan
324*d4726bddSHONG Yifan_PROC_MACRO_DEPENDENCIES = {
325*d4726bddSHONG Yifan    "": {
326*d4726bddSHONG Yifan    },
327*d4726bddSHONG Yifan}
328*d4726bddSHONG Yifan
329*d4726bddSHONG Yifan_PROC_MACRO_ALIASES = {
330*d4726bddSHONG Yifan    "": {
331*d4726bddSHONG Yifan    },
332*d4726bddSHONG Yifan}
333*d4726bddSHONG Yifan
334*d4726bddSHONG Yifan_PROC_MACRO_DEV_DEPENDENCIES = {
335*d4726bddSHONG Yifan    "": {
336*d4726bddSHONG Yifan    },
337*d4726bddSHONG Yifan}
338*d4726bddSHONG Yifan
339*d4726bddSHONG Yifan_PROC_MACRO_DEV_ALIASES = {
340*d4726bddSHONG Yifan    "": {
341*d4726bddSHONG Yifan    },
342*d4726bddSHONG Yifan}
343*d4726bddSHONG Yifan
344*d4726bddSHONG Yifan_BUILD_DEPENDENCIES = {
345*d4726bddSHONG Yifan    "": {
346*d4726bddSHONG Yifan    },
347*d4726bddSHONG Yifan}
348*d4726bddSHONG Yifan
349*d4726bddSHONG Yifan_BUILD_ALIASES = {
350*d4726bddSHONG Yifan    "": {
351*d4726bddSHONG Yifan    },
352*d4726bddSHONG Yifan}
353*d4726bddSHONG Yifan
354*d4726bddSHONG Yifan_BUILD_PROC_MACRO_DEPENDENCIES = {
355*d4726bddSHONG Yifan    "": {
356*d4726bddSHONG Yifan    },
357*d4726bddSHONG Yifan}
358*d4726bddSHONG Yifan
359*d4726bddSHONG Yifan_BUILD_PROC_MACRO_ALIASES = {
360*d4726bddSHONG Yifan    "": {
361*d4726bddSHONG Yifan    },
362*d4726bddSHONG Yifan}
363*d4726bddSHONG Yifan
364*d4726bddSHONG Yifan_CONDITIONS = {
365*d4726bddSHONG Yifan    "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"],
366*d4726bddSHONG Yifan    "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"],
367*d4726bddSHONG Yifan    "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"],
368*d4726bddSHONG Yifan    "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"],
369*d4726bddSHONG Yifan    "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"],
370*d4726bddSHONG Yifan    "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
371*d4726bddSHONG Yifan    "aarch64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"],
372*d4726bddSHONG Yifan    "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"],
373*d4726bddSHONG Yifan    "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"],
374*d4726bddSHONG Yifan    "arm-unknown-linux-gnueabi": ["@rules_rust//rust/platform:arm-unknown-linux-gnueabi"],
375*d4726bddSHONG Yifan    "armv7-linux-androideabi": ["@rules_rust//rust/platform:armv7-linux-androideabi"],
376*d4726bddSHONG Yifan    "armv7-unknown-linux-gnueabi": ["@rules_rust//rust/platform:armv7-unknown-linux-gnueabi"],
377*d4726bddSHONG Yifan    "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"],
378*d4726bddSHONG Yifan    "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"],
379*d4726bddSHONG Yifan    "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"],
380*d4726bddSHONG Yifan    "cfg(all(target_arch = \"aarch64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
381*d4726bddSHONG Yifan    "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
382*d4726bddSHONG Yifan    "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
383*d4726bddSHONG Yifan    "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
384*d4726bddSHONG Yifan    "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"],
385*d4726bddSHONG Yifan    "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
386*d4726bddSHONG Yifan    "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
387*d4726bddSHONG Yifan    "cfg(not(any(windows, target_os = \"hermit\", target_os = \"unknown\")))": ["@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-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"],
388*d4726bddSHONG Yifan    "cfg(target_os = \"dragonfly\")": [],
389*d4726bddSHONG Yifan    "cfg(target_os = \"hermit\")": [],
390*d4726bddSHONG Yifan    "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"],
391*d4726bddSHONG Yifan    "cfg(target_os = \"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"],
392*d4726bddSHONG Yifan    "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"],
393*d4726bddSHONG Yifan    "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"],
394*d4726bddSHONG Yifan    "i686-apple-darwin": ["@rules_rust//rust/platform:i686-apple-darwin"],
395*d4726bddSHONG Yifan    "i686-linux-android": ["@rules_rust//rust/platform:i686-linux-android"],
396*d4726bddSHONG Yifan    "i686-pc-windows-gnu": [],
397*d4726bddSHONG Yifan    "i686-pc-windows-msvc": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
398*d4726bddSHONG Yifan    "i686-unknown-freebsd": ["@rules_rust//rust/platform:i686-unknown-freebsd"],
399*d4726bddSHONG Yifan    "i686-unknown-linux-gnu": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
400*d4726bddSHONG Yifan    "powerpc-unknown-linux-gnu": ["@rules_rust//rust/platform:powerpc-unknown-linux-gnu"],
401*d4726bddSHONG Yifan    "riscv32imc-unknown-none-elf": ["@rules_rust//rust/platform:riscv32imc-unknown-none-elf"],
402*d4726bddSHONG Yifan    "riscv64gc-unknown-none-elf": ["@rules_rust//rust/platform:riscv64gc-unknown-none-elf"],
403*d4726bddSHONG Yifan    "s390x-unknown-linux-gnu": ["@rules_rust//rust/platform:s390x-unknown-linux-gnu"],
404*d4726bddSHONG Yifan    "thumbv7em-none-eabi": ["@rules_rust//rust/platform:thumbv7em-none-eabi"],
405*d4726bddSHONG Yifan    "thumbv8m.main-none-eabi": ["@rules_rust//rust/platform:thumbv8m.main-none-eabi"],
406*d4726bddSHONG Yifan    "wasm32-unknown-unknown": ["@rules_rust//rust/platform:wasm32-unknown-unknown"],
407*d4726bddSHONG Yifan    "wasm32-wasi": ["@rules_rust//rust/platform:wasm32-wasi"],
408*d4726bddSHONG Yifan    "x86_64-apple-darwin": ["@rules_rust//rust/platform:x86_64-apple-darwin"],
409*d4726bddSHONG Yifan    "x86_64-apple-ios": ["@rules_rust//rust/platform:x86_64-apple-ios"],
410*d4726bddSHONG Yifan    "x86_64-fuchsia": ["@rules_rust//rust/platform:x86_64-fuchsia"],
411*d4726bddSHONG Yifan    "x86_64-linux-android": ["@rules_rust//rust/platform:x86_64-linux-android"],
412*d4726bddSHONG Yifan    "x86_64-pc-windows-gnu": [],
413*d4726bddSHONG Yifan    "x86_64-pc-windows-msvc": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
414*d4726bddSHONG Yifan    "x86_64-unknown-freebsd": ["@rules_rust//rust/platform:x86_64-unknown-freebsd"],
415*d4726bddSHONG Yifan    "x86_64-unknown-linux-gnu": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
416*d4726bddSHONG Yifan    "x86_64-unknown-nixos-gnu": ["@rules_rust//rust/platform:x86_64-unknown-nixos-gnu"],
417*d4726bddSHONG Yifan    "x86_64-unknown-none": ["@rules_rust//rust/platform:x86_64-unknown-none"],
418*d4726bddSHONG Yifan}
419*d4726bddSHONG Yifan
420*d4726bddSHONG Yifan###############################################################################
421*d4726bddSHONG Yifan
422*d4726bddSHONG Yifandef crate_repositories():
423*d4726bddSHONG Yifan    """A macro for defining repositories for all generated crates.
424*d4726bddSHONG Yifan
425*d4726bddSHONG Yifan    Returns:
426*d4726bddSHONG Yifan      A list of repos visible to the module through the module extension.
427*d4726bddSHONG Yifan    """
428*d4726bddSHONG Yifan    maybe(
429*d4726bddSHONG Yifan        http_archive,
430*d4726bddSHONG Yifan        name = "rules_rust_bindgen__aho-corasick-1.0.2",
431*d4726bddSHONG Yifan        sha256 = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41",
432*d4726bddSHONG Yifan        type = "tar.gz",
433*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/aho-corasick/1.0.2/download"],
434*d4726bddSHONG Yifan        strip_prefix = "aho-corasick-1.0.2",
435*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.aho-corasick-1.0.2.bazel"),
436*d4726bddSHONG Yifan    )
437*d4726bddSHONG Yifan
438*d4726bddSHONG Yifan    maybe(
439*d4726bddSHONG Yifan        http_archive,
440*d4726bddSHONG Yifan        name = "rules_rust_bindgen__annotate-snippets-0.9.1",
441*d4726bddSHONG Yifan        sha256 = "c3b9d411ecbaf79885c6df4d75fff75858d5995ff25385657a28af47e82f9c36",
442*d4726bddSHONG Yifan        type = "tar.gz",
443*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/annotate-snippets/0.9.1/download"],
444*d4726bddSHONG Yifan        strip_prefix = "annotate-snippets-0.9.1",
445*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.annotate-snippets-0.9.1.bazel"),
446*d4726bddSHONG Yifan    )
447*d4726bddSHONG Yifan
448*d4726bddSHONG Yifan    maybe(
449*d4726bddSHONG Yifan        http_archive,
450*d4726bddSHONG Yifan        name = "rules_rust_bindgen__anstream-0.3.2",
451*d4726bddSHONG Yifan        sha256 = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163",
452*d4726bddSHONG Yifan        type = "tar.gz",
453*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/anstream/0.3.2/download"],
454*d4726bddSHONG Yifan        strip_prefix = "anstream-0.3.2",
455*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstream-0.3.2.bazel"),
456*d4726bddSHONG Yifan    )
457*d4726bddSHONG Yifan
458*d4726bddSHONG Yifan    maybe(
459*d4726bddSHONG Yifan        http_archive,
460*d4726bddSHONG Yifan        name = "rules_rust_bindgen__anstyle-1.0.0",
461*d4726bddSHONG Yifan        sha256 = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d",
462*d4726bddSHONG Yifan        type = "tar.gz",
463*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/anstyle/1.0.0/download"],
464*d4726bddSHONG Yifan        strip_prefix = "anstyle-1.0.0",
465*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-1.0.0.bazel"),
466*d4726bddSHONG Yifan    )
467*d4726bddSHONG Yifan
468*d4726bddSHONG Yifan    maybe(
469*d4726bddSHONG Yifan        http_archive,
470*d4726bddSHONG Yifan        name = "rules_rust_bindgen__anstyle-parse-0.2.0",
471*d4726bddSHONG Yifan        sha256 = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee",
472*d4726bddSHONG Yifan        type = "tar.gz",
473*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/anstyle-parse/0.2.0/download"],
474*d4726bddSHONG Yifan        strip_prefix = "anstyle-parse-0.2.0",
475*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-parse-0.2.0.bazel"),
476*d4726bddSHONG Yifan    )
477*d4726bddSHONG Yifan
478*d4726bddSHONG Yifan    maybe(
479*d4726bddSHONG Yifan        http_archive,
480*d4726bddSHONG Yifan        name = "rules_rust_bindgen__anstyle-query-1.0.0",
481*d4726bddSHONG Yifan        sha256 = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b",
482*d4726bddSHONG Yifan        type = "tar.gz",
483*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/anstyle-query/1.0.0/download"],
484*d4726bddSHONG Yifan        strip_prefix = "anstyle-query-1.0.0",
485*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-query-1.0.0.bazel"),
486*d4726bddSHONG Yifan    )
487*d4726bddSHONG Yifan
488*d4726bddSHONG Yifan    maybe(
489*d4726bddSHONG Yifan        http_archive,
490*d4726bddSHONG Yifan        name = "rules_rust_bindgen__anstyle-wincon-1.0.1",
491*d4726bddSHONG Yifan        sha256 = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188",
492*d4726bddSHONG Yifan        type = "tar.gz",
493*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/anstyle-wincon/1.0.1/download"],
494*d4726bddSHONG Yifan        strip_prefix = "anstyle-wincon-1.0.1",
495*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-wincon-1.0.1.bazel"),
496*d4726bddSHONG Yifan    )
497*d4726bddSHONG Yifan
498*d4726bddSHONG Yifan    maybe(
499*d4726bddSHONG Yifan        http_archive,
500*d4726bddSHONG Yifan        name = "rules_rust_bindgen__bindgen-0.69.1",
501*d4726bddSHONG Yifan        sha256 = "9ffcebc3849946a7170a05992aac39da343a90676ab392c51a4280981d6379c2",
502*d4726bddSHONG Yifan        type = "tar.gz",
503*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/bindgen/0.69.1/download"],
504*d4726bddSHONG Yifan        strip_prefix = "bindgen-0.69.1",
505*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bindgen-0.69.1.bazel"),
506*d4726bddSHONG Yifan    )
507*d4726bddSHONG Yifan
508*d4726bddSHONG Yifan    maybe(
509*d4726bddSHONG Yifan        http_archive,
510*d4726bddSHONG Yifan        name = "rules_rust_bindgen__bitflags-1.3.2",
511*d4726bddSHONG Yifan        sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
512*d4726bddSHONG Yifan        type = "tar.gz",
513*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"],
514*d4726bddSHONG Yifan        strip_prefix = "bitflags-1.3.2",
515*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"),
516*d4726bddSHONG Yifan    )
517*d4726bddSHONG Yifan
518*d4726bddSHONG Yifan    maybe(
519*d4726bddSHONG Yifan        http_archive,
520*d4726bddSHONG Yifan        name = "rules_rust_bindgen__bitflags-2.4.1",
521*d4726bddSHONG Yifan        sha256 = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07",
522*d4726bddSHONG Yifan        type = "tar.gz",
523*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/bitflags/2.4.1/download"],
524*d4726bddSHONG Yifan        strip_prefix = "bitflags-2.4.1",
525*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bitflags-2.4.1.bazel"),
526*d4726bddSHONG Yifan    )
527*d4726bddSHONG Yifan
528*d4726bddSHONG Yifan    maybe(
529*d4726bddSHONG Yifan        http_archive,
530*d4726bddSHONG Yifan        name = "rules_rust_bindgen__cc-1.0.79",
531*d4726bddSHONG Yifan        sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f",
532*d4726bddSHONG Yifan        type = "tar.gz",
533*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/cc/1.0.79/download"],
534*d4726bddSHONG Yifan        strip_prefix = "cc-1.0.79",
535*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cc-1.0.79.bazel"),
536*d4726bddSHONG Yifan    )
537*d4726bddSHONG Yifan
538*d4726bddSHONG Yifan    maybe(
539*d4726bddSHONG Yifan        http_archive,
540*d4726bddSHONG Yifan        name = "rules_rust_bindgen__cexpr-0.6.0",
541*d4726bddSHONG Yifan        sha256 = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766",
542*d4726bddSHONG Yifan        type = "tar.gz",
543*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/cexpr/0.6.0/download"],
544*d4726bddSHONG Yifan        strip_prefix = "cexpr-0.6.0",
545*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cexpr-0.6.0.bazel"),
546*d4726bddSHONG Yifan    )
547*d4726bddSHONG Yifan
548*d4726bddSHONG Yifan    maybe(
549*d4726bddSHONG Yifan        http_archive,
550*d4726bddSHONG Yifan        name = "rules_rust_bindgen__cfg-if-1.0.0",
551*d4726bddSHONG Yifan        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
552*d4726bddSHONG Yifan        type = "tar.gz",
553*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/cfg-if/1.0.0/download"],
554*d4726bddSHONG Yifan        strip_prefix = "cfg-if-1.0.0",
555*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"),
556*d4726bddSHONG Yifan    )
557*d4726bddSHONG Yifan
558*d4726bddSHONG Yifan    maybe(
559*d4726bddSHONG Yifan        http_archive,
560*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clang-sys-1.6.1",
561*d4726bddSHONG Yifan        sha256 = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f",
562*d4726bddSHONG Yifan        type = "tar.gz",
563*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clang-sys/1.6.1/download"],
564*d4726bddSHONG Yifan        strip_prefix = "clang-sys-1.6.1",
565*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clang-sys-1.6.1.bazel"),
566*d4726bddSHONG Yifan    )
567*d4726bddSHONG Yifan
568*d4726bddSHONG Yifan    maybe(
569*d4726bddSHONG Yifan        http_archive,
570*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clap-4.3.3",
571*d4726bddSHONG Yifan        sha256 = "ca8f255e4b8027970e78db75e78831229c9815fdbfa67eb1a1b777a62e24b4a0",
572*d4726bddSHONG Yifan        type = "tar.gz",
573*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clap/4.3.3/download"],
574*d4726bddSHONG Yifan        strip_prefix = "clap-4.3.3",
575*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap-4.3.3.bazel"),
576*d4726bddSHONG Yifan    )
577*d4726bddSHONG Yifan
578*d4726bddSHONG Yifan    maybe(
579*d4726bddSHONG Yifan        http_archive,
580*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clap_builder-4.3.3",
581*d4726bddSHONG Yifan        sha256 = "acd4f3c17c83b0ba34ffbc4f8bbd74f079413f747f84a6f89292f138057e36ab",
582*d4726bddSHONG Yifan        type = "tar.gz",
583*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clap_builder/4.3.3/download"],
584*d4726bddSHONG Yifan        strip_prefix = "clap_builder-4.3.3",
585*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_builder-4.3.3.bazel"),
586*d4726bddSHONG Yifan    )
587*d4726bddSHONG Yifan
588*d4726bddSHONG Yifan    maybe(
589*d4726bddSHONG Yifan        http_archive,
590*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clap_complete-4.3.1",
591*d4726bddSHONG Yifan        sha256 = "7f6b5c519bab3ea61843a7923d074b04245624bb84a64a8c150f5deb014e388b",
592*d4726bddSHONG Yifan        type = "tar.gz",
593*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clap_complete/4.3.1/download"],
594*d4726bddSHONG Yifan        strip_prefix = "clap_complete-4.3.1",
595*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_complete-4.3.1.bazel"),
596*d4726bddSHONG Yifan    )
597*d4726bddSHONG Yifan
598*d4726bddSHONG Yifan    maybe(
599*d4726bddSHONG Yifan        http_archive,
600*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clap_derive-4.3.2",
601*d4726bddSHONG Yifan        sha256 = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f",
602*d4726bddSHONG Yifan        type = "tar.gz",
603*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clap_derive/4.3.2/download"],
604*d4726bddSHONG Yifan        strip_prefix = "clap_derive-4.3.2",
605*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_derive-4.3.2.bazel"),
606*d4726bddSHONG Yifan    )
607*d4726bddSHONG Yifan
608*d4726bddSHONG Yifan    maybe(
609*d4726bddSHONG Yifan        http_archive,
610*d4726bddSHONG Yifan        name = "rules_rust_bindgen__clap_lex-0.5.0",
611*d4726bddSHONG Yifan        sha256 = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b",
612*d4726bddSHONG Yifan        type = "tar.gz",
613*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/clap_lex/0.5.0/download"],
614*d4726bddSHONG Yifan        strip_prefix = "clap_lex-0.5.0",
615*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_lex-0.5.0.bazel"),
616*d4726bddSHONG Yifan    )
617*d4726bddSHONG Yifan
618*d4726bddSHONG Yifan    maybe(
619*d4726bddSHONG Yifan        http_archive,
620*d4726bddSHONG Yifan        name = "rules_rust_bindgen__colorchoice-1.0.0",
621*d4726bddSHONG Yifan        sha256 = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7",
622*d4726bddSHONG Yifan        type = "tar.gz",
623*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/colorchoice/1.0.0/download"],
624*d4726bddSHONG Yifan        strip_prefix = "colorchoice-1.0.0",
625*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.colorchoice-1.0.0.bazel"),
626*d4726bddSHONG Yifan    )
627*d4726bddSHONG Yifan
628*d4726bddSHONG Yifan    maybe(
629*d4726bddSHONG Yifan        http_archive,
630*d4726bddSHONG Yifan        name = "rules_rust_bindgen__env_logger-0.10.0",
631*d4726bddSHONG Yifan        sha256 = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0",
632*d4726bddSHONG Yifan        type = "tar.gz",
633*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/env_logger/0.10.0/download"],
634*d4726bddSHONG Yifan        strip_prefix = "env_logger-0.10.0",
635*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.env_logger-0.10.0.bazel"),
636*d4726bddSHONG Yifan    )
637*d4726bddSHONG Yifan
638*d4726bddSHONG Yifan    maybe(
639*d4726bddSHONG Yifan        http_archive,
640*d4726bddSHONG Yifan        name = "rules_rust_bindgen__errno-0.3.1",
641*d4726bddSHONG Yifan        sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a",
642*d4726bddSHONG Yifan        type = "tar.gz",
643*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/errno/0.3.1/download"],
644*d4726bddSHONG Yifan        strip_prefix = "errno-0.3.1",
645*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.errno-0.3.1.bazel"),
646*d4726bddSHONG Yifan    )
647*d4726bddSHONG Yifan
648*d4726bddSHONG Yifan    maybe(
649*d4726bddSHONG Yifan        http_archive,
650*d4726bddSHONG Yifan        name = "rules_rust_bindgen__errno-dragonfly-0.1.2",
651*d4726bddSHONG Yifan        sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf",
652*d4726bddSHONG Yifan        type = "tar.gz",
653*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/errno-dragonfly/0.1.2/download"],
654*d4726bddSHONG Yifan        strip_prefix = "errno-dragonfly-0.1.2",
655*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.errno-dragonfly-0.1.2.bazel"),
656*d4726bddSHONG Yifan    )
657*d4726bddSHONG Yifan
658*d4726bddSHONG Yifan    maybe(
659*d4726bddSHONG Yifan        http_archive,
660*d4726bddSHONG Yifan        name = "rules_rust_bindgen__glob-0.3.1",
661*d4726bddSHONG Yifan        sha256 = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b",
662*d4726bddSHONG Yifan        type = "tar.gz",
663*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/glob/0.3.1/download"],
664*d4726bddSHONG Yifan        strip_prefix = "glob-0.3.1",
665*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.glob-0.3.1.bazel"),
666*d4726bddSHONG Yifan    )
667*d4726bddSHONG Yifan
668*d4726bddSHONG Yifan    maybe(
669*d4726bddSHONG Yifan        http_archive,
670*d4726bddSHONG Yifan        name = "rules_rust_bindgen__heck-0.4.1",
671*d4726bddSHONG Yifan        sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8",
672*d4726bddSHONG Yifan        type = "tar.gz",
673*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/heck/0.4.1/download"],
674*d4726bddSHONG Yifan        strip_prefix = "heck-0.4.1",
675*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.heck-0.4.1.bazel"),
676*d4726bddSHONG Yifan    )
677*d4726bddSHONG Yifan
678*d4726bddSHONG Yifan    maybe(
679*d4726bddSHONG Yifan        http_archive,
680*d4726bddSHONG Yifan        name = "rules_rust_bindgen__hermit-abi-0.3.1",
681*d4726bddSHONG Yifan        sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286",
682*d4726bddSHONG Yifan        type = "tar.gz",
683*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/hermit-abi/0.3.1/download"],
684*d4726bddSHONG Yifan        strip_prefix = "hermit-abi-0.3.1",
685*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.hermit-abi-0.3.1.bazel"),
686*d4726bddSHONG Yifan    )
687*d4726bddSHONG Yifan
688*d4726bddSHONG Yifan    maybe(
689*d4726bddSHONG Yifan        http_archive,
690*d4726bddSHONG Yifan        name = "rules_rust_bindgen__humantime-2.1.0",
691*d4726bddSHONG Yifan        sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
692*d4726bddSHONG Yifan        type = "tar.gz",
693*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/humantime/2.1.0/download"],
694*d4726bddSHONG Yifan        strip_prefix = "humantime-2.1.0",
695*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.humantime-2.1.0.bazel"),
696*d4726bddSHONG Yifan    )
697*d4726bddSHONG Yifan
698*d4726bddSHONG Yifan    maybe(
699*d4726bddSHONG Yifan        http_archive,
700*d4726bddSHONG Yifan        name = "rules_rust_bindgen__io-lifetimes-1.0.11",
701*d4726bddSHONG Yifan        sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2",
702*d4726bddSHONG Yifan        type = "tar.gz",
703*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/io-lifetimes/1.0.11/download"],
704*d4726bddSHONG Yifan        strip_prefix = "io-lifetimes-1.0.11",
705*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"),
706*d4726bddSHONG Yifan    )
707*d4726bddSHONG Yifan
708*d4726bddSHONG Yifan    maybe(
709*d4726bddSHONG Yifan        http_archive,
710*d4726bddSHONG Yifan        name = "rules_rust_bindgen__is-terminal-0.4.7",
711*d4726bddSHONG Yifan        sha256 = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f",
712*d4726bddSHONG Yifan        type = "tar.gz",
713*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/is-terminal/0.4.7/download"],
714*d4726bddSHONG Yifan        strip_prefix = "is-terminal-0.4.7",
715*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.is-terminal-0.4.7.bazel"),
716*d4726bddSHONG Yifan    )
717*d4726bddSHONG Yifan
718*d4726bddSHONG Yifan    maybe(
719*d4726bddSHONG Yifan        http_archive,
720*d4726bddSHONG Yifan        name = "rules_rust_bindgen__lazy_static-1.4.0",
721*d4726bddSHONG Yifan        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
722*d4726bddSHONG Yifan        type = "tar.gz",
723*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/lazy_static/1.4.0/download"],
724*d4726bddSHONG Yifan        strip_prefix = "lazy_static-1.4.0",
725*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel"),
726*d4726bddSHONG Yifan    )
727*d4726bddSHONG Yifan
728*d4726bddSHONG Yifan    maybe(
729*d4726bddSHONG Yifan        http_archive,
730*d4726bddSHONG Yifan        name = "rules_rust_bindgen__lazycell-1.3.0",
731*d4726bddSHONG Yifan        sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55",
732*d4726bddSHONG Yifan        type = "tar.gz",
733*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/lazycell/1.3.0/download"],
734*d4726bddSHONG Yifan        strip_prefix = "lazycell-1.3.0",
735*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.lazycell-1.3.0.bazel"),
736*d4726bddSHONG Yifan    )
737*d4726bddSHONG Yifan
738*d4726bddSHONG Yifan    maybe(
739*d4726bddSHONG Yifan        http_archive,
740*d4726bddSHONG Yifan        name = "rules_rust_bindgen__libc-0.2.146",
741*d4726bddSHONG Yifan        sha256 = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b",
742*d4726bddSHONG Yifan        type = "tar.gz",
743*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/libc/0.2.146/download"],
744*d4726bddSHONG Yifan        strip_prefix = "libc-0.2.146",
745*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libc-0.2.146.bazel"),
746*d4726bddSHONG Yifan    )
747*d4726bddSHONG Yifan
748*d4726bddSHONG Yifan    maybe(
749*d4726bddSHONG Yifan        http_archive,
750*d4726bddSHONG Yifan        name = "rules_rust_bindgen__libloading-0.7.4",
751*d4726bddSHONG Yifan        sha256 = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f",
752*d4726bddSHONG Yifan        type = "tar.gz",
753*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/libloading/0.7.4/download"],
754*d4726bddSHONG Yifan        strip_prefix = "libloading-0.7.4",
755*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libloading-0.7.4.bazel"),
756*d4726bddSHONG Yifan    )
757*d4726bddSHONG Yifan
758*d4726bddSHONG Yifan    maybe(
759*d4726bddSHONG Yifan        http_archive,
760*d4726bddSHONG Yifan        name = "rules_rust_bindgen__linux-raw-sys-0.3.8",
761*d4726bddSHONG Yifan        sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519",
762*d4726bddSHONG Yifan        type = "tar.gz",
763*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/linux-raw-sys/0.3.8/download"],
764*d4726bddSHONG Yifan        strip_prefix = "linux-raw-sys-0.3.8",
765*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"),
766*d4726bddSHONG Yifan    )
767*d4726bddSHONG Yifan
768*d4726bddSHONG Yifan    maybe(
769*d4726bddSHONG Yifan        http_archive,
770*d4726bddSHONG Yifan        name = "rules_rust_bindgen__log-0.4.19",
771*d4726bddSHONG Yifan        sha256 = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4",
772*d4726bddSHONG Yifan        type = "tar.gz",
773*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/log/0.4.19/download"],
774*d4726bddSHONG Yifan        strip_prefix = "log-0.4.19",
775*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.log-0.4.19.bazel"),
776*d4726bddSHONG Yifan    )
777*d4726bddSHONG Yifan
778*d4726bddSHONG Yifan    maybe(
779*d4726bddSHONG Yifan        http_archive,
780*d4726bddSHONG Yifan        name = "rules_rust_bindgen__memchr-2.5.0",
781*d4726bddSHONG Yifan        sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d",
782*d4726bddSHONG Yifan        type = "tar.gz",
783*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/memchr/2.5.0/download"],
784*d4726bddSHONG Yifan        strip_prefix = "memchr-2.5.0",
785*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.memchr-2.5.0.bazel"),
786*d4726bddSHONG Yifan    )
787*d4726bddSHONG Yifan
788*d4726bddSHONG Yifan    maybe(
789*d4726bddSHONG Yifan        http_archive,
790*d4726bddSHONG Yifan        name = "rules_rust_bindgen__minimal-lexical-0.2.1",
791*d4726bddSHONG Yifan        sha256 = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a",
792*d4726bddSHONG Yifan        type = "tar.gz",
793*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/minimal-lexical/0.2.1/download"],
794*d4726bddSHONG Yifan        strip_prefix = "minimal-lexical-0.2.1",
795*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.minimal-lexical-0.2.1.bazel"),
796*d4726bddSHONG Yifan    )
797*d4726bddSHONG Yifan
798*d4726bddSHONG Yifan    maybe(
799*d4726bddSHONG Yifan        http_archive,
800*d4726bddSHONG Yifan        name = "rules_rust_bindgen__nom-7.1.3",
801*d4726bddSHONG Yifan        sha256 = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a",
802*d4726bddSHONG Yifan        type = "tar.gz",
803*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/nom/7.1.3/download"],
804*d4726bddSHONG Yifan        strip_prefix = "nom-7.1.3",
805*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.nom-7.1.3.bazel"),
806*d4726bddSHONG Yifan    )
807*d4726bddSHONG Yifan
808*d4726bddSHONG Yifan    maybe(
809*d4726bddSHONG Yifan        http_archive,
810*d4726bddSHONG Yifan        name = "rules_rust_bindgen__once_cell-1.18.0",
811*d4726bddSHONG Yifan        sha256 = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d",
812*d4726bddSHONG Yifan        type = "tar.gz",
813*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/once_cell/1.18.0/download"],
814*d4726bddSHONG Yifan        strip_prefix = "once_cell-1.18.0",
815*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.once_cell-1.18.0.bazel"),
816*d4726bddSHONG Yifan    )
817*d4726bddSHONG Yifan
818*d4726bddSHONG Yifan    maybe(
819*d4726bddSHONG Yifan        http_archive,
820*d4726bddSHONG Yifan        name = "rules_rust_bindgen__peeking_take_while-0.1.2",
821*d4726bddSHONG Yifan        sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099",
822*d4726bddSHONG Yifan        type = "tar.gz",
823*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/peeking_take_while/0.1.2/download"],
824*d4726bddSHONG Yifan        strip_prefix = "peeking_take_while-0.1.2",
825*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.peeking_take_while-0.1.2.bazel"),
826*d4726bddSHONG Yifan    )
827*d4726bddSHONG Yifan
828*d4726bddSHONG Yifan    maybe(
829*d4726bddSHONG Yifan        http_archive,
830*d4726bddSHONG Yifan        name = "rules_rust_bindgen__proc-macro2-1.0.60",
831*d4726bddSHONG Yifan        sha256 = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406",
832*d4726bddSHONG Yifan        type = "tar.gz",
833*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/proc-macro2/1.0.60/download"],
834*d4726bddSHONG Yifan        strip_prefix = "proc-macro2-1.0.60",
835*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.proc-macro2-1.0.60.bazel"),
836*d4726bddSHONG Yifan    )
837*d4726bddSHONG Yifan
838*d4726bddSHONG Yifan    maybe(
839*d4726bddSHONG Yifan        http_archive,
840*d4726bddSHONG Yifan        name = "rules_rust_bindgen__quote-1.0.28",
841*d4726bddSHONG Yifan        sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488",
842*d4726bddSHONG Yifan        type = "tar.gz",
843*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/quote/1.0.28/download"],
844*d4726bddSHONG Yifan        strip_prefix = "quote-1.0.28",
845*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.quote-1.0.28.bazel"),
846*d4726bddSHONG Yifan    )
847*d4726bddSHONG Yifan
848*d4726bddSHONG Yifan    maybe(
849*d4726bddSHONG Yifan        http_archive,
850*d4726bddSHONG Yifan        name = "rules_rust_bindgen__regex-1.8.4",
851*d4726bddSHONG Yifan        sha256 = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f",
852*d4726bddSHONG Yifan        type = "tar.gz",
853*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/regex/1.8.4/download"],
854*d4726bddSHONG Yifan        strip_prefix = "regex-1.8.4",
855*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-1.8.4.bazel"),
856*d4726bddSHONG Yifan    )
857*d4726bddSHONG Yifan
858*d4726bddSHONG Yifan    maybe(
859*d4726bddSHONG Yifan        http_archive,
860*d4726bddSHONG Yifan        name = "rules_rust_bindgen__regex-syntax-0.7.2",
861*d4726bddSHONG Yifan        sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78",
862*d4726bddSHONG Yifan        type = "tar.gz",
863*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/regex-syntax/0.7.2/download"],
864*d4726bddSHONG Yifan        strip_prefix = "regex-syntax-0.7.2",
865*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-syntax-0.7.2.bazel"),
866*d4726bddSHONG Yifan    )
867*d4726bddSHONG Yifan
868*d4726bddSHONG Yifan    maybe(
869*d4726bddSHONG Yifan        http_archive,
870*d4726bddSHONG Yifan        name = "rules_rust_bindgen__rustc-hash-1.1.0",
871*d4726bddSHONG Yifan        sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2",
872*d4726bddSHONG Yifan        type = "tar.gz",
873*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/rustc-hash/1.1.0/download"],
874*d4726bddSHONG Yifan        strip_prefix = "rustc-hash-1.1.0",
875*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.rustc-hash-1.1.0.bazel"),
876*d4726bddSHONG Yifan    )
877*d4726bddSHONG Yifan
878*d4726bddSHONG Yifan    maybe(
879*d4726bddSHONG Yifan        http_archive,
880*d4726bddSHONG Yifan        name = "rules_rust_bindgen__rustix-0.37.20",
881*d4726bddSHONG Yifan        sha256 = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0",
882*d4726bddSHONG Yifan        type = "tar.gz",
883*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/rustix/0.37.20/download"],
884*d4726bddSHONG Yifan        strip_prefix = "rustix-0.37.20",
885*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.rustix-0.37.20.bazel"),
886*d4726bddSHONG Yifan    )
887*d4726bddSHONG Yifan
888*d4726bddSHONG Yifan    maybe(
889*d4726bddSHONG Yifan        http_archive,
890*d4726bddSHONG Yifan        name = "rules_rust_bindgen__shlex-1.1.0",
891*d4726bddSHONG Yifan        sha256 = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3",
892*d4726bddSHONG Yifan        type = "tar.gz",
893*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/shlex/1.1.0/download"],
894*d4726bddSHONG Yifan        strip_prefix = "shlex-1.1.0",
895*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.shlex-1.1.0.bazel"),
896*d4726bddSHONG Yifan    )
897*d4726bddSHONG Yifan
898*d4726bddSHONG Yifan    maybe(
899*d4726bddSHONG Yifan        http_archive,
900*d4726bddSHONG Yifan        name = "rules_rust_bindgen__strsim-0.10.0",
901*d4726bddSHONG Yifan        sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623",
902*d4726bddSHONG Yifan        type = "tar.gz",
903*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/strsim/0.10.0/download"],
904*d4726bddSHONG Yifan        strip_prefix = "strsim-0.10.0",
905*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.strsim-0.10.0.bazel"),
906*d4726bddSHONG Yifan    )
907*d4726bddSHONG Yifan
908*d4726bddSHONG Yifan    maybe(
909*d4726bddSHONG Yifan        http_archive,
910*d4726bddSHONG Yifan        name = "rules_rust_bindgen__syn-2.0.18",
911*d4726bddSHONG Yifan        sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e",
912*d4726bddSHONG Yifan        type = "tar.gz",
913*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/syn/2.0.18/download"],
914*d4726bddSHONG Yifan        strip_prefix = "syn-2.0.18",
915*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.syn-2.0.18.bazel"),
916*d4726bddSHONG Yifan    )
917*d4726bddSHONG Yifan
918*d4726bddSHONG Yifan    maybe(
919*d4726bddSHONG Yifan        http_archive,
920*d4726bddSHONG Yifan        name = "rules_rust_bindgen__termcolor-1.2.0",
921*d4726bddSHONG Yifan        sha256 = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6",
922*d4726bddSHONG Yifan        type = "tar.gz",
923*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/termcolor/1.2.0/download"],
924*d4726bddSHONG Yifan        strip_prefix = "termcolor-1.2.0",
925*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.termcolor-1.2.0.bazel"),
926*d4726bddSHONG Yifan    )
927*d4726bddSHONG Yifan
928*d4726bddSHONG Yifan    maybe(
929*d4726bddSHONG Yifan        http_archive,
930*d4726bddSHONG Yifan        name = "rules_rust_bindgen__unicode-ident-1.0.9",
931*d4726bddSHONG Yifan        sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0",
932*d4726bddSHONG Yifan        type = "tar.gz",
933*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/unicode-ident/1.0.9/download"],
934*d4726bddSHONG Yifan        strip_prefix = "unicode-ident-1.0.9",
935*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-ident-1.0.9.bazel"),
936*d4726bddSHONG Yifan    )
937*d4726bddSHONG Yifan
938*d4726bddSHONG Yifan    maybe(
939*d4726bddSHONG Yifan        http_archive,
940*d4726bddSHONG Yifan        name = "rules_rust_bindgen__unicode-width-0.1.10",
941*d4726bddSHONG Yifan        sha256 = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b",
942*d4726bddSHONG Yifan        type = "tar.gz",
943*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/unicode-width/0.1.10/download"],
944*d4726bddSHONG Yifan        strip_prefix = "unicode-width-0.1.10",
945*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-width-0.1.10.bazel"),
946*d4726bddSHONG Yifan    )
947*d4726bddSHONG Yifan
948*d4726bddSHONG Yifan    maybe(
949*d4726bddSHONG Yifan        http_archive,
950*d4726bddSHONG Yifan        name = "rules_rust_bindgen__utf8parse-0.2.1",
951*d4726bddSHONG Yifan        sha256 = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a",
952*d4726bddSHONG Yifan        type = "tar.gz",
953*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/utf8parse/0.2.1/download"],
954*d4726bddSHONG Yifan        strip_prefix = "utf8parse-0.2.1",
955*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.utf8parse-0.2.1.bazel"),
956*d4726bddSHONG Yifan    )
957*d4726bddSHONG Yifan
958*d4726bddSHONG Yifan    maybe(
959*d4726bddSHONG Yifan        http_archive,
960*d4726bddSHONG Yifan        name = "rules_rust_bindgen__winapi-0.3.9",
961*d4726bddSHONG Yifan        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
962*d4726bddSHONG Yifan        type = "tar.gz",
963*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/winapi/0.3.9/download"],
964*d4726bddSHONG Yifan        strip_prefix = "winapi-0.3.9",
965*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-0.3.9.bazel"),
966*d4726bddSHONG Yifan    )
967*d4726bddSHONG Yifan
968*d4726bddSHONG Yifan    maybe(
969*d4726bddSHONG Yifan        http_archive,
970*d4726bddSHONG Yifan        name = "rules_rust_bindgen__winapi-i686-pc-windows-gnu-0.4.0",
971*d4726bddSHONG Yifan        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
972*d4726bddSHONG Yifan        type = "tar.gz",
973*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/winapi-i686-pc-windows-gnu/0.4.0/download"],
974*d4726bddSHONG Yifan        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
975*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
976*d4726bddSHONG Yifan    )
977*d4726bddSHONG Yifan
978*d4726bddSHONG Yifan    maybe(
979*d4726bddSHONG Yifan        http_archive,
980*d4726bddSHONG Yifan        name = "rules_rust_bindgen__winapi-util-0.1.5",
981*d4726bddSHONG Yifan        sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
982*d4726bddSHONG Yifan        type = "tar.gz",
983*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/winapi-util/0.1.5/download"],
984*d4726bddSHONG Yifan        strip_prefix = "winapi-util-0.1.5",
985*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"),
986*d4726bddSHONG Yifan    )
987*d4726bddSHONG Yifan
988*d4726bddSHONG Yifan    maybe(
989*d4726bddSHONG Yifan        http_archive,
990*d4726bddSHONG Yifan        name = "rules_rust_bindgen__winapi-x86_64-pc-windows-gnu-0.4.0",
991*d4726bddSHONG Yifan        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
992*d4726bddSHONG Yifan        type = "tar.gz",
993*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"],
994*d4726bddSHONG Yifan        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
995*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
996*d4726bddSHONG Yifan    )
997*d4726bddSHONG Yifan
998*d4726bddSHONG Yifan    maybe(
999*d4726bddSHONG Yifan        http_archive,
1000*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows-sys-0.48.0",
1001*d4726bddSHONG Yifan        sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9",
1002*d4726bddSHONG Yifan        type = "tar.gz",
1003*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows-sys/0.48.0/download"],
1004*d4726bddSHONG Yifan        strip_prefix = "windows-sys-0.48.0",
1005*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"),
1006*d4726bddSHONG Yifan    )
1007*d4726bddSHONG Yifan
1008*d4726bddSHONG Yifan    maybe(
1009*d4726bddSHONG Yifan        http_archive,
1010*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows-targets-0.48.0",
1011*d4726bddSHONG Yifan        sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5",
1012*d4726bddSHONG Yifan        type = "tar.gz",
1013*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows-targets/0.48.0/download"],
1014*d4726bddSHONG Yifan        strip_prefix = "windows-targets-0.48.0",
1015*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows-targets-0.48.0.bazel"),
1016*d4726bddSHONG Yifan    )
1017*d4726bddSHONG Yifan
1018*d4726bddSHONG Yifan    maybe(
1019*d4726bddSHONG Yifan        http_archive,
1020*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_aarch64_gnullvm-0.48.0",
1021*d4726bddSHONG Yifan        sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc",
1022*d4726bddSHONG Yifan        type = "tar.gz",
1023*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_aarch64_gnullvm/0.48.0/download"],
1024*d4726bddSHONG Yifan        strip_prefix = "windows_aarch64_gnullvm-0.48.0",
1025*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"),
1026*d4726bddSHONG Yifan    )
1027*d4726bddSHONG Yifan
1028*d4726bddSHONG Yifan    maybe(
1029*d4726bddSHONG Yifan        http_archive,
1030*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_aarch64_msvc-0.48.0",
1031*d4726bddSHONG Yifan        sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3",
1032*d4726bddSHONG Yifan        type = "tar.gz",
1033*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_aarch64_msvc/0.48.0/download"],
1034*d4726bddSHONG Yifan        strip_prefix = "windows_aarch64_msvc-0.48.0",
1035*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"),
1036*d4726bddSHONG Yifan    )
1037*d4726bddSHONG Yifan
1038*d4726bddSHONG Yifan    maybe(
1039*d4726bddSHONG Yifan        http_archive,
1040*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_i686_gnu-0.48.0",
1041*d4726bddSHONG Yifan        sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241",
1042*d4726bddSHONG Yifan        type = "tar.gz",
1043*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_i686_gnu/0.48.0/download"],
1044*d4726bddSHONG Yifan        strip_prefix = "windows_i686_gnu-0.48.0",
1045*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"),
1046*d4726bddSHONG Yifan    )
1047*d4726bddSHONG Yifan
1048*d4726bddSHONG Yifan    maybe(
1049*d4726bddSHONG Yifan        http_archive,
1050*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_i686_msvc-0.48.0",
1051*d4726bddSHONG Yifan        sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00",
1052*d4726bddSHONG Yifan        type = "tar.gz",
1053*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_i686_msvc/0.48.0/download"],
1054*d4726bddSHONG Yifan        strip_prefix = "windows_i686_msvc-0.48.0",
1055*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"),
1056*d4726bddSHONG Yifan    )
1057*d4726bddSHONG Yifan
1058*d4726bddSHONG Yifan    maybe(
1059*d4726bddSHONG Yifan        http_archive,
1060*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_x86_64_gnu-0.48.0",
1061*d4726bddSHONG Yifan        sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1",
1062*d4726bddSHONG Yifan        type = "tar.gz",
1063*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_x86_64_gnu/0.48.0/download"],
1064*d4726bddSHONG Yifan        strip_prefix = "windows_x86_64_gnu-0.48.0",
1065*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"),
1066*d4726bddSHONG Yifan    )
1067*d4726bddSHONG Yifan
1068*d4726bddSHONG Yifan    maybe(
1069*d4726bddSHONG Yifan        http_archive,
1070*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_x86_64_gnullvm-0.48.0",
1071*d4726bddSHONG Yifan        sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953",
1072*d4726bddSHONG Yifan        type = "tar.gz",
1073*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_x86_64_gnullvm/0.48.0/download"],
1074*d4726bddSHONG Yifan        strip_prefix = "windows_x86_64_gnullvm-0.48.0",
1075*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"),
1076*d4726bddSHONG Yifan    )
1077*d4726bddSHONG Yifan
1078*d4726bddSHONG Yifan    maybe(
1079*d4726bddSHONG Yifan        http_archive,
1080*d4726bddSHONG Yifan        name = "rules_rust_bindgen__windows_x86_64_msvc-0.48.0",
1081*d4726bddSHONG Yifan        sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a",
1082*d4726bddSHONG Yifan        type = "tar.gz",
1083*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/windows_x86_64_msvc/0.48.0/download"],
1084*d4726bddSHONG Yifan        strip_prefix = "windows_x86_64_msvc-0.48.0",
1085*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"),
1086*d4726bddSHONG Yifan    )
1087*d4726bddSHONG Yifan
1088*d4726bddSHONG Yifan    maybe(
1089*d4726bddSHONG Yifan        http_archive,
1090*d4726bddSHONG Yifan        name = "rules_rust_bindgen__yansi-term-0.1.2",
1091*d4726bddSHONG Yifan        sha256 = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1",
1092*d4726bddSHONG Yifan        type = "tar.gz",
1093*d4726bddSHONG Yifan        urls = ["https://static.crates.io/crates/yansi-term/0.1.2/download"],
1094*d4726bddSHONG Yifan        strip_prefix = "yansi-term-0.1.2",
1095*d4726bddSHONG Yifan        build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.yansi-term-0.1.2.bazel"),
1096*d4726bddSHONG Yifan    )
1097*d4726bddSHONG Yifan
1098*d4726bddSHONG Yifan    return [
1099*d4726bddSHONG Yifan        struct(repo = "rules_rust_bindgen__bindgen-0.69.1", is_dev_dep = False),
1100*d4726bddSHONG Yifan        struct(repo = "rules_rust_bindgen__clang-sys-1.6.1", is_dev_dep = False),
1101*d4726bddSHONG Yifan        struct(repo = "rules_rust_bindgen__clap-4.3.3", is_dev_dep = False),
1102*d4726bddSHONG Yifan        struct(repo = "rules_rust_bindgen__clap_complete-4.3.1", is_dev_dep = False),
1103*d4726bddSHONG Yifan        struct(repo = "rules_rust_bindgen__env_logger-0.10.0", is_dev_dep = False),
1104*d4726bddSHONG Yifan    ]
1105