fork/rules_rust

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

Chris FredricksonAdd new `import` macro prototype. (#1142)2f5253fb

0.7.0
7.7 KiB192 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_util_import_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_util_import__aho_corasick__0_7_15",
17        url = "https://crates.io/api/v1/crates/aho-corasick/0.7.15/download",
18        type = "tar.gz",
19        sha256 = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5",
20        strip_prefix = "aho-corasick-0.7.15",
21        build_file = Label("//util/import/raze/remote:BUILD.aho-corasick-0.7.15.bazel"),
22    )
23
24    maybe(
25        http_archive,
26        name = "rules_rust_util_import__cfg_if__1_0_0",
27        url = "https://crates.io/api/v1/crates/cfg-if/1.0.0/download",
28        type = "tar.gz",
29        sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
30        strip_prefix = "cfg-if-1.0.0",
31        build_file = Label("//util/import/raze/remote:BUILD.cfg-if-1.0.0.bazel"),
32    )
33
34    maybe(
35        http_archive,
36        name = "rules_rust_util_import__env_logger__0_8_4",
37        url = "https://crates.io/api/v1/crates/env_logger/0.8.4/download",
38        type = "tar.gz",
39        sha256 = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3",
40        strip_prefix = "env_logger-0.8.4",
41        build_file = Label("//util/import/raze/remote:BUILD.env_logger-0.8.4.bazel"),
42    )
43
44    maybe(
45        http_archive,
46        name = "rules_rust_util_import__getrandom__0_2_3",
47        url = "https://crates.io/api/v1/crates/getrandom/0.2.3/download",
48        type = "tar.gz",
49        sha256 = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753",
50        strip_prefix = "getrandom-0.2.3",
51        build_file = Label("//util/import/raze/remote:BUILD.getrandom-0.2.3.bazel"),
52    )
53
54    maybe(
55        http_archive,
56        name = "rules_rust_util_import__lazy_static__1_4_0",
57        url = "https://crates.io/api/v1/crates/lazy_static/1.4.0/download",
58        type = "tar.gz",
59        sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
60        strip_prefix = "lazy_static-1.4.0",
61        build_file = Label("//util/import/raze/remote:BUILD.lazy_static-1.4.0.bazel"),
62    )
63
64    maybe(
65        http_archive,
66        name = "rules_rust_util_import__libc__0_2_112",
67        url = "https://crates.io/api/v1/crates/libc/0.2.112/download",
68        type = "tar.gz",
69        sha256 = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125",
70        strip_prefix = "libc-0.2.112",
71        build_file = Label("//util/import/raze/remote:BUILD.libc-0.2.112.bazel"),
72    )
73
74    maybe(
75        http_archive,
76        name = "rules_rust_util_import__log__0_4_14",
77        url = "https://crates.io/api/v1/crates/log/0.4.14/download",
78        type = "tar.gz",
79        sha256 = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710",
80        strip_prefix = "log-0.4.14",
81        build_file = Label("//util/import/raze/remote:BUILD.log-0.4.14.bazel"),
82    )
83
84    maybe(
85        http_archive,
86        name = "rules_rust_util_import__memchr__2_4_1",
87        url = "https://crates.io/api/v1/crates/memchr/2.4.1/download",
88        type = "tar.gz",
89        sha256 = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a",
90        strip_prefix = "memchr-2.4.1",
91        build_file = Label("//util/import/raze/remote:BUILD.memchr-2.4.1.bazel"),
92    )
93
94    maybe(
95        http_archive,
96        name = "rules_rust_util_import__proc_macro2__1_0_33",
97        url = "https://crates.io/api/v1/crates/proc-macro2/1.0.33/download",
98        type = "tar.gz",
99        sha256 = "fb37d2df5df740e582f28f8560cf425f52bb267d872fe58358eadb554909f07a",
100        strip_prefix = "proc-macro2-1.0.33",
101        build_file = Label("//util/import/raze/remote:BUILD.proc-macro2-1.0.33.bazel"),
102    )
103
104    maybe(
105        http_archive,
106        name = "rules_rust_util_import__quickcheck__1_0_3",
107        url = "https://crates.io/api/v1/crates/quickcheck/1.0.3/download",
108        type = "tar.gz",
109        sha256 = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6",
110        strip_prefix = "quickcheck-1.0.3",
111        build_file = Label("//util/import/raze/remote:BUILD.quickcheck-1.0.3.bazel"),
112    )
113
114    maybe(
115        http_archive,
116        name = "rules_rust_util_import__quote__1_0_10",
117        url = "https://crates.io/api/v1/crates/quote/1.0.10/download",
118        type = "tar.gz",
119        sha256 = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05",
120        strip_prefix = "quote-1.0.10",
121        build_file = Label("//util/import/raze/remote:BUILD.quote-1.0.10.bazel"),
122    )
123
124    maybe(
125        http_archive,
126        name = "rules_rust_util_import__rand__0_8_4",
127        url = "https://crates.io/api/v1/crates/rand/0.8.4/download",
128        type = "tar.gz",
129        sha256 = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8",
130        strip_prefix = "rand-0.8.4",
131        build_file = Label("//util/import/raze/remote:BUILD.rand-0.8.4.bazel"),
132    )
133
134    maybe(
135        http_archive,
136        name = "rules_rust_util_import__rand_core__0_6_3",
137        url = "https://crates.io/api/v1/crates/rand_core/0.6.3/download",
138        type = "tar.gz",
139        sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7",
140        strip_prefix = "rand_core-0.6.3",
141        build_file = Label("//util/import/raze/remote:BUILD.rand_core-0.6.3.bazel"),
142    )
143
144    maybe(
145        http_archive,
146        name = "rules_rust_util_import__regex__1_4_6",
147        url = "https://crates.io/api/v1/crates/regex/1.4.6/download",
148        type = "tar.gz",
149        sha256 = "2a26af418b574bd56588335b3a3659a65725d4e636eb1016c2f9e3b38c7cc759",
150        strip_prefix = "regex-1.4.6",
151        build_file = Label("//util/import/raze/remote:BUILD.regex-1.4.6.bazel"),
152    )
153
154    maybe(
155        http_archive,
156        name = "rules_rust_util_import__regex_syntax__0_6_25",
157        url = "https://crates.io/api/v1/crates/regex-syntax/0.6.25/download",
158        type = "tar.gz",
159        sha256 = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b",
160        strip_prefix = "regex-syntax-0.6.25",
161        build_file = Label("//util/import/raze/remote:BUILD.regex-syntax-0.6.25.bazel"),
162    )
163
164    maybe(
165        http_archive,
166        name = "rules_rust_util_import__syn__1_0_82",
167        url = "https://crates.io/api/v1/crates/syn/1.0.82/download",
168        type = "tar.gz",
169        sha256 = "8daf5dd0bb60cbd4137b1b587d2fc0ae729bc07cf01cd70b36a1ed5ade3b9d59",
170        strip_prefix = "syn-1.0.82",
171        build_file = Label("//util/import/raze/remote:BUILD.syn-1.0.82.bazel"),
172    )
173
174    maybe(
175        http_archive,
176        name = "rules_rust_util_import__unicode_xid__0_2_2",
177        url = "https://crates.io/api/v1/crates/unicode-xid/0.2.2/download",
178        type = "tar.gz",
179        sha256 = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3",
180        strip_prefix = "unicode-xid-0.2.2",
181        build_file = Label("//util/import/raze/remote:BUILD.unicode-xid-0.2.2.bazel"),
182    )
183
184    maybe(
185        http_archive,
186        name = "rules_rust_util_import__wasi__0_10_2_wasi_snapshot_preview1",
187        url = "https://crates.io/api/v1/crates/wasi/0.10.2+wasi-snapshot-preview1/download",
188        type = "tar.gz",
189        sha256 = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6",
190        strip_prefix = "wasi-0.10.2+wasi-snapshot-preview1",
191        build_file = Label("//util/import/raze/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"),
192    )