Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 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 | # |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 6 | # bazel run @//tools/rust_analyzer/3rdparty:crates_vendor |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 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 | |
| 18 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 19 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 20 | load("@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 | |
| 29 | def _flatten_dependency_maps(all_dependency_maps): |
| 30 | """Flatten a list of dependency maps into one dictionary. |
| 31 | |
| 32 | Dependency maps have the following structure: |
| 33 | |
| 34 | ```python |
| 35 | DEPENDENCIES_MAP = { |
| 36 | # The first key in the map is a Bazel package |
| 37 | # name of the workspace this file is defined in. |
| 38 | "workspace_member_package": { |
| 39 | |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 40 | # Not all dependencies are supported for all platforms. |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 41 | # the condition key is the condition required to be true |
| 42 | # on the host platform. |
| 43 | "condition": { |
| 44 | |
| 45 | # An alias to a crate target. # The label of the crate target the |
| 46 | # Aliases are only crate names. # package name refers to. |
| 47 | "package_name": "@full//:label", |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | ``` |
| 52 | |
| 53 | Args: |
| 54 | all_dependency_maps (list): A list of dicts as described above |
| 55 | |
| 56 | Returns: |
| 57 | dict: A dictionary as described above |
| 58 | """ |
| 59 | dependencies = {} |
| 60 | |
| 61 | for workspace_deps_map in all_dependency_maps: |
| 62 | for pkg_name, conditional_deps_map in workspace_deps_map.items(): |
| 63 | if pkg_name not in dependencies: |
| 64 | non_frozen_map = dict() |
| 65 | for key, values in conditional_deps_map.items(): |
| 66 | non_frozen_map.update({key: dict(values.items())}) |
| 67 | dependencies.setdefault(pkg_name, non_frozen_map) |
| 68 | continue |
| 69 | |
| 70 | for condition, deps_map in conditional_deps_map.items(): |
| 71 | # If the condition has not been recorded, do so and continue |
| 72 | if condition not in dependencies[pkg_name]: |
| 73 | dependencies[pkg_name].setdefault(condition, dict(deps_map.items())) |
| 74 | continue |
| 75 | |
| 76 | # Alert on any miss-matched dependencies |
| 77 | inconsistent_entries = [] |
| 78 | for crate_name, crate_label in deps_map.items(): |
| 79 | existing = dependencies[pkg_name][condition].get(crate_name) |
| 80 | if existing and existing != crate_label: |
| 81 | inconsistent_entries.append((crate_name, existing, crate_label)) |
| 82 | dependencies[pkg_name][condition].update({crate_name: crate_label}) |
| 83 | |
| 84 | return dependencies |
| 85 | |
| 86 | def crate_deps(deps, package_name = None): |
| 87 | """Finds the fully qualified label of the requested crates for the package where this macro is called. |
| 88 | |
| 89 | Args: |
| 90 | deps (list): The desired list of crate targets. |
| 91 | package_name (str, optional): The package name of the set of dependencies to look up. |
| 92 | Defaults to `native.package_name()`. |
| 93 | |
| 94 | Returns: |
| 95 | list: A list of labels to generated rust targets (str) |
| 96 | """ |
| 97 | |
| 98 | if not deps: |
| 99 | return [] |
| 100 | |
| 101 | if package_name == None: |
| 102 | package_name = native.package_name() |
| 103 | |
| 104 | # Join both sets of dependencies |
| 105 | dependencies = _flatten_dependency_maps([ |
| 106 | _NORMAL_DEPENDENCIES, |
| 107 | _NORMAL_DEV_DEPENDENCIES, |
| 108 | _PROC_MACRO_DEPENDENCIES, |
| 109 | _PROC_MACRO_DEV_DEPENDENCIES, |
| 110 | _BUILD_DEPENDENCIES, |
| 111 | _BUILD_PROC_MACRO_DEPENDENCIES, |
| 112 | ]).pop(package_name, {}) |
| 113 | |
| 114 | # Combine all conditional packages so we can easily index over a flat list |
| 115 | # TODO: Perhaps this should actually return select statements and maintain |
| 116 | # the conditionals of the dependencies |
| 117 | flat_deps = {} |
| 118 | for deps_set in dependencies.values(): |
| 119 | for crate_name, crate_label in deps_set.items(): |
| 120 | flat_deps.update({crate_name: crate_label}) |
| 121 | |
| 122 | missing_crates = [] |
| 123 | crate_targets = [] |
| 124 | for crate_target in deps: |
| 125 | if crate_target not in flat_deps: |
| 126 | missing_crates.append(crate_target) |
| 127 | else: |
| 128 | crate_targets.append(flat_deps[crate_target]) |
| 129 | |
| 130 | if missing_crates: |
| 131 | fail("Could not find crates `{}` among dependencies of `{}`. Available dependencies were `{}`".format( |
| 132 | missing_crates, |
| 133 | package_name, |
| 134 | dependencies, |
| 135 | )) |
| 136 | |
| 137 | return crate_targets |
| 138 | |
| 139 | def all_crate_deps( |
| 140 | normal = False, |
| 141 | normal_dev = False, |
| 142 | proc_macro = False, |
| 143 | proc_macro_dev = False, |
| 144 | build = False, |
| 145 | build_proc_macro = False, |
| 146 | package_name = None): |
| 147 | """Finds the fully qualified label of all requested direct crate dependencies \ |
| 148 | for the package where this macro is called. |
| 149 | |
| 150 | If no parameters are set, all normal dependencies are returned. Setting any one flag will |
| 151 | otherwise impact the contents of the returned list. |
| 152 | |
| 153 | Args: |
| 154 | normal (bool, optional): If True, normal dependencies are included in the |
| 155 | output list. |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 156 | normal_dev (bool, optional): If True, normal dev dependencies will be |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 157 | included in the output list.. |
| 158 | proc_macro (bool, optional): If True, proc_macro dependencies are included |
| 159 | in the output list. |
| 160 | proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are |
| 161 | included in the output list. |
| 162 | build (bool, optional): If True, build dependencies are included |
| 163 | in the output list. |
| 164 | build_proc_macro (bool, optional): If True, build proc_macro dependencies are |
| 165 | included in the output list. |
| 166 | package_name (str, optional): The package name of the set of dependencies to look up. |
| 167 | Defaults to `native.package_name()` when unset. |
| 168 | |
| 169 | Returns: |
| 170 | list: A list of labels to generated rust targets (str) |
| 171 | """ |
| 172 | |
| 173 | if package_name == None: |
| 174 | package_name = native.package_name() |
| 175 | |
| 176 | # Determine the relevant maps to use |
| 177 | all_dependency_maps = [] |
| 178 | if normal: |
| 179 | all_dependency_maps.append(_NORMAL_DEPENDENCIES) |
| 180 | if normal_dev: |
| 181 | all_dependency_maps.append(_NORMAL_DEV_DEPENDENCIES) |
| 182 | if proc_macro: |
| 183 | all_dependency_maps.append(_PROC_MACRO_DEPENDENCIES) |
| 184 | if proc_macro_dev: |
| 185 | all_dependency_maps.append(_PROC_MACRO_DEV_DEPENDENCIES) |
| 186 | if build: |
| 187 | all_dependency_maps.append(_BUILD_DEPENDENCIES) |
| 188 | if build_proc_macro: |
| 189 | all_dependency_maps.append(_BUILD_PROC_MACRO_DEPENDENCIES) |
| 190 | |
| 191 | # Default to always using normal dependencies |
| 192 | if not all_dependency_maps: |
| 193 | all_dependency_maps.append(_NORMAL_DEPENDENCIES) |
| 194 | |
| 195 | dependencies = _flatten_dependency_maps(all_dependency_maps).pop(package_name, None) |
| 196 | |
| 197 | if not dependencies: |
| 198 | if dependencies == None: |
| 199 | fail("Tried to get all_crate_deps for package " + package_name + " but that package had no Cargo.toml file") |
| 200 | else: |
| 201 | return [] |
| 202 | |
| 203 | crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values()) |
| 204 | for condition, deps in dependencies.items(): |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 205 | crate_deps += selects.with_or({ |
| 206 | tuple(_CONDITIONS[condition]): deps.values(), |
| 207 | "//conditions:default": [], |
| 208 | }) |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 209 | |
| 210 | return crate_deps |
| 211 | |
| 212 | def aliases( |
| 213 | normal = False, |
| 214 | normal_dev = False, |
| 215 | proc_macro = False, |
| 216 | proc_macro_dev = False, |
| 217 | build = False, |
| 218 | build_proc_macro = False, |
| 219 | package_name = None): |
| 220 | """Produces a map of Crate alias names to their original label |
| 221 | |
| 222 | If no dependency kinds are specified, `normal` and `proc_macro` are used by default. |
| 223 | Setting any one flag will otherwise determine the contents of the returned dict. |
| 224 | |
| 225 | Args: |
| 226 | normal (bool, optional): If True, normal dependencies are included in the |
| 227 | output list. |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 228 | normal_dev (bool, optional): If True, normal dev dependencies will be |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 229 | included in the output list.. |
| 230 | proc_macro (bool, optional): If True, proc_macro dependencies are included |
| 231 | in the output list. |
| 232 | proc_macro_dev (bool, optional): If True, dev proc_macro dependencies are |
| 233 | included in the output list. |
| 234 | build (bool, optional): If True, build dependencies are included |
| 235 | in the output list. |
| 236 | build_proc_macro (bool, optional): If True, build proc_macro dependencies are |
| 237 | included in the output list. |
| 238 | package_name (str, optional): The package name of the set of dependencies to look up. |
| 239 | Defaults to `native.package_name()` when unset. |
| 240 | |
| 241 | Returns: |
| 242 | dict: The aliases of all associated packages |
| 243 | """ |
| 244 | if package_name == None: |
| 245 | package_name = native.package_name() |
| 246 | |
| 247 | # Determine the relevant maps to use |
| 248 | all_aliases_maps = [] |
| 249 | if normal: |
| 250 | all_aliases_maps.append(_NORMAL_ALIASES) |
| 251 | if normal_dev: |
| 252 | all_aliases_maps.append(_NORMAL_DEV_ALIASES) |
| 253 | if proc_macro: |
| 254 | all_aliases_maps.append(_PROC_MACRO_ALIASES) |
| 255 | if proc_macro_dev: |
| 256 | all_aliases_maps.append(_PROC_MACRO_DEV_ALIASES) |
| 257 | if build: |
| 258 | all_aliases_maps.append(_BUILD_ALIASES) |
| 259 | if build_proc_macro: |
| 260 | all_aliases_maps.append(_BUILD_PROC_MACRO_ALIASES) |
| 261 | |
| 262 | # Default to always using normal aliases |
| 263 | if not all_aliases_maps: |
| 264 | all_aliases_maps.append(_NORMAL_ALIASES) |
| 265 | all_aliases_maps.append(_PROC_MACRO_ALIASES) |
| 266 | |
| 267 | aliases = _flatten_dependency_maps(all_aliases_maps).pop(package_name, None) |
| 268 | |
| 269 | if not aliases: |
| 270 | return dict() |
| 271 | |
| 272 | common_items = aliases.pop(_COMMON_CONDITION, {}).items() |
| 273 | |
| 274 | # If there are only common items in the dictionary, immediately return them |
| 275 | if not len(aliases.keys()) == 1: |
| 276 | return dict(common_items) |
| 277 | |
| 278 | # Build a single select statement where each conditional has accounted for the |
| 279 | # common set of aliases. |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 280 | crate_aliases = {"//conditions:default": dict(common_items)} |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 281 | for condition, deps in aliases.items(): |
| 282 | condition_triples = _CONDITIONS[condition] |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 283 | for triple in condition_triples: |
| 284 | if triple in crate_aliases: |
| 285 | crate_aliases[triple].update(deps) |
| 286 | else: |
| 287 | crate_aliases.update({triple: dict(deps.items() + common_items)}) |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 288 | |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 289 | return select(crate_aliases) |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 290 | |
| 291 | ############################################################################### |
| 292 | # WORKSPACE MEMBER DEPS AND ALIASES |
| 293 | ############################################################################### |
| 294 | |
| 295 | _NORMAL_DEPENDENCIES = { |
| 296 | "": { |
| 297 | _COMMON_CONDITION: { |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 298 | "anyhow": "@rules_rust_rust_analyzer__anyhow-1.0.68//:anyhow", |
| 299 | "clap": "@rules_rust_rust_analyzer__clap-3.2.23//:clap", |
| 300 | "env_logger": "@rules_rust_rust_analyzer__env_logger-0.9.3//:env_logger", |
| 301 | "itertools": "@rules_rust_rust_analyzer__itertools-0.10.5//:itertools", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 302 | "log": "@rules_rust_rust_analyzer__log-0.4.17//:log", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 303 | "serde": "@rules_rust_rust_analyzer__serde-1.0.152//:serde", |
| 304 | "serde_json": "@rules_rust_rust_analyzer__serde_json-1.0.91//:serde_json", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 305 | }, |
| 306 | }, |
| 307 | } |
| 308 | |
| 309 | _NORMAL_ALIASES = { |
| 310 | "": { |
| 311 | _COMMON_CONDITION: { |
| 312 | }, |
| 313 | }, |
| 314 | } |
| 315 | |
| 316 | _NORMAL_DEV_DEPENDENCIES = { |
| 317 | "": { |
| 318 | }, |
| 319 | } |
| 320 | |
| 321 | _NORMAL_DEV_ALIASES = { |
| 322 | "": { |
| 323 | }, |
| 324 | } |
| 325 | |
| 326 | _PROC_MACRO_DEPENDENCIES = { |
| 327 | "": { |
| 328 | }, |
| 329 | } |
| 330 | |
| 331 | _PROC_MACRO_ALIASES = { |
| 332 | "": { |
| 333 | }, |
| 334 | } |
| 335 | |
| 336 | _PROC_MACRO_DEV_DEPENDENCIES = { |
| 337 | "": { |
| 338 | }, |
| 339 | } |
| 340 | |
| 341 | _PROC_MACRO_DEV_ALIASES = { |
| 342 | "": { |
| 343 | }, |
| 344 | } |
| 345 | |
| 346 | _BUILD_DEPENDENCIES = { |
| 347 | "": { |
| 348 | }, |
| 349 | } |
| 350 | |
| 351 | _BUILD_ALIASES = { |
| 352 | "": { |
| 353 | }, |
| 354 | } |
| 355 | |
| 356 | _BUILD_PROC_MACRO_DEPENDENCIES = { |
| 357 | "": { |
| 358 | }, |
| 359 | } |
| 360 | |
| 361 | _BUILD_PROC_MACRO_ALIASES = { |
| 362 | "": { |
| 363 | }, |
| 364 | } |
| 365 | |
| 366 | _CONDITIONS = { |
| 367 | "cfg(target_os = \"hermit\")": [], |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 368 | "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@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-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-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"], |
| 369 | "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"], |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 370 | "i686-pc-windows-gnu": [], |
| 371 | "x86_64-pc-windows-gnu": [], |
| 372 | } |
| 373 | |
| 374 | ############################################################################### |
| 375 | |
| 376 | def crate_repositories(): |
| 377 | """A macro for defining repositories for all generated crates""" |
| 378 | maybe( |
| 379 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 380 | name = "rules_rust_rust_analyzer__aho-corasick-0.7.20", |
| 381 | sha256 = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 382 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 383 | urls = ["https://crates.io/api/v1/crates/aho-corasick/0.7.20/download"], |
| 384 | strip_prefix = "aho-corasick-0.7.20", |
| 385 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.aho-corasick-0.7.20.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 386 | ) |
| 387 | |
| 388 | maybe( |
| 389 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 390 | name = "rules_rust_rust_analyzer__anyhow-1.0.68", |
| 391 | sha256 = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 392 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 393 | urls = ["https://crates.io/api/v1/crates/anyhow/1.0.68/download"], |
| 394 | strip_prefix = "anyhow-1.0.68", |
| 395 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.anyhow-1.0.68.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 396 | ) |
| 397 | |
| 398 | maybe( |
| 399 | http_archive, |
| 400 | name = "rules_rust_rust_analyzer__atty-0.2.14", |
| 401 | sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8", |
| 402 | type = "tar.gz", |
| 403 | urls = ["https://crates.io/api/v1/crates/atty/0.2.14/download"], |
| 404 | strip_prefix = "atty-0.2.14", |
| 405 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.atty-0.2.14.bazel"), |
| 406 | ) |
| 407 | |
| 408 | maybe( |
| 409 | http_archive, |
| 410 | name = "rules_rust_rust_analyzer__autocfg-1.1.0", |
| 411 | sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa", |
| 412 | type = "tar.gz", |
| 413 | urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"], |
| 414 | strip_prefix = "autocfg-1.1.0", |
| 415 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"), |
| 416 | ) |
| 417 | |
| 418 | maybe( |
| 419 | http_archive, |
| 420 | name = "rules_rust_rust_analyzer__bitflags-1.3.2", |
| 421 | sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a", |
| 422 | type = "tar.gz", |
| 423 | urls = ["https://crates.io/api/v1/crates/bitflags/1.3.2/download"], |
| 424 | strip_prefix = "bitflags-1.3.2", |
| 425 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.bitflags-1.3.2.bazel"), |
| 426 | ) |
| 427 | |
| 428 | maybe( |
| 429 | http_archive, |
| 430 | name = "rules_rust_rust_analyzer__cfg-if-1.0.0", |
| 431 | sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd", |
| 432 | type = "tar.gz", |
| 433 | urls = ["https://crates.io/api/v1/crates/cfg-if/1.0.0/download"], |
| 434 | strip_prefix = "cfg-if-1.0.0", |
| 435 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.cfg-if-1.0.0.bazel"), |
| 436 | ) |
| 437 | |
| 438 | maybe( |
| 439 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 440 | name = "rules_rust_rust_analyzer__clap-3.2.23", |
| 441 | sha256 = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 442 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 443 | urls = ["https://crates.io/api/v1/crates/clap/3.2.23/download"], |
| 444 | strip_prefix = "clap-3.2.23", |
| 445 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap-3.2.23.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 446 | ) |
| 447 | |
| 448 | maybe( |
| 449 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 450 | name = "rules_rust_rust_analyzer__clap_derive-3.2.18", |
| 451 | sha256 = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 452 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 453 | urls = ["https://crates.io/api/v1/crates/clap_derive/3.2.18/download"], |
| 454 | strip_prefix = "clap_derive-3.2.18", |
| 455 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap_derive-3.2.18.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 456 | ) |
| 457 | |
| 458 | maybe( |
| 459 | http_archive, |
| 460 | name = "rules_rust_rust_analyzer__clap_lex-0.2.4", |
| 461 | sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5", |
| 462 | type = "tar.gz", |
| 463 | urls = ["https://crates.io/api/v1/crates/clap_lex/0.2.4/download"], |
| 464 | strip_prefix = "clap_lex-0.2.4", |
| 465 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.clap_lex-0.2.4.bazel"), |
| 466 | ) |
| 467 | |
| 468 | maybe( |
| 469 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 470 | name = "rules_rust_rust_analyzer__either-1.8.0", |
| 471 | sha256 = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 472 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 473 | urls = ["https://crates.io/api/v1/crates/either/1.8.0/download"], |
| 474 | strip_prefix = "either-1.8.0", |
| 475 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.either-1.8.0.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 476 | ) |
| 477 | |
| 478 | maybe( |
| 479 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 480 | name = "rules_rust_rust_analyzer__env_logger-0.9.3", |
| 481 | sha256 = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 482 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 483 | urls = ["https://crates.io/api/v1/crates/env_logger/0.9.3/download"], |
| 484 | strip_prefix = "env_logger-0.9.3", |
| 485 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.env_logger-0.9.3.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 486 | ) |
| 487 | |
| 488 | maybe( |
| 489 | http_archive, |
| 490 | name = "rules_rust_rust_analyzer__hashbrown-0.12.3", |
| 491 | sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888", |
| 492 | type = "tar.gz", |
| 493 | urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"], |
| 494 | strip_prefix = "hashbrown-0.12.3", |
| 495 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"), |
| 496 | ) |
| 497 | |
| 498 | maybe( |
| 499 | http_archive, |
| 500 | name = "rules_rust_rust_analyzer__heck-0.4.0", |
| 501 | sha256 = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9", |
| 502 | type = "tar.gz", |
| 503 | urls = ["https://crates.io/api/v1/crates/heck/0.4.0/download"], |
| 504 | strip_prefix = "heck-0.4.0", |
| 505 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.heck-0.4.0.bazel"), |
| 506 | ) |
| 507 | |
| 508 | maybe( |
| 509 | http_archive, |
| 510 | name = "rules_rust_rust_analyzer__hermit-abi-0.1.19", |
| 511 | sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33", |
| 512 | type = "tar.gz", |
| 513 | urls = ["https://crates.io/api/v1/crates/hermit-abi/0.1.19/download"], |
| 514 | strip_prefix = "hermit-abi-0.1.19", |
| 515 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel"), |
| 516 | ) |
| 517 | |
| 518 | maybe( |
| 519 | http_archive, |
| 520 | name = "rules_rust_rust_analyzer__humantime-2.1.0", |
| 521 | sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4", |
| 522 | type = "tar.gz", |
| 523 | urls = ["https://crates.io/api/v1/crates/humantime/2.1.0/download"], |
| 524 | strip_prefix = "humantime-2.1.0", |
| 525 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.humantime-2.1.0.bazel"), |
| 526 | ) |
| 527 | |
| 528 | maybe( |
| 529 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 530 | name = "rules_rust_rust_analyzer__indexmap-1.9.2", |
| 531 | sha256 = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 532 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 533 | urls = ["https://crates.io/api/v1/crates/indexmap/1.9.2/download"], |
| 534 | strip_prefix = "indexmap-1.9.2", |
| 535 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.indexmap-1.9.2.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 536 | ) |
| 537 | |
| 538 | maybe( |
| 539 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 540 | name = "rules_rust_rust_analyzer__itertools-0.10.5", |
| 541 | sha256 = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 542 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 543 | urls = ["https://crates.io/api/v1/crates/itertools/0.10.5/download"], |
| 544 | strip_prefix = "itertools-0.10.5", |
| 545 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.itertools-0.10.5.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 546 | ) |
| 547 | |
| 548 | maybe( |
| 549 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 550 | name = "rules_rust_rust_analyzer__itoa-1.0.5", |
| 551 | sha256 = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 552 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 553 | urls = ["https://crates.io/api/v1/crates/itoa/1.0.5/download"], |
| 554 | strip_prefix = "itoa-1.0.5", |
| 555 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.itoa-1.0.5.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 556 | ) |
| 557 | |
| 558 | maybe( |
| 559 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 560 | name = "rules_rust_rust_analyzer__libc-0.2.139", |
| 561 | sha256 = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 562 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 563 | urls = ["https://crates.io/api/v1/crates/libc/0.2.139/download"], |
| 564 | strip_prefix = "libc-0.2.139", |
| 565 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.libc-0.2.139.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 566 | ) |
| 567 | |
| 568 | maybe( |
| 569 | http_archive, |
| 570 | name = "rules_rust_rust_analyzer__log-0.4.17", |
| 571 | sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e", |
| 572 | type = "tar.gz", |
| 573 | urls = ["https://crates.io/api/v1/crates/log/0.4.17/download"], |
| 574 | strip_prefix = "log-0.4.17", |
| 575 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.log-0.4.17.bazel"), |
| 576 | ) |
| 577 | |
| 578 | maybe( |
| 579 | http_archive, |
| 580 | name = "rules_rust_rust_analyzer__memchr-2.5.0", |
| 581 | sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d", |
| 582 | type = "tar.gz", |
| 583 | urls = ["https://crates.io/api/v1/crates/memchr/2.5.0/download"], |
| 584 | strip_prefix = "memchr-2.5.0", |
| 585 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.memchr-2.5.0.bazel"), |
| 586 | ) |
| 587 | |
| 588 | maybe( |
| 589 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 590 | name = "rules_rust_rust_analyzer__once_cell-1.17.0", |
| 591 | sha256 = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 592 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 593 | urls = ["https://crates.io/api/v1/crates/once_cell/1.17.0/download"], |
| 594 | strip_prefix = "once_cell-1.17.0", |
| 595 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.once_cell-1.17.0.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 596 | ) |
| 597 | |
| 598 | maybe( |
| 599 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 600 | name = "rules_rust_rust_analyzer__os_str_bytes-6.4.1", |
| 601 | sha256 = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 602 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 603 | urls = ["https://crates.io/api/v1/crates/os_str_bytes/6.4.1/download"], |
| 604 | strip_prefix = "os_str_bytes-6.4.1", |
| 605 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.os_str_bytes-6.4.1.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 606 | ) |
| 607 | |
| 608 | maybe( |
| 609 | http_archive, |
| 610 | name = "rules_rust_rust_analyzer__proc-macro-error-1.0.4", |
| 611 | sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c", |
| 612 | type = "tar.gz", |
| 613 | urls = ["https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download"], |
| 614 | strip_prefix = "proc-macro-error-1.0.4", |
| 615 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro-error-1.0.4.bazel"), |
| 616 | ) |
| 617 | |
| 618 | maybe( |
| 619 | http_archive, |
| 620 | name = "rules_rust_rust_analyzer__proc-macro-error-attr-1.0.4", |
| 621 | sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869", |
| 622 | type = "tar.gz", |
| 623 | urls = ["https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download"], |
| 624 | strip_prefix = "proc-macro-error-attr-1.0.4", |
| 625 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro-error-attr-1.0.4.bazel"), |
| 626 | ) |
| 627 | |
| 628 | maybe( |
| 629 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 630 | name = "rules_rust_rust_analyzer__proc-macro2-1.0.49", |
| 631 | sha256 = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 632 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 633 | urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.49/download"], |
| 634 | strip_prefix = "proc-macro2-1.0.49", |
| 635 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.proc-macro2-1.0.49.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 636 | ) |
| 637 | |
| 638 | maybe( |
| 639 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 640 | name = "rules_rust_rust_analyzer__quote-1.0.23", |
| 641 | sha256 = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 642 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 643 | urls = ["https://crates.io/api/v1/crates/quote/1.0.23/download"], |
| 644 | strip_prefix = "quote-1.0.23", |
| 645 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.quote-1.0.23.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 646 | ) |
| 647 | |
| 648 | maybe( |
| 649 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 650 | name = "rules_rust_rust_analyzer__regex-1.7.0", |
| 651 | sha256 = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 652 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 653 | urls = ["https://crates.io/api/v1/crates/regex/1.7.0/download"], |
| 654 | strip_prefix = "regex-1.7.0", |
| 655 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.regex-1.7.0.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 656 | ) |
| 657 | |
| 658 | maybe( |
| 659 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 660 | name = "rules_rust_rust_analyzer__regex-syntax-0.6.28", |
| 661 | sha256 = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 662 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 663 | urls = ["https://crates.io/api/v1/crates/regex-syntax/0.6.28/download"], |
| 664 | strip_prefix = "regex-syntax-0.6.28", |
| 665 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.regex-syntax-0.6.28.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 666 | ) |
| 667 | |
| 668 | maybe( |
| 669 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 670 | name = "rules_rust_rust_analyzer__ryu-1.0.12", |
| 671 | sha256 = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 672 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 673 | urls = ["https://crates.io/api/v1/crates/ryu/1.0.12/download"], |
| 674 | strip_prefix = "ryu-1.0.12", |
| 675 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.ryu-1.0.12.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 676 | ) |
| 677 | |
| 678 | maybe( |
| 679 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 680 | name = "rules_rust_rust_analyzer__serde-1.0.152", |
| 681 | sha256 = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 682 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 683 | urls = ["https://crates.io/api/v1/crates/serde/1.0.152/download"], |
| 684 | strip_prefix = "serde-1.0.152", |
| 685 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde-1.0.152.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 686 | ) |
| 687 | |
| 688 | maybe( |
| 689 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 690 | name = "rules_rust_rust_analyzer__serde_derive-1.0.152", |
| 691 | sha256 = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 692 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 693 | urls = ["https://crates.io/api/v1/crates/serde_derive/1.0.152/download"], |
| 694 | strip_prefix = "serde_derive-1.0.152", |
| 695 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde_derive-1.0.152.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 696 | ) |
| 697 | |
| 698 | maybe( |
| 699 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 700 | name = "rules_rust_rust_analyzer__serde_json-1.0.91", |
| 701 | sha256 = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 702 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 703 | urls = ["https://crates.io/api/v1/crates/serde_json/1.0.91/download"], |
| 704 | strip_prefix = "serde_json-1.0.91", |
| 705 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.serde_json-1.0.91.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 706 | ) |
| 707 | |
| 708 | maybe( |
| 709 | http_archive, |
| 710 | name = "rules_rust_rust_analyzer__strsim-0.10.0", |
| 711 | sha256 = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623", |
| 712 | type = "tar.gz", |
| 713 | urls = ["https://crates.io/api/v1/crates/strsim/0.10.0/download"], |
| 714 | strip_prefix = "strsim-0.10.0", |
| 715 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.strsim-0.10.0.bazel"), |
| 716 | ) |
| 717 | |
| 718 | maybe( |
| 719 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 720 | name = "rules_rust_rust_analyzer__syn-1.0.107", |
| 721 | sha256 = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 722 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 723 | urls = ["https://crates.io/api/v1/crates/syn/1.0.107/download"], |
| 724 | strip_prefix = "syn-1.0.107", |
| 725 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.syn-1.0.107.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 726 | ) |
| 727 | |
| 728 | maybe( |
| 729 | http_archive, |
| 730 | name = "rules_rust_rust_analyzer__termcolor-1.1.3", |
| 731 | sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755", |
| 732 | type = "tar.gz", |
| 733 | urls = ["https://crates.io/api/v1/crates/termcolor/1.1.3/download"], |
| 734 | strip_prefix = "termcolor-1.1.3", |
| 735 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.termcolor-1.1.3.bazel"), |
| 736 | ) |
| 737 | |
| 738 | maybe( |
| 739 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 740 | name = "rules_rust_rust_analyzer__textwrap-0.16.0", |
| 741 | sha256 = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 742 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 743 | urls = ["https://crates.io/api/v1/crates/textwrap/0.16.0/download"], |
| 744 | strip_prefix = "textwrap-0.16.0", |
| 745 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.textwrap-0.16.0.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 746 | ) |
| 747 | |
| 748 | maybe( |
| 749 | http_archive, |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 750 | name = "rules_rust_rust_analyzer__unicode-ident-1.0.6", |
| 751 | sha256 = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc", |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 752 | type = "tar.gz", |
Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 753 | urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.6/download"], |
| 754 | strip_prefix = "unicode-ident-1.0.6", |
| 755 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.unicode-ident-1.0.6.bazel"), |
Brian Silverman | 5f6f276 | 2022-08-13 19:30:05 -0700 | [diff] [blame] | 756 | ) |
| 757 | |
| 758 | maybe( |
| 759 | http_archive, |
| 760 | name = "rules_rust_rust_analyzer__version_check-0.9.4", |
| 761 | sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f", |
| 762 | type = "tar.gz", |
| 763 | urls = ["https://crates.io/api/v1/crates/version_check/0.9.4/download"], |
| 764 | strip_prefix = "version_check-0.9.4", |
| 765 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.version_check-0.9.4.bazel"), |
| 766 | ) |
| 767 | |
| 768 | maybe( |
| 769 | http_archive, |
| 770 | name = "rules_rust_rust_analyzer__winapi-0.3.9", |
| 771 | sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419", |
| 772 | type = "tar.gz", |
| 773 | urls = ["https://crates.io/api/v1/crates/winapi/0.3.9/download"], |
| 774 | strip_prefix = "winapi-0.3.9", |
| 775 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-0.3.9.bazel"), |
| 776 | ) |
| 777 | |
| 778 | maybe( |
| 779 | http_archive, |
| 780 | name = "rules_rust_rust_analyzer__winapi-i686-pc-windows-gnu-0.4.0", |
| 781 | sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6", |
| 782 | type = "tar.gz", |
| 783 | urls = ["https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download"], |
| 784 | strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0", |
| 785 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"), |
| 786 | ) |
| 787 | |
| 788 | maybe( |
| 789 | http_archive, |
| 790 | name = "rules_rust_rust_analyzer__winapi-util-0.1.5", |
| 791 | sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178", |
| 792 | type = "tar.gz", |
| 793 | urls = ["https://crates.io/api/v1/crates/winapi-util/0.1.5/download"], |
| 794 | strip_prefix = "winapi-util-0.1.5", |
| 795 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-util-0.1.5.bazel"), |
| 796 | ) |
| 797 | |
| 798 | maybe( |
| 799 | http_archive, |
| 800 | name = "rules_rust_rust_analyzer__winapi-x86_64-pc-windows-gnu-0.4.0", |
| 801 | sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f", |
| 802 | type = "tar.gz", |
| 803 | urls = ["https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download"], |
| 804 | strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0", |
| 805 | build_file = Label("@rules_rust//tools/rust_analyzer/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"), |
| 806 | ) |