Skip to content

Commit 9632564

Browse files
committed
exec raze
Signed-off-by: Shikugawa <[email protected]>
1 parent 21a0cd6 commit 9632564

17 files changed

+1086
-0
lines changed

bazel/cargo/crates.bzl

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ def raze_fetch_remote_crates():
3131
build_file = Label("//bazel/cargo/remote:BUILD.autocfg-1.0.1.bazel"),
3232
)
3333

34+
maybe(
35+
http_archive,
36+
name = "raze__bitflags__1_2_1",
37+
url = "https://crates.io/api/v1/crates/bitflags/1.2.1/download",
38+
type = "tar.gz",
39+
strip_prefix = "bitflags-1.2.1",
40+
build_file = Label("//bazel/cargo/remote:BUILD.bitflags-1.2.1.bazel"),
41+
)
42+
3443
maybe(
3544
http_archive,
3645
name = "raze__cfg_if__1_0_0",
@@ -51,6 +60,15 @@ def raze_fetch_remote_crates():
5160
build_file = Label("//bazel/cargo/remote:BUILD.chrono-0.4.19.bazel"),
5261
)
5362

63+
maybe(
64+
http_archive,
65+
name = "raze__either__1_6_1",
66+
url = "https://crates.io/api/v1/crates/either/1.6.1/download",
67+
type = "tar.gz",
68+
strip_prefix = "either-1.6.1",
69+
build_file = Label("//bazel/cargo/remote:BUILD.either-1.6.1.bazel"),
70+
)
71+
5472
maybe(
5573
http_archive,
5674
name = "raze__getrandom__0_2_2",
@@ -121,6 +139,15 @@ def raze_fetch_remote_crates():
121139
build_file = Label("//bazel/cargo/remote:BUILD.once_cell-1.7.2.bazel"),
122140
)
123141

142+
maybe(
143+
http_archive,
144+
name = "raze__ppv_lite86__0_2_10",
145+
url = "https://crates.io/api/v1/crates/ppv-lite86/0.2.10/download",
146+
type = "tar.gz",
147+
strip_prefix = "ppv-lite86-0.2.10",
148+
build_file = Label("//bazel/cargo/remote:BUILD.ppv-lite86-0.2.10.bazel"),
149+
)
150+
124151
maybe(
125152
http_archive,
126153
name = "raze__protobuf__2_22_1",
@@ -130,6 +157,96 @@ def raze_fetch_remote_crates():
130157
build_file = Label("//bazel/cargo/remote:BUILD.protobuf-2.22.1.bazel"),
131158
)
132159

