fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d8ea6b8c
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 @//tools/rust_analyzer/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"anyhow" : "@rules_rust_rust_analyzer__anyhow-1.0.68//:anyhow" , 295"clap" : "@rules_rust_rust_analyzer__clap-3.2.23//:clap" , 296"env_logger" : "@rules_rust_rust_analyzer__env_logger-0.9.3//:env_logger" , 297"itertools" : "@rules_rust_rust_analyzer__itertools-0.10.5//:itertools" , 298"log" : "@rules_rust_rust_analyzer__log-0.4.17//:log" , 299"serde" : "@rules_rust_rust_analyzer__serde-1.0.152//:serde" , 300"serde_json" : "@rules_rust_rust_analyzer__serde_json-1.0.91//:serde_json" , 301}, 302}, 303} 304 305_NORMAL_ALIASES = { 306"" : { 307_COMMON_CONDITION : { 308}, 309}, 310} 311 312_NORMAL_DEV_DEPENDENCIES = { 313"" : { 314}, 315} 316 317_NORMAL_DEV_ALIASES = { 318"" : { 319}, 320} 321 322_PROC_MACRO_DEPENDENCIES = { 323"" : { 324}, 325} 326 327_PROC_MACRO_ALIASES = { 328"" : { 329}, 330} 331 332_PROC_MACRO_DEV_DEPENDENCIES = { 333"" : { 334}, 335} 336 337_PROC_MACRO_DEV_ALIASES = { 338"" : { 339}, 340} 341 342_BUILD_DEPENDENCIES = { 343"" : { 344}, 345} 346 347_BUILD_ALIASES = { 348"" : { 349}, 350} 351 352_BUILD_PROC_MACRO_DEPENDENCIES = { 353"" : { 354}, 355} 356 357_BUILD_PROC_MACRO_ALIASES = { 358"" : { 359}, 360} 361 362_CONDITIONS = { 363 "cfg(target_os = \"hermit\")" : [], 364"cfg(unix)" : [ "aarch64-apple-darwin" , "aarch64-unknown-linux-gnu" , "arm-unknown-linux-gnueabi" , "armv7-linux-androideabi" , "armv7-unknown-linux-gnueabi" , "i686-apple-darwin" , "i686-unknown-freebsd" , "i686-unknown-linux-gnu" , "powerpc-unknown-linux-gnu" , "s390x-unknown-linux-gnu" , "x86_64-apple-darwin" , "x86_64-unknown-freebsd" , "x86_64-unknown-linux-gnu" ], 365"cfg(windows)" : [ "aarch64-pc-windows-msvc" , "i686-pc-windows-msvc" , "x86_64-pc-windows-msvc" ], 366"i686-pc-windows-gnu" : [], 367"x86_64-pc-windows-gnu" : [], 368} 369 370############################################################################### 371 372def crate_repositories (): 373"""A macro for defining repositories for all generated crates""" 374maybe ( 375http_archive , 376name = "rules_rust_rust_analyzer__aho-corasick-0.7.20" , 377sha256 = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" , 378type = "tar.gz" , 379urls = [ "https://crates.io/api/v1/crates/aho-corasick/0.7.20/download" ], 380strip_prefix = "aho-corasick-0.7.20" , 381build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.aho-corasick-0.7.20.bazel" ), 382) 383 384maybe ( 385http_archive , 386name = "rules_rust_rust_analyzer__anyhow-1.0.68" , 387sha256 = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61" , 388type = "tar.gz" , 389urls = [ "https://crates.io/api/v1/crates/anyhow/1.0.68/download" ], 390strip_prefix = "anyhow-1.0.68" , 391build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.anyhow-1.0.68.bazel" ), 392) 393 394maybe ( 395http_archive , 396name = "rules_rust_rust_analyzer__atty-0.2.14" , 397sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" , 398type = "tar.gz" , 399urls = [ "https://crates.io/api/v1/crates/atty/0.2.14/download" ], 400strip_prefix = "atty-0.2.14" , 401build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.atty-0.2.14.bazel" ), 402) 403 404maybe ( 405http_archive , 406name = "rules_rust_rust_analyzer__autocfg-1.1.0" , 407sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" , 408type = "tar.gz" , 409urls = [ "https://crates.io/api/v1/crates/autocfg/1.1.0/download" ], 410strip_prefix = "autocfg-1.1.0" , 411build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.autocfg-1.1.0.bazel" ), 412) 413 414maybe ( 415http_archive , 416name = "rules_rust_rust_analyzer__bitflags-1.3.2" , 417sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" , 418type = "tar.gz" , 419urls = [ "https://crates.io/api/v1/crates/bitflags/1.3.2/download" ], 420strip_prefix = "bitflags-1.3.2" , 421build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.bitflags-1.3.2.bazel" ), 422) 423 424maybe ( 425http_archive , 426name = "rules_rust_rust_analyzer__cfg-if-1.0.0" , 427sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" , 428type = "tar.gz" , 429urls = [ "https://crates.io/api/v1/crates/cfg-if/1.0.0/download" ], 430strip_prefix = "cfg-if-1.0.0" , 431build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel" ), 432) 433 434maybe ( 435http_archive , 436name = "rules_rust_rust_analyzer__clap-3.2.23" , 437sha256 = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" , 438type = "tar.gz" , 439urls = [ "https://crates.io/api/v1/crates/clap/3.2.23/download" ], 440strip_prefix = "clap-3.2.23" , 441build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap-3.2.23.bazel" ), 442) 443 444maybe ( 445http_archive , 446name = "rules_rust_rust_analyzer__clap_derive-3.2.18" , 447sha256 = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" , 448type = "tar.gz" , 449urls = [ "https://crates.io/api/v1/crates/clap_derive/3.2.18/download" ], 450strip_prefix = "clap_derive-3.2.18" , 451build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap_derive-3.2.18.bazel" ), 452) 453 454maybe ( 455http_archive , 456name = "rules_rust_rust_analyzer__clap_lex-0.2.4" , 457sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" , 458type = "tar.gz" , 459urls = [ "https://crates.io/api/v1/crates/clap_lex/0.2.4/download" ], 460strip_prefix = "clap_lex-0.2.4" , 461build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap_lex-0.2.4.bazel" ), 462) 463 464maybe ( 465http_archive , 466name = "rules_rust_rust_analyzer__either-1.8.0" , 467sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" , 468type = "tar.gz" , 469urls = [ "https://crates.io/api/v1/crates/either/1.8.0/download" ], 470strip_prefix = "either-1.8.0" , 471build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.either-1.8.0.bazel" ), 472) 473 474maybe ( 475http_archive , 476name = "rules_rust_rust_analyzer__env_logger-0.9.3" , 477sha256 = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" , 478type = "tar.gz" , 479urls = [ "https://crates.io/api/v1/crates/env_logger/0.9.3/download" ], 480strip_prefix = "env_logger-0.9.3" , 481build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.env_logger-0.9.3.bazel" ), 482) 483 484maybe ( 485http_archive , 486name = "rules_rust_rust_analyzer__hashbrown-0.12.3" , 487sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" , 488type = "tar.gz" , 489urls = [ "https://crates.io/api/v1/crates/hashbrown/0.12.3/download" ], 490strip_prefix = "hashbrown-0.12.3" , 491build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel" ), 492) 493 494maybe ( 495http_archive , 496name = "rules_rust_rust_analyzer__heck-0.4.0" , 497sha256 = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" , 498type = "tar.gz" , 499urls = [ "https://crates.io/api/v1/crates/heck/0.4.0/download" ], 500strip_prefix = "heck-0.4.0" , 501build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.heck-0.4.0.bazel" ), 502) 503 504maybe ( 505http_archive , 506name = "rules_rust_rust_analyzer__hermit-abi-0.1.19" , 507sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" , 508type = "tar.gz" , 509urls = [ "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download" ], 510strip_prefix = "hermit-abi-0.1.19" , 511build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel" ), 512) 513 514maybe ( 515http_archive , 516name = "rules_rust_rust_analyzer__humantime-2.1.0" , 517sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" , 518type = "tar.gz" , 519urls = [ "https://crates.io/api/v1/crates/humantime/2.1.0/download" ], 520strip_prefix = "humantime-2.1.0" , 521build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.humantime-2.1.0.bazel" ), 522) 523 524maybe ( 525http_archive , 526name = "rules_rust_rust_analyzer__indexmap-1.9.2" , 527sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" , 528type = "tar.gz" , 529urls = [ "https://crates.io/api/v1/crates/indexmap/1.9.2/download" ], 530strip_prefix = "indexmap-1.9.2" , 531build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.indexmap-1.9.2.bazel" ), 532) 533 534maybe ( 535http_archive , 536name = "rules_rust_rust_analyzer__itertools-0.10.5" , 537sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" , 538type = "tar.gz" , 539urls = [ "https://crates.io/api/v1/crates/itertools/0.10.5/download" ], 540strip_prefix = "itertools-0.10.5" , 541build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.itertools-0.10.5.bazel" ), 542) 543 544maybe ( 545http_archive , 546name = "rules_rust_rust_analyzer__itoa-1.0.5" , 547sha256 = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" , 548type = "tar.gz" , 549urls = [ "https://crates.io/api/v1/crates/itoa/1.0.5/download" ], 550strip_prefix = "itoa-1.0.5" , 551build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.itoa-1.0.5.bazel" ), 552) 553 554maybe ( 555http_archive , 556name = "rules_rust_rust_analyzer__libc-0.2.139" , 557sha256 = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" , 558type = "tar.gz" , 559urls = [ "https://crates.io/api/v1/crates/libc/0.2.139/download" ], 560strip_prefix = "libc-0.2.139" , 561build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.libc-0.2.139.bazel" ), 562) 563 564maybe ( 565http_archive , 566name = "rules_rust_rust_analyzer__log-0.4.17" , 567sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" , 568type = "tar.gz" , 569urls = [ "https://crates.io/api/v1/crates/log/0.4.17/download" ], 570strip_prefix = "log-0.4.17" , 571build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.log-0.4.17.bazel" ), 572) 573 574maybe ( 575http_archive , 576name = "rules_rust_rust_analyzer__memchr-2.5.0" , 577sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" , 578type = "tar.gz" , 579urls = [ "https://crates.io/api/v1/crates/memchr/2.5.0/download" ], 580strip_prefix = "memchr-2.5.0" , 581build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.memchr-2.5.0.bazel" ), 582) 583 584maybe ( 585http_archive , 586name = "rules_rust_rust_analyzer__once_cell-1.17.0" , 587sha256 = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" , 588type = "tar.gz" , 589urls = [ "https://crates.io/api/v1/crates/once_cell/1.17.0/download" ], 590strip_prefix = "once_cell-1.17.0" , 591build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.once_cell-1.17.0.bazel" ), 592) 593 594maybe ( 595http_archive , 596name = "rules_rust_rust_analyzer__os_str_bytes-6.4.1" , 597sha256 = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" , 598type = "tar.gz" , 599urls = [ "https://crates.io/api/v1/crates/os_str_bytes/6.4.1/download" ], 600strip_prefix = "os_str_bytes-6.4.1" , 601build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.os_str_bytes-6.4.1.bazel" ), 602) 603 604maybe ( 605http_archive , 606name = "rules_rust_rust_analyzer__proc-macro-error-1.0.4" , 607sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" , 608type = "tar.gz" , 609urls = [ "https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download" ], 610strip_prefix = "proc-macro-error-1.0.4" , 611build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro-error-1.0.4.bazel" ), 612) 613 614maybe ( 615http_archive , 616name = "rules_rust_rust_analyzer__proc-macro-error-attr-1.0.4" , 617sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" , 618type = "tar.gz" , 619urls = [ "https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download" ], 620strip_prefix = "proc-macro-error-attr-1.0.4" , 621build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro-error-attr-1.0.4.bazel" ), 622) 623 624maybe ( 625http_archive , 626name = "rules_rust_rust_analyzer__proc-macro2-1.0.49" , 627sha256 = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" , 628type = "tar.gz" , 629urls = [ "https://crates.io/api/v1/crates/proc-macro2/1.0.49/download" ], 630strip_prefix = "proc-macro2-1.0.49" , 631build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro2-1.0.49.bazel" ), 632) 633 634maybe ( 635http_archive , 636name = "rules_rust_rust_analyzer__quote-1.0.23" , 637sha256 = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" , 638type = "tar.gz" , 639urls = [ "https://crates.io/api/v1/crates/quote/1.0.23/download" ], 640strip_prefix = "quote-1.0.23" , 641build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.quote-1.0.23.bazel" ), 642) 643 644maybe ( 645http_archive , 646name = "rules_rust_rust_analyzer__regex-1.7.0" , 647sha256 = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" , 648type = "tar.gz" , 649urls = [ "https://crates.io/api/v1/crates/regex/1.7.0/download" ], 650strip_prefix = "regex-1.7.0" , 651build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.regex-1.7.0.bazel" ), 652) 653 654maybe ( 655http_archive , 656name = "rules_rust_rust_analyzer__regex-syntax-0.6.28" , 657sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" , 658type = "tar.gz" , 659urls = [ "https://crates.io/api/v1/crates/regex-syntax/0.6.28/download" ], 660strip_prefix = "regex-syntax-0.6.28" , 661build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.regex-syntax-0.6.28.bazel" ), 662) 663 664maybe ( 665http_archive , 666name = "rules_rust_rust_analyzer__ryu-1.0.12" , 667sha256 = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" , 668type = "tar.gz" , 669urls = [ "https://crates.io/api/v1/crates/ryu/1.0.12/download" ], 670strip_prefix = "ryu-1.0.12" , 671build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.ryu-1.0.12.bazel" ), 672) 673 674maybe ( 675http_archive , 676name = "rules_rust_rust_analyzer__serde-1.0.152" , 677sha256 = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" , 678type = "tar.gz" , 679urls = [ "https://crates.io/api/v1/crates/serde/1.0.152/download" ], 680strip_prefix = "serde-1.0.152" , 681build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde-1.0.152.bazel" ), 682) 683 684maybe ( 685http_archive , 686name = "rules_rust_rust_analyzer__serde_derive-1.0.152" , 687sha256 = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" , 688type = "tar.gz" , 689urls = [ "https://crates.io/api/v1/crates/serde_derive/1.0.152/download" ], 690strip_prefix = "serde_derive-1.0.152" , 691build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde_derive-1.0.152.bazel" ), 692) 693 694maybe ( 695http_archive , 696name = "rules_rust_rust_analyzer__serde_json-1.0.91" , 697sha256 = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883" , 698type = "tar.gz" , 699urls = [ "https://crates.io/api/v1/crates/serde_json/1.0.91/download" ], 700strip_prefix = "serde_json-1.0.91" , 701build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde_json-1.0.91.bazel" ), 702) 703 704maybe ( 705http_archive , 706name = "rules_rust_rust_analyzer__strsim-0.10.0" , 707sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" , 708type = "tar.gz" , 709urls = [ "https://crates.io/api/v1/crates/strsim/0.10.0/download" ], 710strip_prefix = "strsim-0.10.0" , 711build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.strsim-0.10.0.bazel" ), 712) 713 714maybe ( 715http_archive , 716name = "rules_rust_rust_analyzer__syn-1.0.107" , 717sha256 = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" , 718type = "tar.gz" , 719urls = [ "https://crates.io/api/v1/crates/syn/1.0.107/download" ], 720strip_prefix = "syn-1.0.107" , 721build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.syn-1.0.107.bazel" ), 722) 723 724maybe ( 725http_archive , 726name = "rules_rust_rust_analyzer__termcolor-1.1.3" , 727sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" , 728type = "tar.gz" , 729urls = [ "https://crates.io/api/v1/crates/termcolor/1.1.3/download" ], 730strip_prefix = "termcolor-1.1.3" , 731build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.termcolor-1.1.3.bazel" ), 732) 733 734maybe ( 735http_archive , 736name = "rules_rust_rust_analyzer__textwrap-0.16.0" , 737sha256 = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" , 738type = "tar.gz" , 739urls = [ "https://crates.io/api/v1/crates/textwrap/0.16.0/download" ], 740strip_prefix = "textwrap-0.16.0" , 741build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.textwrap-0.16.0.bazel" ), 742) 743 744maybe ( 745http_archive , 746name = "rules_rust_rust_analyzer__unicode-ident-1.0.6" , 747sha256 = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" , 748type = "tar.gz" , 749urls = [ "https://crates.io/api/v1/crates/unicode-ident/1.0.6/download" ], 750strip_prefix = "unicode-ident-1.0.6" , 751build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.unicode-ident-1.0.6.bazel" ), 752) 753 754maybe ( 755http_archive , 756name = "rules_rust_rust_analyzer__version_check-0.9.4" , 757sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" , 758type = "tar.gz" , 759urls = [ "https://crates.io/api/v1/crates/version_check/0.9.4/download" ], 760strip_prefix = "version_check-0.9.4" , 761build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.version_check-0.9.4.bazel" ), 762) 763 764maybe ( 765http_archive , 766name = "rules_rust_rust_analyzer__winapi-0.3.9" , 767sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" , 768type = "tar.gz" , 769urls = [ "https://crates.io/api/v1/crates/winapi/0.3.9/download" ], 770strip_prefix = "winapi-0.3.9" , 771build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-0.3.9.bazel" ), 772) 773 774maybe ( 775http_archive , 776name = "rules_rust_rust_analyzer__winapi-i686-pc-windows-gnu-0.4.0" , 777sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" , 778type = "tar.gz" , 779urls = [ "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download" ], 780strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0" , 781build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel" ), 782) 783 784maybe ( 785http_archive , 786name = "rules_rust_rust_analyzer__winapi-util-0.1.5" , 787sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" , 788type = "tar.gz" , 789urls = [ "https://crates.io/api/v1/crates/winapi-util/0.1.5/download" ], 790strip_prefix = "winapi-util-0.1.5" , 791build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel" ), 792) 793 794maybe ( 795http_archive , 796name = "rules_rust_rust_analyzer__winapi-x86_64-pc-windows-gnu-0.4.0" , 797sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" , 798type = "tar.gz" , 799urls = [ "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download" ], 800strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0" , 801build_file = Label ( "@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel" ), 802)