fork/rules_rust

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

Marcel HlopkoUse allowlist with bindgen (#738)9b258636

0.5.0
16.7 KiB422 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_bindgen_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_bindgen__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("//bindgen/raze/remote:BUILD.aho-corasick-0.7.18.bazel"),
22    )
23
24    maybe(
25        http_archive,
26        name = "rules_rust_bindgen__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("//bindgen/raze/remote:BUILD.ansi_term-0.11.0.bazel"),
32    )
33
34    maybe(
35        http_archive,
36        name = "rules_rust_bindgen__atty__0_2_14",
37        url = "https://crates.io/api/v1/crates/atty/0.2.14/download",
38        type = "tar.gz",
39        sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
40        strip_prefix = "atty-0.2.14",
41        build_file = Label("//bindgen/raze/remote:BUILD.atty-0.2.14.bazel"),
42    )
43
44    maybe(
45        http_archive,
46        name = "rules_rust_bindgen__bindgen__0_58_1",
47        url = "https://crates.io/api/v1/crates/bindgen/0.58.1/download",
48        type = "tar.gz",
49        sha256 = "0f8523b410d7187a43085e7e064416ea32ded16bd0a4e6fc025e21616d01258f",
50        strip_prefix = "bindgen-0.58.1",
51        build_file = Label("//bindgen/raze/remote:BUILD.bindgen-0.58.1.bazel"),
52    )
53
54    maybe(
55        http_archive,
56        name = "rules_rust_bindgen__bitflags__1_2_1",
57        url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
58        type = "tar.gz",
59        sha256 = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693",
60        strip_prefix = "bitflags-1.2.1",
61        build_file = Label("//bindgen/raze/remote:BUILD.bitflags-1.2.1.bazel"),
62    )
63
64    maybe(
65        http_archive,
66        name = "rules_rust_bindgen__cexpr__0_4_0",
67        url = "https://crates.io/api/v1/crates/cexpr/0.4.0/download",
68        type = "tar.gz",
69        sha256 = "f4aedb84272dbe89af497cf81375129abda4fc0a9e7c5d317498c15cc30c0d27",
70        strip_prefix = "cexpr-0.4.0",
71        build_file = Label("//bindgen/raze/remote:BUILD.cexpr-0.4.0.bazel"),
72    )
73
74    maybe(
75        http_archive,
76        name = "rules_rust_bindgen__cfg_if__0_1_10",
77        url = "https://crates.io/api/v1/crates/cfg-if/0.1.10/download",
78        type = "tar.gz",
79        sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822",
80        strip_prefix = "cfg-if-0.1.10",
81        build_file = Label("//bindgen/raze/remote:BUILD.cfg-if-0.1.10.bazel"),
82    )
83
84    maybe(
85        http_archive,
86        name = "rules_rust_bindgen__cfg_if__1_0_0",
87        url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
88        type = "tar.gz",
89        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
90        strip_prefix = "cfg-if-1.0.0",
91        build_file = Label("//bindgen/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
92    )
93
94    maybe(
95        http_archive,
96        name = "rules_rust_bindgen__clang_sys__1_2_0",
97        url = "https://crates.io/api/v1/crates/clang-sys/1.2.0/download",
98        type = "tar.gz",
99        sha256 = "853eda514c284c2287f4bf20ae614f8781f40a81d32ecda6e91449304dfe077c",
100        strip_prefix = "clang-sys-1.2.0",
101        build_file = Label("//bindgen/raze/remote:BUILD.clang-sys-1.2.0.bazel"),
102    )
103
104    maybe(
105        http_archive,
106        name = "rules_rust_bindgen__clap__2_33_3",
107        url = "https://crates.io/api/v1/crates/clap/2.33.3/download",
108        type = "tar.gz",
109        sha256 = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002",
110        strip_prefix = "clap-2.33.3",
111        build_file = Label("//bindgen/raze/remote:BUILD.clap-2.33.3.bazel"),
112    )
113
114    maybe(
115        http_archive,
116        name = "rules_rust_bindgen__env_logger__0_8_3",
117        url = "https://crates.io/api/v1/crates/env_logger/0.8.3/download",
118        type = "tar.gz",
119        sha256 = "17392a012ea30ef05a610aa97dfb49496e71c9f676b27879922ea5bdf60d9d3f",
120        strip_prefix = "env_logger-0.8.3",
121        build_file = Label("//bindgen/raze/remote:BUILD.env_logger-0.8.3.bazel"),
122    )
123
124    maybe(
125        http_archive,
126        name = "rules_rust_bindgen__glob__0_3_0",
127        url = "https://crates.io/api/v1/crates/glob/0.3.0/download",
128        type = "tar.gz",
129        sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574",
130        strip_prefix = "glob-0.3.0",
131        build_file = Label("//bindgen/raze/remote:BUILD.glob-0.3.0.bazel"),
132    )
133
134    maybe(
135        http_archive,
136        name = "rules_rust_bindgen__hermit_abi__0_1_18",
137        url = "https://crates.io/api/v1/crates/hermit-abi/0.1.18/download",
138        type = "tar.gz",
139        sha256 = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c",
140        strip_prefix = "hermit-abi-0.1.18",
141        build_file = Label("//bindgen/raze/remote:BUILD.hermit-abi-0.1.18.bazel"),
142    )
143
144    maybe(
145        http_archive,
146        name = "rules_rust_bindgen__humantime__2_1_0",
147        url = "https://crates.io/api/v1/crates/humantime/2.1.0/download",
148        type = "tar.gz",
149        sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
150        strip_prefix = "humantime-2.1.0",
151        build_file = Label("//bindgen/raze/remote:BUILD.humantime-2.1.0.bazel"),
152    )
153
154    maybe(
155        http_archive,
156        name = "rules_rust_bindgen__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("//bindgen/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
162    )
163
164    maybe(
165        http_archive,
166        name = "rules_rust_bindgen__lazycell__1_3_0",
167        url = "https://crates.io/api/v1/crates/lazycell/1.3.0/download",
168        type = "tar.gz",
169        sha256 = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55",
170        strip_prefix = "lazycell-1.3.0",
171        build_file = Label("//bindgen/raze/remote:BUILD.lazycell-1.3.0.bazel"),
172    )
173
174    maybe(
175        http_archive,
176        name = "rules_rust_bindgen__libc__0_2_94",
177        url = "https://crates.io/api/v1/crates/libc/0.2.94/download",
178        type = "tar.gz",
179        sha256 = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e",
180        strip_prefix = "libc-0.2.94",
181        build_file = Label("//bindgen/raze/remote:BUILD.libc-0.2.94.bazel"),
182    )
183
184    maybe(
185        http_archive,
186        name = "rules_rust_bindgen__libloading__0_6_3",
187        url = "https://crates.io/api/v1/crates/libloading/0.6.3/download",
188        type = "tar.gz",
189        sha256 = "2443d8f0478b16759158b2f66d525991a05491138bc05814ef52a250148ef4f9",
190        strip_prefix = "libloading-0.6.3",
191        build_file = Label("//bindgen/raze/remote:BUILD.libloading-0.6.3.bazel"),
192    )
193
194    maybe(
195        http_archive,
196        name = "rules_rust_bindgen__libloading__0_7_0",
197        url = "https://crates.io/api/v1/crates/libloading/0.7.0/download",
198        type = "tar.gz",
199        sha256 = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a",
200        strip_prefix = "libloading-0.7.0",
201        build_file = Label("//bindgen/raze/remote:BUILD.libloading-0.7.0.bazel"),
202    )
203
204    maybe(
205        http_archive,
206        name = "rules_rust_bindgen__log__0_4_14",
207        url = "https://crates.io/api/v1/crates/log/0.4.14/download",
208        type = "tar.gz",
209        sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
210        strip_prefix = "log-0.4.14",
211        build_file = Label("//bindgen/raze/remote:BUILD.log-0.4.14.bazel"),
212    )
213
214    maybe(
215        http_archive,
216        name = "rules_rust_bindgen__memchr__2_4_0",
217        url = "https://crates.io/api/v1/crates/memchr/2.4.0/download",
218        type = "tar.gz",
219        sha256 = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc",
220        strip_prefix = "memchr-2.4.0",
221        build_file = Label("//bindgen/raze/remote:BUILD.memchr-2.4.0.bazel"),
222    )
223
224    maybe(
225        http_archive,
226        name = "rules_rust_bindgen__nom__5_1_2",
227        url = "https://crates.io/api/v1/crates/nom/5.1.2/download",
228        type = "tar.gz",
229        sha256 = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af",
230        strip_prefix = "nom-5.1.2",
231        build_file = Label("//bindgen/raze/remote:BUILD.nom-5.1.2.bazel"),
232    )
233
234    maybe(
235        http_archive,
236        name = "rules_rust_bindgen__peeking_take_while__0_1_2",
237        url = "https://crates.io/api/v1/crates/peeking_take_while/0.1.2/download",
238        type = "tar.gz",
239        sha256 = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099",
240        strip_prefix = "peeking_take_while-0.1.2",
241        build_file = Label("//bindgen/raze/remote:BUILD.peeking_take_while-0.1.2.bazel"),
242    )
243
244    maybe(
245        http_archive,
246        name = "rules_rust_bindgen__proc_macro2__1_0_26",
247        url = "https://crates.io/api/v1/crates/proc-macro2/1.0.26/download",
248        type = "tar.gz",
249        sha256 = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec",
250        strip_prefix = "proc-macro2-1.0.26",
251        build_file = Label("//bindgen/raze/remote:BUILD.proc-macro2-1.0.26.bazel"),
252    )
253
254    maybe(
255        http_archive,
256        name = "rules_rust_bindgen__quote__1_0_9",
257        url = "https://crates.io/api/v1/crates/quote/1.0.9/download",
258        type = "tar.gz",
259        sha256 = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7",
260        strip_prefix = "quote-1.0.9",
261        build_file = Label("//bindgen/raze/remote:BUILD.quote-1.0.9.bazel"),
262    )
263
264    maybe(
265        http_archive,
266        name = "rules_rust_bindgen__regex__1_5_4",
267        url = "https://crates.io/api/v1/crates/regex/1.5.4/download",
268        type = "tar.gz",
269        sha256 = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461",
270        strip_prefix = "regex-1.5.4",
271        build_file = Label("//bindgen/raze/remote:BUILD.regex-1.5.4.bazel"),
272    )
273
274    maybe(
275        http_archive,
276        name = "rules_rust_bindgen__regex_syntax__0_6_25",
277        url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download",
278        type = "tar.gz",
279        sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b",
280        strip_prefix = "regex-syntax-0.6.25",
281        build_file = Label("//bindgen/raze/remote:BUILD.regex-syntax-0.6.25.bazel"),
282    )
283
284    maybe(
285        http_archive,
286        name = "rules_rust_bindgen__rustc_hash__1_1_0",
287        url = "https://crates.io/api/v1/crates/rustc-hash/1.1.0/download",
288        type = "tar.gz",
289        sha256 = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2",
290        strip_prefix = "rustc-hash-1.1.0",
291        build_file = Label("//bindgen/raze/remote:BUILD.rustc-hash-1.1.0.bazel"),
292    )
293
294    maybe(
295        http_archive,
296        name = "rules_rust_bindgen__shlex__1_0_0",
297        url = "https://crates.io/api/v1/crates/shlex/1.0.0/download",
298        type = "tar.gz",
299        sha256 = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d",
300        strip_prefix = "shlex-1.0.0",
301        build_file = Label("//bindgen/raze/remote:BUILD.shlex-1.0.0.bazel"),
302    )
303
304    maybe(
305        http_archive,
306        name = "rules_rust_bindgen__strsim__0_8_0",
307        url = "https://crates.io/api/v1/crates/strsim/0.8.0/download",
308        type = "tar.gz",
309        sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a",
310        strip_prefix = "strsim-0.8.0",
311        build_file = Label("//bindgen/raze/remote:BUILD.strsim-0.8.0.bazel"),
312    )
313
314    maybe(
315        http_archive,
316        name = "rules_rust_bindgen__termcolor__1_1_2",
317        url = "https://crates.io/api/v1/crates/termcolor/1.1.2/download",
318        type = "tar.gz",
319        sha256 = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4",
320        strip_prefix = "termcolor-1.1.2",
321        build_file = Label("//bindgen/raze/remote:BUILD.termcolor-1.1.2.bazel"),
322    )
323
324    maybe(
325        http_archive,
326        name = "rules_rust_bindgen__textwrap__0_11_0",
327        url = "https://crates.io/api/v1/crates/textwrap/0.11.0/download",
328        type = "tar.gz",
329        sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060",
330        strip_prefix = "textwrap-0.11.0",
331        build_file = Label("//bindgen/raze/remote:BUILD.textwrap-0.11.0.bazel"),
332    )
333
334    maybe(
335        http_archive,
336        name = "rules_rust_bindgen__unicode_width__0_1_8",
337        url = "https://crates.io/api/v1/crates/unicode-width/0.1.8/download",
338        type = "tar.gz",
339        sha256 = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3",
340        strip_prefix = "unicode-width-0.1.8",
341        build_file = Label("//bindgen/raze/remote:BUILD.unicode-width-0.1.8.bazel"),
342    )
343
344    maybe(
345        http_archive,
346        name = "rules_rust_bindgen__unicode_xid__0_2_2",
347        url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
348        type = "tar.gz",
349        sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
350        strip_prefix = "unicode-xid-0.2.2",
351        build_file = Label("//bindgen/raze/remote:BUILD.unicode-xid-0.2.2.bazel"),
352    )
353
354    maybe(
355        http_archive,
356        name = "rules_rust_bindgen__vec_map__0_8_2",
357        url = "https://crates.io/api/v1/crates/vec_map/0.8.2/download",
358        type = "tar.gz",
359        sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191",
360        strip_prefix = "vec_map-0.8.2",
361        build_file = Label("//bindgen/raze/remote:BUILD.vec_map-0.8.2.bazel"),
362    )
363
364    maybe(
365        http_archive,
366        name = "rules_rust_bindgen__version_check__0_9_3",
367        url = "https://crates.io/api/v1/crates/version_check/0.9.3/download",
368        type = "tar.gz",
369        sha256 = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe",
370        strip_prefix = "version_check-0.9.3",
371        build_file = Label("//bindgen/raze/remote:BUILD.version_check-0.9.3.bazel"),
372    )
373
374    maybe(
375        http_archive,
376        name = "rules_rust_bindgen__which__3_1_1",
377        url = "https://crates.io/api/v1/crates/which/3.1.1/download",
378        type = "tar.gz",
379        sha256 = "d011071ae14a2f6671d0b74080ae0cd8ebf3a6f8c9589a2cd45f23126fe29724",
380        strip_prefix = "which-3.1.1",
381        build_file = Label("//bindgen/raze/remote:BUILD.which-3.1.1.bazel"),
382    )
383
384    maybe(
385        http_archive,
386        name = "rules_rust_bindgen__winapi__0_3_9",
387        url = "https://crates.io/api/v1/crates/winapi/0.3.9/download",
388        type = "tar.gz",
389        sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
390        strip_prefix = "winapi-0.3.9",
391        build_file = Label("//bindgen/raze/remote:BUILD.winapi-0.3.9.bazel"),
392    )
393
394    maybe(
395        http_archive,
396        name = "rules_rust_bindgen__winapi_i686_pc_windows_gnu__0_4_0",
397        url = "https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download",
398        type = "tar.gz",
399        sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
400        strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
401        build_file = Label("//bindgen/raze/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
402    )
403
404    maybe(
405        http_archive,
406        name = "rules_rust_bindgen__winapi_util__0_1_5",
407        url = "https://crates.io/api/v1/crates/winapi-util/0.1.5/download",
408        type = "tar.gz",
409        sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
410        strip_prefix = "winapi-util-0.1.5",
411        build_file = Label("//bindgen/raze/remote:BUILD.winapi-util-0.1.5.bazel"),
412    )
413
414    maybe(
415        http_archive,
416        name = "rules_rust_bindgen__winapi_x86_64_pc_windows_gnu__0_4_0",
417        url = "https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download",
418        type = "tar.gz",
419        sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
420        strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
421        build_file = Label("//bindgen/raze/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
422    )