fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
92977d1b
rust-analyzer
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 @//bindgen/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 32Dependency maps have the following structure: 33 34```python 35DEPENDENCIES_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 dependnecies 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 53Args: 54all_dependency_maps (list): A list of dicts as described above 55 56Returns: 57dict: A dictionary as described above 58""" 59dependencies = {} 60 61for workspace_deps_map in all_dependency_maps : 62for pkg_name , conditional_deps_map in workspace_deps_map . items (): 63if pkg_name not in dependencies : 64non_frozen_map = dict () 65for key , values in conditional_deps_map . items (): 66non_frozen_map . update ({ key : dict ( values . items ())}) 67dependencies . setdefault ( pkg_name , non_frozen_map ) 68 continue 69 70for condition , deps_map in conditional_deps_map . items (): 71# If the condition has not been recorded, do so and continue 72if condition not in dependencies [ pkg_name ]: 73dependencies [ pkg_name ]. setdefault ( condition , dict ( deps_map . items ())) 74 continue 75 76# Alert on any miss-matched dependencies 77inconsistent_entries = [] 78for crate_name , crate_label in deps_map . items (): 79existing = dependencies [ pkg_name ][ condition ]. get ( crate_name ) 80if existing and existing != crate_label : 81inconsistent_entries . append (( crate_name , existing , crate_label )) 82dependencies [ pkg_name ][ condition ]. update ({ crate_name : crate_label }) 83 84return 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 89Args: 90deps (list): The desired list of crate targets. 91package_name (str, optional): The package name of the set of dependencies to look up. 92Defaults to `native.package_name()`. 93 94Returns: 95list: A list of labels to generated rust targets (str) 96""" 97 98if not deps : 99return [] 100 101if package_name == None : 102package_name = native . package_name () 103 104# Join both sets of dependencies 105dependencies = _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 117flat_deps = {} 118for deps_set in dependencies . values (): 119for crate_name , crate_label in deps_set . items (): 120flat_deps . update ({ crate_name : crate_label }) 121 122missing_crates = [] 123crate_targets = [] 124for crate_target in deps : 125if crate_target not in flat_deps : 126missing_crates . append ( crate_target ) 127else : 128crate_targets . append ( flat_deps [ crate_target ]) 129 130if missing_crates : 131fail ( "Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`" . format ( 132missing_crates , 133package_name , 134dependencies , 135)) 136 137return crate_targets 138 139def all_crate_deps ( 140normal = False , 141normal_dev = False , 142proc_macro = False , 143proc_macro_dev = False , 144build = False , 145build_proc_macro = False , 146package_name = None ): 147"""Finds the fully qualified label of all requested direct crate dependencies \ 148for the package where this macro is called. 149 150If no parameters are set, all normal dependencies are returned. Setting any one flag will 151otherwise impact the contents of the returned list. 152 153Args: 154normal (bool, optional): If True, normal dependencies are included in the 155output list. 156normal_dev (bool, optional): If True, normal dev dependencies will be 157included in the output list.. 158proc_macro (bool, optional): If True, proc_macro dependencies are included 159in the output list. 160proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are 161included in the output list. 162build (bool, optional): If True, build dependencies are included 163in the output list. 164build_proc_macro (bool, optional): If True, build proc_macro dependencies are 165included in the output list. 166package_name (str, optional): The package name of the set of dependencies to look up. 167Defaults to `native.package_name()` when unset. 168 169Returns: 170list: A list of labels to generated rust targets (str) 171""" 172 173if package_name == None : 174package_name = native . package_name () 175 176# Determine the relevant maps to use 177all_dependency_maps = [] 178if normal : 179all_dependency_maps . append ( _NORMAL_DEPENDENCIES ) 180if normal_dev : 181all_dependency_maps . append ( _NORMAL_DEV_DEPENDENCIES ) 182if proc_macro : 183all_dependency_maps . append ( _PROC_MACRO_DEPENDENCIES ) 184if proc_macro_dev : 185all_dependency_maps . append ( _PROC_MACRO_DEV_DEPENDENCIES ) 186if build : 187all_dependency_maps . append ( _BUILD_DEPENDENCIES ) 188if build_proc_macro : 189all_dependency_maps . append ( _BUILD_PROC_MACRO_DEPENDENCIES ) 190 191# Default to always using normal dependencies 192if not all_dependency_maps : 193all_dependency_maps . append ( _NORMAL_DEPENDENCIES ) 194 195dependencies = _flatten_dependency_maps ( all_dependency_maps ). pop ( package_name , None ) 196 197if not dependencies : 198if dependencies == None : 199fail ( "Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file" ) 200else : 201return [] 202 203crate_deps = list ( dependencies . pop ( _COMMON_CONDITION , {}). values ()) 204for condition , deps in dependencies . items (): 205crate_deps += selects . with_or ({ _CONDITIONS [ condition ]: deps . values ()}) 206 207return crate_deps 208 209def aliases ( 210normal = False , 211normal_dev = False , 212proc_macro = False , 213proc_macro_dev = False , 214build = False , 215build_proc_macro = False , 216package_name = None ): 217"""Produces a map of Crate alias names to their original label 218 219If no dependency kinds are specified, `normal` and `proc_macro` are used by default. 220Setting any one flag will otherwise determine the contents of the returned dict. 221 222Args: 223normal (bool, optional): If True, normal dependencies are included in the 224output list. 225normal_dev (bool, optional): If True, normal dev dependencies will be 226included in the output list.. 227proc_macro (bool, optional): If True, proc_macro dependencies are included 228in the output list. 229proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are 230included in the output list. 231build (bool, optional): If True, build dependencies are included 232in the output list. 233build_proc_macro (bool, optional): If True, build proc_macro dependencies are 234included in the output list. 235package_name (str, optional): The package name of the set of dependencies to look up. 236Defaults to `native.package_name()` when unset. 237 238Returns: 239dict: The aliases of all associated packages 240""" 241if package_name == None : 242package_name = native . package_name () 243 244# Determine the relevant maps to use 245all_aliases_maps = [] 246if normal : 247all_aliases_maps . append ( _NORMAL_ALIASES ) 248if normal_dev : 249all_aliases_maps . append ( _NORMAL_DEV_ALIASES ) 250if proc_macro : 251all_aliases_maps . append ( _PROC_MACRO_ALIASES ) 252if proc_macro_dev : 253all_aliases_maps . append ( _PROC_MACRO_DEV_ALIASES ) 254if build : 255all_aliases_maps . append ( _BUILD_ALIASES ) 256if build_proc_macro : 257all_aliases_maps . append ( _BUILD_PROC_MACRO_ALIASES ) 258 259# Default to always using normal aliases 260if not all_aliases_maps : 261all_aliases_maps . append ( _NORMAL_ALIASES ) 262all_aliases_maps . append ( _PROC_MACRO_ALIASES ) 263 264aliases = _flatten_dependency_maps ( all_aliases_maps ). pop ( package_name , None ) 265 266if not aliases : 267return dict () 268 269common_items = aliases . pop ( _COMMON_CONDITION , {}). items () 270 271# If there are only common items in the dictionary, immediately return them 272if not len ( aliases . keys ()) == 1 : 273return dict ( common_items ) 274 275# Build a single select statement where each conditional has accounted for the 276# common set of aliases. 277crate_aliases = { "//conditions:default" : common_items } 278for condition , deps in aliases . items (): 279condition_triples = _CONDITIONS [ condition ] 280if condition_triples in crate_aliases : 281crate_aliases [ condition_triples ]. update ( deps ) 282else : 283crate_aliases . update ({ _CONDITIONS [ condition ]: dict ( deps . items () + common_items )}) 284 285return selects . with_or ( crate_aliases ) 286 287############################################################################### 288# WORKSPACE MEMBER DEPS AND ALIASES 289############################################################################### 290 291_NORMAL_DEPENDENCIES = { 292"" : { 293_COMMON_CONDITION : { 294"bindgen" : "@rules_rust_bindgen__bindgen-0.60.1//:bindgen" , 295"libloading" : "@rules_rust_bindgen__libloading-0.7.4//:libloading" , 296}, 297}, 298} 299 300_NORMAL_ALIASES = { 301"" : { 302_COMMON_CONDITION : { 303}, 304}, 305} 306 307_NORMAL_DEV_DEPENDENCIES = { 308"" : { 309}, 310} 311 312_NORMAL_DEV_ALIASES = { 313"" : { 314}, 315} 316 317_PROC_MACRO_DEPENDENCIES = { 318"" : { 319}, 320} 321 322_PROC_MACRO_ALIASES = { 323"" : { 324}, 325} 326 327_PROC_MACRO_DEV_DEPENDENCIES = { 328"" : { 329}, 330} 331 332_PROC_MACRO_DEV_ALIASES = { 333"" : { 334}, 335} 336 337_BUILD_DEPENDENCIES = { 338"" : { 339}, 340} 341 342_BUILD_ALIASES = { 343"" : { 344}, 345} 346 347_BUILD_PROC_MACRO_DEPENDENCIES = { 348"" : { 349}, 350} 351 352_BUILD_PROC_MACRO_ALIASES = { 353"" : { 354}, 355} 356 357_CONDITIONS = { 358 "cfg(target_os = \"hermit\")" : [], 359"cfg(unix)" : [ "aarch64-apple-darwin" , "aarch64-apple-ios" , "aarch64-apple-ios-sim" , "aarch64-linux-android" , "aarch64-unknown-linux-gnu" , "arm-unknown-linux-gnueabi" , "armv7-linux-androideabi" , "armv7-unknown-linux-gnueabi" , "i686-apple-darwin" , "i686-linux-android" , "i686-unknown-freebsd" , "i686-unknown-linux-gnu" , "powerpc-unknown-linux-gnu" , "s390x-unknown-linux-gnu" , "x86_64-apple-darwin" , "x86_64-apple-ios" , "x86_64-linux-android" , "x86_64-unknown-freebsd" , "x86_64-unknown-linux-gnu" ], 360"cfg(windows)" : [ "aarch64-pc-windows-msvc" , "i686-pc-windows-msvc" , "x86_64-pc-windows-msvc" ], 361"i686-pc-windows-gnu" : [], 362"x86_64-pc-windows-gnu" : [], 363} 364 365############################################################################### 366 367def crate_repositories (): 368"""A macro for defining repositories for all generated crates""" 369maybe ( 370http_archive , 371name = "rules_rust_bindgen__aho-corasick-0.7.20" , 372sha256 = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" , 373type = "tar.gz" , 374urls = [ "https://crates.io/api/v1/crates/aho-corasick/0.7.20/download" ], 375strip_prefix = "aho-corasick-0.7.20" , 376build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.aho-corasick-0.7.20.bazel" ), 377) 378 379maybe ( 380http_archive , 381name = "rules_rust_bindgen__atty-0.2.14" , 382sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" , 383type = "tar.gz" , 384urls = [ "https://crates.io/api/v1/crates/atty/0.2.14/download" ], 385strip_prefix = "atty-0.2.14" , 386build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.atty-0.2.14.bazel" ), 387) 388 389maybe ( 390http_archive , 391name = "rules_rust_bindgen__autocfg-1.1.0" , 392sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" , 393type = "tar.gz" , 394urls = [ "https://crates.io/api/v1/crates/autocfg/1.1.0/download" ], 395strip_prefix = "autocfg-1.1.0" , 396build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.autocfg-1.1.0.bazel" ), 397) 398 399maybe ( 400http_archive , 401name = "rules_rust_bindgen__bindgen-0.60.1" , 402sha256 = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6" , 403type = "tar.gz" , 404urls = [ "https://crates.io/api/v1/crates/bindgen/0.60.1/download" ], 405strip_prefix = "bindgen-0.60.1" , 406build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.bindgen-0.60.1.bazel" ), 407) 408 409maybe ( 410http_archive , 411name = "rules_rust_bindgen__bitflags-1.3.2" , 412sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" , 413type = "tar.gz" , 414urls = [ "https://crates.io/api/v1/crates/bitflags/1.3.2/download" ], 415strip_prefix = "bitflags-1.3.2" , 416build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.bitflags-1.3.2.bazel" ), 417) 418 419maybe ( 420http_archive , 421name = "rules_rust_bindgen__cexpr-0.6.0" , 422sha256 = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" , 423type = "tar.gz" , 424urls = [ "https://crates.io/api/v1/crates/cexpr/0.6.0/download" ], 425strip_prefix = "cexpr-0.6.0" , 426build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.cexpr-0.6.0.bazel" ), 427) 428 429maybe ( 430http_archive , 431name = "rules_rust_bindgen__cfg-if-1.0.0" , 432sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" , 433type = "tar.gz" , 434urls = [ "https://crates.io/api/v1/crates/cfg-if/1.0.0/download" ], 435strip_prefix = "cfg-if-1.0.0" , 436build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel" ), 437) 438 439maybe ( 440http_archive , 441name = "rules_rust_bindgen__clang-sys-1.4.0" , 442sha256 = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3" , 443type = "tar.gz" , 444urls = [ "https://crates.io/api/v1/crates/clang-sys/1.4.0/download" ], 445strip_prefix = "clang-sys-1.4.0" , 446build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.clang-sys-1.4.0.bazel" ), 447) 448 449maybe ( 450http_archive , 451name = "rules_rust_bindgen__clap-3.2.23" , 452sha256 = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" , 453type = "tar.gz" , 454urls = [ "https://crates.io/api/v1/crates/clap/3.2.23/download" ], 455strip_prefix = "clap-3.2.23" , 456build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.clap-3.2.23.bazel" ), 457) 458 459maybe ( 460http_archive , 461name = "rules_rust_bindgen__clap_lex-0.2.4" , 462sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" , 463type = "tar.gz" , 464urls = [ "https://crates.io/api/v1/crates/clap_lex/0.2.4/download" ], 465strip_prefix = "clap_lex-0.2.4" , 466build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.clap_lex-0.2.4.bazel" ), 467) 468 469maybe ( 470http_archive , 471name = "rules_rust_bindgen__either-1.8.0" , 472sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" , 473type = "tar.gz" , 474urls = [ "https://crates.io/api/v1/crates/either/1.8.0/download" ], 475strip_prefix = "either-1.8.0" , 476build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.either-1.8.0.bazel" ), 477) 478 479maybe ( 480http_archive , 481name = "rules_rust_bindgen__env_logger-0.9.3" , 482sha256 = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" , 483type = "tar.gz" , 484urls = [ "https://crates.io/api/v1/crates/env_logger/0.9.3/download" ], 485strip_prefix = "env_logger-0.9.3" , 486build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.env_logger-0.9.3.bazel" ), 487) 488 489maybe ( 490http_archive , 491name = "rules_rust_bindgen__glob-0.3.0" , 492sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" , 493type = "tar.gz" , 494urls = [ "https://crates.io/api/v1/crates/glob/0.3.0/download" ], 495strip_prefix = "glob-0.3.0" , 496build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.glob-0.3.0.bazel" ), 497) 498 499maybe ( 500http_archive , 501name = "rules_rust_bindgen__hashbrown-0.12.3" , 502sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" , 503type = "tar.gz" , 504urls = [ "https://crates.io/api/v1/crates/hashbrown/0.12.3/download" ], 505strip_prefix = "hashbrown-0.12.3" , 506build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel" ), 507) 508 509maybe ( 510http_archive , 511name = "rules_rust_bindgen__hermit-abi-0.1.19" , 512sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" , 513type = "tar.gz" , 514urls = [ "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download" ], 515strip_prefix = "hermit-abi-0.1.19" , 516build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel" ), 517) 518 519maybe ( 520http_archive , 521name = "rules_rust_bindgen__humantime-2.1.0" , 522sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" , 523type = "tar.gz" , 524urls = [ "https://crates.io/api/v1/crates/humantime/2.1.0/download" ], 525strip_prefix = "humantime-2.1.0" , 526build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.humantime-2.1.0.bazel" ), 527) 528 529maybe ( 530http_archive , 531name = "rules_rust_bindgen__indexmap-1.9.2" , 532sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" , 533type = "tar.gz" , 534urls = [ "https://crates.io/api/v1/crates/indexmap/1.9.2/download" ], 535strip_prefix = "indexmap-1.9.2" , 536build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.indexmap-1.9.2.bazel" ), 537) 538 539maybe ( 540http_archive , 541name = "rules_rust_bindgen__lazy_static-1.4.0" , 542sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" , 543type = "tar.gz" , 544urls = [ "https://crates.io/api/v1/crates/lazy_static/1.4.0/download" ], 545strip_prefix = "lazy_static-1.4.0" , 546build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.lazy_static-1.4.0.bazel" ), 547) 548 549maybe ( 550http_archive , 551name = "rules_rust_bindgen__lazycell-1.3.0" , 552sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" , 553type = "tar.gz" , 554urls = [ "https://crates.io/api/v1/crates/lazycell/1.3.0/download" ], 555strip_prefix = "lazycell-1.3.0" , 556build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.lazycell-1.3.0.bazel" ), 557) 558 559maybe ( 560http_archive , 561name = "rules_rust_bindgen__libc-0.2.139" , 562sha256 = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" , 563type = "tar.gz" , 564urls = [ "https://crates.io/api/v1/crates/libc/0.2.139/download" ], 565strip_prefix = "libc-0.2.139" , 566build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.libc-0.2.139.bazel" ), 567) 568 569maybe ( 570http_archive , 571name = "rules_rust_bindgen__libloading-0.7.4" , 572sha256 = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" , 573type = "tar.gz" , 574urls = [ "https://crates.io/api/v1/crates/libloading/0.7.4/download" ], 575strip_prefix = "libloading-0.7.4" , 576build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.libloading-0.7.4.bazel" ), 577) 578 579maybe ( 580http_archive , 581name = "rules_rust_bindgen__log-0.4.17" , 582sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" , 583type = "tar.gz" , 584urls = [ "https://crates.io/api/v1/crates/log/0.4.17/download" ], 585strip_prefix = "log-0.4.17" , 586build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.log-0.4.17.bazel" ), 587) 588 589maybe ( 590http_archive , 591name = "rules_rust_bindgen__memchr-2.5.0" , 592sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" , 593type = "tar.gz" , 594urls = [ "https://crates.io/api/v1/crates/memchr/2.5.0/download" ], 595strip_prefix = "memchr-2.5.0" , 596build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.memchr-2.5.0.bazel" ), 597) 598 599maybe ( 600http_archive , 601name = "rules_rust_bindgen__minimal-lexical-0.2.1" , 602sha256 = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" , 603type = "tar.gz" , 604urls = [ "https://crates.io/api/v1/crates/minimal-lexical/0.2.1/download" ], 605strip_prefix = "minimal-lexical-0.2.1" , 606build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.minimal-lexical-0.2.1.bazel" ), 607) 608 609maybe ( 610http_archive , 611name = "rules_rust_bindgen__nom-7.1.2" , 612sha256 = "e5507769c4919c998e69e49c839d9dc6e693ede4cc4290d6ad8b41d4f09c548c" , 613type = "tar.gz" , 614urls = [ "https://crates.io/api/v1/crates/nom/7.1.2/download" ], 615strip_prefix = "nom-7.1.2" , 616build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.nom-7.1.2.bazel" ), 617) 618 619maybe ( 620http_archive , 621name = "rules_rust_bindgen__once_cell-1.17.0" , 622sha256 = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" , 623type = "tar.gz" , 624urls = [ "https://crates.io/api/v1/crates/once_cell/1.17.0/download" ], 625strip_prefix = "once_cell-1.17.0" , 626build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.once_cell-1.17.0.bazel" ), 627) 628 629maybe ( 630http_archive , 631name = "rules_rust_bindgen__os_str_bytes-6.4.1" , 632sha256 = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" , 633type = "tar.gz" , 634urls = [ "https://crates.io/api/v1/crates/os_str_bytes/6.4.1/download" ], 635strip_prefix = "os_str_bytes-6.4.1" , 636build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.os_str_bytes-6.4.1.bazel" ), 637) 638 639maybe ( 640http_archive , 641name = "rules_rust_bindgen__peeking_take_while-0.1.2" , 642sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" , 643type = "tar.gz" , 644urls = [ "https://crates.io/api/v1/crates/peeking_take_while/0.1.2/download" ], 645strip_prefix = "peeking_take_while-0.1.2" , 646build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.peeking_take_while-0.1.2.bazel" ), 647) 648 649maybe ( 650http_archive , 651name = "rules_rust_bindgen__proc-macro2-1.0.49" , 652sha256 = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" , 653type = "tar.gz" , 654urls = [ "https://crates.io/api/v1/crates/proc-macro2/1.0.49/download" ], 655strip_prefix = "proc-macro2-1.0.49" , 656build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.proc-macro2-1.0.49.bazel" ), 657) 658 659maybe ( 660http_archive , 661name = "rules_rust_bindgen__quote-1.0.23" , 662sha256 = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" , 663type = "tar.gz" , 664urls = [ "https://crates.io/api/v1/crates/quote/1.0.23/download" ], 665strip_prefix = "quote-1.0.23" , 666build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.quote-1.0.23.bazel" ), 667) 668 669maybe ( 670http_archive , 671name = "rules_rust_bindgen__regex-1.7.0" , 672sha256 = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" , 673type = "tar.gz" , 674urls = [ "https://crates.io/api/v1/crates/regex/1.7.0/download" ], 675strip_prefix = "regex-1.7.0" , 676build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.regex-1.7.0.bazel" ), 677) 678 679maybe ( 680http_archive , 681name = "rules_rust_bindgen__regex-syntax-0.6.28" , 682sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" , 683type = "tar.gz" , 684urls = [ "https://crates.io/api/v1/crates/regex-syntax/0.6.28/download" ], 685strip_prefix = "regex-syntax-0.6.28" , 686build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.regex-syntax-0.6.28.bazel" ), 687) 688 689maybe ( 690http_archive , 691name = "rules_rust_bindgen__rustc-hash-1.1.0" , 692sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" , 693type = "tar.gz" , 694urls = [ "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download" ], 695strip_prefix = "rustc-hash-1.1.0" , 696build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.rustc-hash-1.1.0.bazel" ), 697) 698 699maybe ( 700http_archive , 701name = "rules_rust_bindgen__shlex-1.1.0" , 702sha256 = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" , 703type = "tar.gz" , 704urls = [ "https://crates.io/api/v1/crates/shlex/1.1.0/download" ], 705strip_prefix = "shlex-1.1.0" , 706build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.shlex-1.1.0.bazel" ), 707) 708 709maybe ( 710http_archive , 711name = "rules_rust_bindgen__strsim-0.10.0" , 712sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" , 713type = "tar.gz" , 714urls = [ "https://crates.io/api/v1/crates/strsim/0.10.0/download" ], 715strip_prefix = "strsim-0.10.0" , 716build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.strsim-0.10.0.bazel" ), 717) 718 719maybe ( 720http_archive , 721name = "rules_rust_bindgen__termcolor-1.1.3" , 722sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" , 723type = "tar.gz" , 724urls = [ "https://crates.io/api/v1/crates/termcolor/1.1.3/download" ], 725strip_prefix = "termcolor-1.1.3" , 726build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.termcolor-1.1.3.bazel" ), 727) 728 729maybe ( 730http_archive , 731name = "rules_rust_bindgen__textwrap-0.16.0" , 732sha256 = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" , 733type = "tar.gz" , 734urls = [ "https://crates.io/api/v1/crates/textwrap/0.16.0/download" ], 735strip_prefix = "textwrap-0.16.0" , 736build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.textwrap-0.16.0.bazel" ), 737) 738 739maybe ( 740http_archive , 741name = "rules_rust_bindgen__unicode-ident-1.0.6" , 742sha256 = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" , 743type = "tar.gz" , 744urls = [ "https://crates.io/api/v1/crates/unicode-ident/1.0.6/download" ], 745strip_prefix = "unicode-ident-1.0.6" , 746build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-ident-1.0.6.bazel" ), 747) 748 749maybe ( 750http_archive , 751name = "rules_rust_bindgen__which-4.3.0" , 752sha256 = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b" , 753type = "tar.gz" , 754urls = [ "https://crates.io/api/v1/crates/which/4.3.0/download" ], 755strip_prefix = "which-4.3.0" , 756build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.which-4.3.0.bazel" ), 757) 758 759maybe ( 760http_archive , 761name = "rules_rust_bindgen__winapi-0.3.9" , 762sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" , 763type = "tar.gz" , 764urls = [ "https://crates.io/api/v1/crates/winapi/0.3.9/download" ], 765strip_prefix = "winapi-0.3.9" , 766build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-0.3.9.bazel" ), 767) 768 769maybe ( 770http_archive , 771name = "rules_rust_bindgen__winapi-i686-pc-windows-gnu-0.4.0" , 772sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" , 773type = "tar.gz" , 774urls = [ "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download" ], 775strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0" , 776build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel" ), 777) 778 779maybe ( 780http_archive , 781name = "rules_rust_bindgen__winapi-util-0.1.5" , 782sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" , 783type = "tar.gz" , 784urls = [ "https://crates.io/api/v1/crates/winapi-util/0.1.5/download" ], 785strip_prefix = "winapi-util-0.1.5" , 786build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel" ), 787) 788 789maybe ( 790http_archive , 791name = "rules_rust_bindgen__winapi-x86_64-pc-windows-gnu-0.4.0" , 792sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" , 793type = "tar.gz" , 794urls = [ "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download" ], 795strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0" , 796build_file = Label ( "@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel" ), 797)