fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

Ryo Takahashirust-analyzer: Set a library's `display_name` when consolidating crate specs (#1039)fe0ffcde

0.7.0
18.6 KiB442 linesraw
1"""
2@generated
3cargo-raze generated Bazel file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")  # buildifier: disable=load
9load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")  # buildifier: disable=load
10load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")  # buildifier: disable=load
11
12def rules_rust_tools_rust_analyzer_fetch_remote_crates():
13    """This function defines a collection of repos and should be called in a WORKSPACE file"""
14    maybe(
15        http_archive,
16        name = "rules_rust_tools_rust_analyzer__aho_corasick__0_7_18",
17        url = "https://crates.io/api/v1/crates/aho-corasick/0.7.18/download",
18        type = "tar.gz",
19        sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f",
20        strip_prefix = "aho-corasick-0.7.18",
21        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.aho-corasick-0.7.18.bazel"),
22    )
23
24    maybe(
25        http_archive,
26        name = "rules_rust_tools_rust_analyzer__ansi_term__0_11_0",
27        url = "https://crates.io/api/v1/crates/ansi_term/0.11.0/download",
28        type = "tar.gz",
29        sha256 = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b",
30        strip_prefix = "ansi_term-0.11.0",
31        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.ansi_term-0.11.0.bazel"),
32    )
33
34    maybe(
35        http_archive,
36        name = "rules_rust_tools_rust_analyzer__anyhow__1_0_45",
37        url = "https://crates.io/api/v1/crates/anyhow/1.0.45/download",
38        type = "tar.gz",
39        sha256 = "ee10e43ae4a853c0a3591d4e2ada1719e553be18199d9da9d4a83f5927c2f5c7",
40        strip_prefix = "anyhow-1.0.45",
41        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.anyhow-1.0.45.bazel"),
42    )
43
44    maybe(
45        http_archive,
46        name = "rules_rust_tools_rust_analyzer__atty__0_2_14",
47        url = "https://crates.io/api/v1/crates/atty/0.2.14/download",
48        type = "tar.gz",
49        sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
50        strip_prefix = "atty-0.2.14",
51        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.atty-0.2.14.bazel"),
52    )
53
54    maybe(
55        http_archive,
56        name = "rules_rust_tools_rust_analyzer__bitflags__1_3_2",
57        url = "https://crates.io/api/v1/crates/bitflags/1.3.2/download",
58        type = "tar.gz",
59        sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
60        strip_prefix = "bitflags-1.3.2",
61        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.bitflags-1.3.2.bazel"),
62    )
63
64    maybe(
65        http_archive,
66        name = "rules_rust_tools_rust_analyzer__cfg_if__1_0_0",
67        url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
68        type = "tar.gz",
69        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
70        strip_prefix = "cfg-if-1.0.0",
71        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
72    )
73
74    maybe(
75        http_archive,
76        name = "rules_rust_tools_rust_analyzer__clap__2_33_3",
77        url = "https://crates.io/api/v1/crates/clap/2.33.3/download",
78        type = "tar.gz",
79        sha256 = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002",
80        strip_prefix = "clap-2.33.3",
81        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.clap-2.33.3.bazel"),
82    )
83
84    maybe(
85        http_archive,
86        name = "rules_rust_tools_rust_analyzer__either__1_6_1",
87        url = "https://crates.io/api/v1/crates/either/1.6.1/download",
88        type = "tar.gz",
89        sha256 = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457",
90        strip_prefix = "either-1.6.1",
91        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.either-1.6.1.bazel"),
92    )
93
94    maybe(
95        http_archive,
96        name = "rules_rust_tools_rust_analyzer__env_logger__0_9_0",
97        url = "https://crates.io/api/v1/crates/env_logger/0.9.0/download",
98        type = "tar.gz",
99        sha256 = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3",
100        strip_prefix = "env_logger-0.9.0",
101        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.env_logger-0.9.0.bazel"),
102    )
103
104    maybe(
105        http_archive,
106        name = "rules_rust_tools_rust_analyzer__heck__0_3_3",
107        url = "https://crates.io/api/v1/crates/heck/0.3.3/download",
108        type = "tar.gz",
109        sha256 = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c",
110        strip_prefix = "heck-0.3.3",
111        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.heck-0.3.3.bazel"),
112    )
113
114    maybe(
115        http_archive,
116        name = "rules_rust_tools_rust_analyzer__hermit_abi__0_1_19",
117        url = "https://crates.io/api/v1/crates/hermit-abi/0.1.19/download",
118        type = "tar.gz",
119        sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
120        strip_prefix = "hermit-abi-0.1.19",
121        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.hermit-abi-0.1.19.bazel"),
122    )
123
124    maybe(
125        http_archive,
126        name = "rules_rust_tools_rust_analyzer__humantime__2_1_0",
127        url = "https://crates.io/api/v1/crates/humantime/2.1.0/download",
128        type = "tar.gz",
129        sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
130        strip_prefix = "humantime-2.1.0",
131        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.humantime-2.1.0.bazel"),
132    )
133
134    maybe(
135        http_archive,
136        name = "rules_rust_tools_rust_analyzer__itertools__0_10_1",
137        url = "https://crates.io/api/v1/crates/itertools/0.10.1/download",
138        type = "tar.gz",
139        sha256 = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf",
140        strip_prefix = "itertools-0.10.1",
141        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.itertools-0.10.1.bazel"),
142    )
143
144    maybe(
145        http_archive,
146        name = "rules_rust_tools_rust_analyzer__itoa__0_4_8",
147        url = "https://crates.io/api/v1/crates/itoa/0.4.8/download",
148        type = "tar.gz",
149        sha256 = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4",
150        strip_prefix = "itoa-0.4.8",
151        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.itoa-0.4.8.bazel"),
152    )
153
154    maybe(
155        http_archive,
156        name = "rules_rust_tools_rust_analyzer__lazy_static__1_4_0",
157        url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
158        type = "tar.gz",
159        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
160        strip_prefix = "lazy_static-1.4.0",
161        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
162    )
163
164    maybe(
165        http_archive,
166        name = "rules_rust_tools_rust_analyzer__libc__0_2_107",
167        url = "https://crates.io/api/v1/crates/libc/0.2.107/download",
168        type = "tar.gz",
169        sha256 = "fbe5e23404da5b4f555ef85ebed98fb4083e55a00c317800bc2a50ede9f3d219",
170        strip_prefix = "libc-0.2.107",
171        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.libc-0.2.107.bazel"),
172    )
173
174    maybe(
175        http_archive,
176        name = "rules_rust_tools_rust_analyzer__log__0_4_14",
177        url = "https://crates.io/api/v1/crates/log/0.4.14/download",
178        type = "tar.gz",
179        sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
180        strip_prefix = "log-0.4.14",
181        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.log-0.4.14.bazel"),
182    )
183
184    maybe(
185        http_archive,
186        name = "rules_rust_tools_rust_analyzer__memchr__2_4_1",
187        url = "https://crates.io/api/v1/crates/memchr/2.4.1/download",
188        type = "tar.gz",
189        sha256 = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a",
190        strip_prefix = "memchr-2.4.1",
191        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.memchr-2.4.1.bazel"),
192    )
193
194    maybe(
195        http_archive,
196        name = "rules_rust_tools_rust_analyzer__proc_macro_error__1_0_4",
197        url = "https://crates.io/api/v1/crates/proc-macro-error/1.0.4/download",
198        type = "tar.gz",
199        sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c",
200        strip_prefix = "proc-macro-error-1.0.4",
201        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.proc-macro-error-1.0.4.bazel"),
202    )
203
204    maybe(
205        http_archive,
206        name = "rules_rust_tools_rust_analyzer__proc_macro_error_attr__1_0_4",
207        url = "https://crates.io/api/v1/crates/proc-macro-error-attr/1.0.4/download",
208        type = "tar.gz",
209        sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869",
210        strip_prefix = "proc-macro-error-attr-1.0.4",
211        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"),
212    )
213
214    maybe(
215        http_archive,
216        name = "rules_rust_tools_rust_analyzer__proc_macro2__1_0_32",
217        url = "https://crates.io/api/v1/crates/proc-macro2/1.0.32/download",
218        type = "tar.gz",
219        sha256 = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43",
220        strip_prefix = "proc-macro2-1.0.32",
221        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.proc-macro2-1.0.32.bazel"),
222    )
223
224    maybe(
225        http_archive,
226        name = "rules_rust_tools_rust_analyzer__quote__1_0_10",
227        url = "https://crates.io/api/v1/crates/quote/1.0.10/download",
228        type = "tar.gz",
229        sha256 = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05",
230        strip_prefix = "quote-1.0.10",
231        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.quote-1.0.10.bazel"),
232    )
233
234    maybe(
235        http_archive,
236        name = "rules_rust_tools_rust_analyzer__regex__1_5_4",
237        url = "https://crates.io/api/v1/crates/regex/1.5.4/download",
238        type = "tar.gz",
239        sha256 = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461",
240        strip_prefix = "regex-1.5.4",
241        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.regex-1.5.4.bazel"),
242    )
243
244    maybe(
245        http_archive,
246        name = "rules_rust_tools_rust_analyzer__regex_syntax__0_6_25",
247        url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download",
248        type = "tar.gz",
249        sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b",
250        strip_prefix = "regex-syntax-0.6.25",
251        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.regex-syntax-0.6.25.bazel"),
252    )
253
254    maybe(
255        http_archive,
256        name = "rules_rust_tools_rust_analyzer__ryu__1_0_5",
257        url = "https://crates.io/api/v1/crates/ryu/1.0.5/download",
258        type = "tar.gz",
259        sha256 = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e",
260        strip_prefix = "ryu-1.0.5",
261        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.ryu-1.0.5.bazel"),
262    )
263
264    maybe(
265        http_archive,
266        name = "rules_rust_tools_rust_analyzer__serde__1_0_130",
267        url = "https://crates.io/api/v1/crates/serde/1.0.130/download",
268        type = "tar.gz",
269        sha256 = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913",
270        strip_prefix = "serde-1.0.130",
271        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.serde-1.0.130.bazel"),
272    )
273
274    maybe(
275        http_archive,
276        name = "rules_rust_tools_rust_analyzer__serde_derive__1_0_130",
277        url = "https://crates.io/api/v1/crates/serde_derive/1.0.130/download",
278        type = "tar.gz",
279        sha256 = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b",
280        strip_prefix = "serde_derive-1.0.130",
281        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.serde_derive-1.0.130.bazel"),
282    )
283
284    maybe(
285        http_archive,
286        name = "rules_rust_tools_rust_analyzer__serde_json__1_0_69",
287        url = "https://crates.io/api/v1/crates/serde_json/1.0.69/download",
288        type = "tar.gz",
289        sha256 = "e466864e431129c7e0d3476b92f20458e5879919a0596c6472738d9fa2d342f8",
290        strip_prefix = "serde_json-1.0.69",
291        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.serde_json-1.0.69.bazel"),
292    )
293
294    maybe(
295        http_archive,
296        name = "rules_rust_tools_rust_analyzer__strsim__0_8_0",
297        url = "https://crates.io/api/v1/crates/strsim/0.8.0/download",
298        type = "tar.gz",
299        sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a",
300        strip_prefix = "strsim-0.8.0",
301        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.strsim-0.8.0.bazel"),
302    )
303
304    maybe(
305        http_archive,
306        name = "rules_rust_tools_rust_analyzer__structopt__0_3_25",
307        url = "https://crates.io/api/v1/crates/structopt/0.3.25/download",
308        type = "tar.gz",
309        sha256 = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c",
310        strip_prefix = "structopt-0.3.25",
311        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.structopt-0.3.25.bazel"),
312    )
313
314    maybe(
315        http_archive,
316        name = "rules_rust_tools_rust_analyzer__structopt_derive__0_4_18",
317        url = "https://crates.io/api/v1/crates/structopt-derive/0.4.18/download",
318        type = "tar.gz",
319        sha256 = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0",
320        strip_prefix = "structopt-derive-0.4.18",
321        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.structopt-derive-0.4.18.bazel"),
322    )
323
324    maybe(
325        http_archive,
326        name = "rules_rust_tools_rust_analyzer__syn__1_0_81",
327        url = "https://crates.io/api/v1/crates/syn/1.0.81/download",
328        type = "tar.gz",
329        sha256 = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966",
330        strip_prefix = "syn-1.0.81",
331        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.syn-1.0.81.bazel"),
332    )
333
334    maybe(
335        http_archive,
336        name = "rules_rust_tools_rust_analyzer__termcolor__1_1_2",
337        url = "https://crates.io/api/v1/crates/termcolor/1.1.2/download",
338        type = "tar.gz",
339        sha256 = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4",
340        strip_prefix = "termcolor-1.1.2",
341        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.termcolor-1.1.2.bazel"),
342    )
343
344    maybe(
345        http_archive,
346        name = "rules_rust_tools_rust_analyzer__textwrap__0_11_0",
347        url = "https://crates.io/api/v1/crates/textwrap/0.11.0/download",
348        type = "tar.gz",
349        sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060",
350        strip_prefix = "textwrap-0.11.0",
351        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.textwrap-0.11.0.bazel"),
352    )
353
354    maybe(
355        http_archive,
356        name = "rules_rust_tools_rust_analyzer__unicode_segmentation__1_8_0",
357        url = "https://crates.io/api/v1/crates/unicode-segmentation/1.8.0/download",
358        type = "tar.gz",
359        sha256 = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b",
360        strip_prefix = "unicode-segmentation-1.8.0",
361        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.unicode-segmentation-1.8.0.bazel"),
362    )
363
364    maybe(
365        http_archive,
366        name = "rules_rust_tools_rust_analyzer__unicode_width__0_1_9",
367        url = "https://crates.io/api/v1/crates/unicode-width/0.1.9/download",
368        type = "tar.gz",
369        sha256 = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973",
370        strip_prefix = "unicode-width-0.1.9",
371        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.unicode-width-0.1.9.bazel"),
372    )
373
374    maybe(
375        http_archive,
376        name = "rules_rust_tools_rust_analyzer__unicode_xid__0_2_2",
377        url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
378        type = "tar.gz",
379        sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
380        strip_prefix = "unicode-xid-0.2.2",
381        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.unicode-xid-0.2.2.bazel"),
382    )
383
384    maybe(
385        http_archive,
386        name = "rules_rust_tools_rust_analyzer__vec_map__0_8_2",
387        url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download",
388        type = "tar.gz",
389        sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191",
390        strip_prefix = "vec_map-0.8.2",
391        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.vec_map-0.8.2.bazel"),
392    )
393
394    maybe(
395        http_archive,
396        name = "rules_rust_tools_rust_analyzer__version_check__0_9_3",
397        url = "https://crates.io/api/v1/crates/version_check/0.9.3/download",
398        type = "tar.gz",
399        sha256 = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe",
400        strip_prefix = "version_check-0.9.3",
401        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.version_check-0.9.3.bazel"),
402    )
403
404    maybe(
405        http_archive,
406        name = "rules_rust_tools_rust_analyzer__winapi__0_3_9",
407        url = "https://crates.io/api/v1/crates/winapi/0.3.9/download",
408        type = "tar.gz",
409        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
410        strip_prefix = "winapi-0.3.9",
411        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.winapi-0.3.9.bazel"),
412    )
413
414    maybe(
415        http_archive,
416        name = "rules_rust_tools_rust_analyzer__winapi_i686_pc_windows_gnu__0_4_0",
417        url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download",
418        type = "tar.gz",
419        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
420        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
421        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
422    )
423
424    maybe(
425        http_archive,
426        name = "rules_rust_tools_rust_analyzer__winapi_util__0_1_5",
427        url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download",
428        type = "tar.gz",
429        sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
430        strip_prefix = "winapi-util-0.1.5",
431        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.winapi-util-0.1.5.bazel"),
432    )
433
434    maybe(
435        http_archive,
436        name = "rules_rust_tools_rust_analyzer__winapi_x86_64_pc_windows_gnu__0_4_0",
437        url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download",
438        type = "tar.gz",
439        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
440        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
441        build_file = Label("//tools/rust_analyzer/raze/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
442    )