160+
maybe(
161+
http_archive,
162+
name = "raze__protobuf_codegen__2_22_1",
163+
url = "https://crates.io/api/v1/crates/protobuf-codegen/2.22.1/download",
164+
type = "tar.gz",
165+
strip_prefix = "protobuf-codegen-2.22.1",
166+
build_file = Label("//bazel/cargo/remote:BUILD.protobuf-codegen-2.22.1.bazel"),
167+
)
168+
169+
maybe(
170+
http_archive,
171+
name = "raze__protoc__2_22_1",
172+
url = "https://crates.io/api/v1/crates/protoc/2.22.1/download",
173+
type = "tar.gz",
174+
strip_prefix = "protoc-2.22.1",
175+
build_file = Label("//bazel/cargo/remote:BUILD.protoc-2.22.1.bazel"),
176+
)
177+
178+
maybe(
179+
http_archive,
180+
name = "raze__protoc_rust__2_22_1",
181+
url = "https://crates.io/api/v1/crates/protoc-rust/2.22.1/download",
182+
type = "tar.gz",
183+
strip_prefix = "protoc-rust-2.22.1",
184+
build_file = Label("//bazel/cargo/remote:BUILD.protoc-rust-2.22.1.bazel"),
185+
)
186+
187+
maybe(
188+
http_archive,
189+
name = "raze__rand__0_8_3",
190+
url = "https://crates.io/api/v1/crates/rand/0.8.3/download",
191+
type = "tar.gz",
192+
strip_prefix = "rand-0.8.3",
193+
build_file = Label("//bazel/cargo/remote:BUILD.rand-0.8.3.bazel"),
194+
)
195+
196+
maybe(
197+
http_archive,
198+
name = "raze__rand_chacha__0_3_0",
199+
url = "https://crates.io/api/v1/crates/rand_chacha/0.3.0/download",
200+
type = "tar.gz",
201+
strip_prefix = "rand_chacha-0.3.0",
202+
build_file = Label("//bazel/cargo/remote:BUILD.rand_chacha-0.3.0.bazel"),
203+
)
204+
205+
maybe(
206+
http_archive,
207+
name = "raze__rand_core__0_6_2",
208+
url = "https://crates.io/api/v1/crates/rand_core/0.6.2/download",
209+
type = "tar.gz",
210+
strip_prefix = "rand_core-0.6.2",
211+
build_file = Label("//bazel/cargo/remote:BUILD.rand_core-0.6.2.bazel"),
212+
)
213+
214+
maybe(
215+
http_archive,
216+
name = "raze__rand_hc__0_3_0",
217+
url = "https://crates.io/api/v1/crates/rand_hc/0.3.0/download",
218+
type = "tar.gz",
219+
strip_prefix = "rand_hc-0.3.0",
220+
build_file = Label("//bazel/cargo/remote:BUILD.rand_hc-0.3.0.bazel"),
221+
)
222+
223+
maybe(
224+
http_archive,
225+
name = "raze__redox_syscall__0_2_5",
226+
url = "https://crates.io/api/v1/crates/redox_syscall/0.2.5/download",
227+
type = "tar.gz",
228+
strip_prefix = "redox_syscall-0.2.5",
229+
build_file = Label("//bazel/cargo/remote:BUILD.redox_syscall-0.2.5.bazel"),
230+
)
231+
232+
maybe(
233+
http_archive,
234+
name = "raze__remove_dir_all__0_5_3",
235+
url = "https://crates.io/api/v1/crates/remove_dir_all/0.5.3/download",
236+
type = "tar.gz",
237+
strip_prefix = "remove_dir_all-0.5.3",
238+
build_file = Label("//bazel/cargo/remote:BUILD.remove_dir_all-0.5.3.bazel"),
239+
)
240+
241+
maybe(
242+
http_archive,
243+
name = "raze__tempfile__3_2_0",
244+
url = "https://crates.io/api/v1/crates/tempfile/3.2.0/download",
245+
type = "tar.gz",
246+
strip_prefix = "tempfile-3.2.0",
247+
build_file = Label("//bazel/cargo/remote:BUILD.tempfile-3.2.0.bazel"),
248+
)
249+
133250
maybe(
134251
http_archive,
135252
name = "raze__time__0_1_43",
@@ -160,6 +277,15 @@ def raze_fetch_remote_crates():
160277
build_file = Label("//bazel/cargo/remote:BUILD.wasi-0.10.2+wasi-snapshot-preview1.bazel"),
161278
)
162279

280+
maybe(
281+
http_archive,
282+
name = "raze__which__4_1_0",
283+
url = "https://crates.io/api/v1/crates/which/4.1.0/download",
284+
type = "tar.gz",
285+
strip_prefix = "which-4.1.0",
286+
build_file = Label("//bazel/cargo/remote:BUILD.which-4.1.0.bazel"),
287+
)
288+
163289
maybe(
164290
http_archive,
165291
name = "raze__winapi__0_3_9",
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
"""
2+
@generated
3+
cargo-raze crate build file.
4+
5+
DO NOT EDIT! Replaced on runs of cargo-raze
6+
"""
7+
8+
# buildifier: disable=load
9+
load("@bazel_skylib//lib:selects.bzl", "selects")
10+
11+
# buildifier: disable=load
12+
load(
13+
"@rules_rust//rust:rust.bzl",
14+
"rust_binary",
15+
"rust_library",
16+
"rust_test",
17+
)
18+
19+
package(default_visibility = [
20+
# Public for visibility by "@raze__crate__version//" targets.
21+
#
22+
# Prefer access through "//bazel/cargo", which limits external
23+
# visibility to explicit Cargo.toml dependencies.
24+
"//visibility:public",
25+
])
26+
27+
licenses([
28+
"notice", # MIT from expression "MIT OR Apache-2.0"
29+
])
30+
31+
# Generated Targets
32+
# buildifier: disable=out-of-order-load
33+
# buildifier: disable=load-on-top
34+
load(
35+
"@rules_rust//cargo:cargo_build_script.bzl",
36+
"cargo_build_script",
37+
)
38+
39+
cargo_build_script(
40+
name = "bitflags_build_script",
41+
srcs = glob(["**/*.rs"]),
42+
build_script_env = {
43+
},
44+
crate_features = [
45+
"default",
46+
],
47+
crate_root = "build.rs",
48+
data = glob(["**"]),
49+
edition = "2015",
50+
rustc_flags = [
51+
"--cap-lints=allow",
52+
],
53+
tags = [
54+
"cargo-raze",
55+
"manual",
56+
],
57+
version = "1.2.1",
58+
visibility = ["//visibility:private"],
59+
deps = [
60+
],
61+
)
62+
63+
rust_library(
64+
name = "bitflags",
65+
srcs = glob(["**/*.rs"]),
66+
crate_features = [
67+
"default",
68+
],
69+
crate_root = "src/lib.rs",
70+
crate_type = "lib",
71+
data = [],
72+
edition = "2015",
73+
rustc_flags = [
74+
"--cap-lints=allow",
75+
],
76+
tags = [
77+
"cargo-raze",
78+
"manual",
79+
],
80+
version = "1.2.1",
81+
# buildifier: leave-alone
82+
deps = [
83+
":bitflags_build_script",
84+
],
85+
)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
"""
2+
@generated
3+
cargo-raze crate build file.
4+
5+
DO NOT EDIT! Replaced on runs of cargo-raze
6+
"""
7+
8+
# buildifier: disable=load
9+
load("@bazel_skylib//lib:selects.bzl", "selects")
10+
11+
# buildifier: disable=load
12+
load(
13+
"@rules_rust//rust:rust.bzl",
14+
"rust_binary",
15+
"rust_library",
16+
"rust_test",
17+
)
18+
19+
package(default_visibility = [
20+
# Public for visibility by "@raze__crate__version//" targets.
21+
#
22+
# Prefer access through "//bazel/cargo", which limits external
23+
# visibility to explicit Cargo.toml dependencies.
24+
"//visibility:public",
25+
])
26+
27+
licenses([
28+
"notice", # MIT from expression "MIT OR Apache-2.0"
29+
])
30+
31+
# Generated Targets
32+
33+
rust_library(
34+
name = "either",
35+
srcs = glob(["**/*.rs"]),
36+
crate_features = [
37+
"default",
38+
"use_std",
39+
],
40+
crate_root = "src/lib.rs",
41+
crate_type = "lib",
42+
data = [],
43+
edition = "2015",
44+
rustc_flags = [
45+
"--cap-lints=allow",
46+
],
47+
tags = [
48+
"cargo-raze",
49+
"manual",
50+
],
51+
version = "1.6.1",
52+
# buildifier: leave-alone
53+
deps = [
54+
],
55+
)

bazel/cargo/remote/BUILD.getrandom-0.2.2.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cargo_build_script(
4242
build_script_env = {
4343
},
4444
crate_features = [
45+
"std",
4546
],
4647
crate_root = "build.rs",
4748
data = glob(["**"]),
@@ -103,6 +104,7 @@ rust_library(
103104
aliases = {
104105
},
105106
crate_features = [
107+
"std",
106108
],
107109
crate_root = "src/lib.rs",
108110
crate_type = "lib",
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
"""
2+
@generated
3+
cargo-raze crate build file.
4+
5+
DO NOT EDIT! Replaced on runs of cargo-raze
6+
"""
7+
8+
# buildifier: disable=load
9+
load("@bazel_skylib//lib:selects.bzl", "selects")
10+
11+
# buildifier: disable=load
12+
load(
13+
"@rules_rust//rust:rust.bzl",
14+
"rust_binary",
15+
"rust_library",
16+
"rust_test",
17+
)
18+
19+
package(default_visibility = [
20+
# Public for visibility by "@raze__crate__version//" targets.
21+
#
22+
# Prefer access through "//bazel/cargo", which limits external
23+
# visibility to explicit Cargo.toml dependencies.
24+
"//visibility:public",
25+
])
26+
27+
licenses([
28+
"notice", # MIT from expression "MIT OR Apache-2.0"
29+
])
30+
31+
# Generated Targets
32+
33+
rust_library(
34+
name = "ppv_lite86",
35+
srcs = glob(["**/*.rs"]),
36+
crate_features = [
37+
"simd",
38+
"std",
39+
],
40+
crate_root = "src/lib.rs",
41+
crate_type = "lib",
42+
data = [],
43+
edition = "2018",
44+
rustc_flags = [
45+
"--cap-lints=allow",
46+
],
47+
tags = [
48+
"cargo-raze",
49+
"manual",
50+
],
51+
version = "0.2.10",
52+
# buildifier: leave-alone
53+
deps = [
54+
],
55+
)

0 commit comments

Comments
 (0)