blob: af6646af6aeee784a90e18a8bc011fad5823b951 [file] [log] [blame]
Leopold2aa8b182023-01-14 23:31:43 +01001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
41 name = "tokio_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "bytes",
47 "default",
48 "fs",
49 "io-util",
50 "libc",
51 "macros",
52 "memchr",
53 "mio",
54 "net",
55 "num_cpus",
56 "rt",
57 "rt-multi-thread",
58 "socket2",
59 "sync",
60 "time",
61 "tokio-macros",
62 "windows-sys",
63 ],
64 crate_root = "build.rs",
65 data = glob(["**"]),
66 edition = "2018",
67 rustc_flags = [
68 "--cap-lints=allow",
69 ],
70 tags = [
71 "cargo-raze",
72 "manual",
73 ],
74 version = "1.24.1",
75 visibility = ["//visibility:private"],
76 deps = [
77 "@raze__autocfg__1_1_0//:autocfg",
78 ] + selects.with_or({
79 (
80 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
81 ): [
82 ],
83 "//conditions:default": [],
84 }) + selects.with_or({
85 (
86 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
87 ): [
88 ],
89 "//conditions:default": [],
90 }),
91)
92
93rust_library(
94 name = "tokio",
95 srcs = glob(["**/*.rs"]),
96 aliases = {
97 },
98 crate_features = [
99 "bytes",
100 "default",
101 "fs",
102 "io-util",
103 "libc",
104 "macros",
105 "memchr",
106 "mio",
107 "net",
108 "num_cpus",
109 "rt",
110 "rt-multi-thread",
111 "socket2",
112 "sync",
113 "time",
114 "tokio-macros",
115 "windows-sys",
116 ],
117 crate_root = "src/lib.rs",
118 data = [],
119 edition = "2018",
120 proc_macro_deps = [
121 "@raze__tokio_macros__1_8_2//:tokio_macros",
122 ],
123 rustc_flags = [
124 "--cap-lints=allow",
125 ],
126 tags = [
127 "cargo-raze",
128 "crate-name=tokio",
129 "manual",
130 ],
131 version = "1.24.1",
132 # buildifier: leave-alone
133 deps = [
134 ":tokio_build_script",
135 "@raze__bytes__1_3_0//:bytes",
136 "@raze__memchr__2_5_0//:memchr",
137 "@raze__mio__0_8_5//:mio",
138 "@raze__num_cpus__1_15_0//:num_cpus",
139 "@raze__pin_project_lite__0_2_9//:pin_project_lite",
140 ] + selects.with_or({
141 (
142 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
143 ): [
144 "@raze__socket2__0_4_7//:socket2",
145 ],
146 "//conditions:default": [],
147 }) + selects.with_or({
148 (
149 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
150 ): [
151 "@raze__libc__0_2_139//:libc",
152 ],
153 "//conditions:default": [],
154 }),
155)
156
157# Unsupported target "_require_full" with type "test" omitted
158
159# Unsupported target "async_send_sync" with type "test" omitted
160
161# Unsupported target "buffered" with type "test" omitted
162
163# Unsupported target "fs" with type "test" omitted
164
165# Unsupported target "fs_copy" with type "test" omitted
166
167# Unsupported target "fs_dir" with type "test" omitted
168
169# Unsupported target "fs_file" with type "test" omitted
170
171# Unsupported target "fs_link" with type "test" omitted
172
173# Unsupported target "io_async_fd" with type "test" omitted
174
175# Unsupported target "io_async_read" with type "test" omitted
176
177# Unsupported target "io_buf_reader" with type "test" omitted
178
179# Unsupported target "io_buf_writer" with type "test" omitted
180
181# Unsupported target "io_chain" with type "test" omitted
182
183# Unsupported target "io_copy" with type "test" omitted
184
185# Unsupported target "io_copy_bidirectional" with type "test" omitted
186
187# Unsupported target "io_driver" with type "test" omitted
188
189# Unsupported target "io_driver_drop" with type "test" omitted
190
191# Unsupported target "io_fill_buf" with type "test" omitted
192
193# Unsupported target "io_lines" with type "test" omitted
194
195# Unsupported target "io_mem_stream" with type "test" omitted
196
197# Unsupported target "io_panic" with type "test" omitted
198
199# Unsupported target "io_poll_aio" with type "test" omitted
200
201# Unsupported target "io_read" with type "test" omitted
202
203# Unsupported target "io_read_buf" with type "test" omitted
204
205# Unsupported target "io_read_exact" with type "test" omitted
206
207# Unsupported target "io_read_line" with type "test" omitted
208
209# Unsupported target "io_read_to_end" with type "test" omitted
210
211# Unsupported target "io_read_to_string" with type "test" omitted
212
213# Unsupported target "io_read_until" with type "test" omitted
214
215# Unsupported target "io_split" with type "test" omitted
216
217# Unsupported target "io_take" with type "test" omitted
218
219# Unsupported target "io_util_empty" with type "test" omitted
220
221# Unsupported target "io_write" with type "test" omitted
222
223# Unsupported target "io_write_all" with type "test" omitted
224
225# Unsupported target "io_write_all_buf" with type "test" omitted
226
227# Unsupported target "io_write_buf" with type "test" omitted
228
229# Unsupported target "io_write_int" with type "test" omitted
230
231# Unsupported target "join_handle_panic" with type "test" omitted
232
233# Unsupported target "macros_join" with type "test" omitted
234
235# Unsupported target "macros_pin" with type "test" omitted
236
237# Unsupported target "macros_rename_test" with type "test" omitted
238
239# Unsupported target "macros_select" with type "test" omitted
240
241# Unsupported target "macros_test" with type "test" omitted
242
243# Unsupported target "macros_try_join" with type "test" omitted
244
245# Unsupported target "net_bind_resource" with type "test" omitted
246
247# Unsupported target "net_lookup_host" with type "test" omitted
248
249# Unsupported target "net_named_pipe" with type "test" omitted
250
251# Unsupported target "net_panic" with type "test" omitted
252
253# Unsupported target "no_rt" with type "test" omitted
254
255# Unsupported target "process_arg0" with type "test" omitted
256
257# Unsupported target "process_issue_2174" with type "test" omitted
258
259# Unsupported target "process_issue_42" with type "test" omitted
260
261# Unsupported target "process_kill_on_drop" with type "test" omitted
262
263# Unsupported target "process_raw_handle" with type "test" omitted
264
265# Unsupported target "process_smoke" with type "test" omitted
266
267# Unsupported target "rt_basic" with type "test" omitted
268
269# Unsupported target "rt_common" with type "test" omitted
270
271# Unsupported target "rt_handle_block_on" with type "test" omitted
272
273# Unsupported target "rt_metrics" with type "test" omitted
274
275# Unsupported target "rt_panic" with type "test" omitted
276
277# Unsupported target "rt_threaded" with type "test" omitted
278
279# Unsupported target "signal_ctrl_c" with type "test" omitted
280
281# Unsupported target "signal_drop_recv" with type "test" omitted
282
283# Unsupported target "signal_drop_rt" with type "test" omitted
284
285# Unsupported target "signal_drop_signal" with type "test" omitted
286
287# Unsupported target "signal_multi_rt" with type "test" omitted
288
289# Unsupported target "signal_no_rt" with type "test" omitted
290
291# Unsupported target "signal_notify_both" with type "test" omitted
292
293# Unsupported target "signal_panic" with type "test" omitted
294
295# Unsupported target "signal_twice" with type "test" omitted
296
297# Unsupported target "signal_usr1" with type "test" omitted
298
299# Unsupported target "sync_barrier" with type "test" omitted
300
301# Unsupported target "sync_broadcast" with type "test" omitted
302
303# Unsupported target "sync_errors" with type "test" omitted
304
305# Unsupported target "sync_mpsc" with type "test" omitted
306
307# Unsupported target "sync_mpsc_weak" with type "test" omitted
308
309# Unsupported target "sync_mutex" with type "test" omitted
310
311# Unsupported target "sync_mutex_owned" with type "test" omitted
312
313# Unsupported target "sync_notify" with type "test" omitted
314
315# Unsupported target "sync_once_cell" with type "test" omitted
316
317# Unsupported target "sync_oneshot" with type "test" omitted
318
319# Unsupported target "sync_panic" with type "test" omitted
320
321# Unsupported target "sync_rwlock" with type "test" omitted
322
323# Unsupported target "sync_semaphore" with type "test" omitted
324
325# Unsupported target "sync_semaphore_owned" with type "test" omitted
326
327# Unsupported target "sync_watch" with type "test" omitted
328
329# Unsupported target "task_abort" with type "test" omitted
330
331# Unsupported target "task_blocking" with type "test" omitted
332
333# Unsupported target "task_builder" with type "test" omitted
334
335# Unsupported target "task_id" with type "test" omitted
336
337# Unsupported target "task_join_set" with type "test" omitted
338
339# Unsupported target "task_local" with type "test" omitted
340
341# Unsupported target "task_local_set" with type "test" omitted
342
343# Unsupported target "task_panic" with type "test" omitted
344
345# Unsupported target "tcp_accept" with type "test" omitted
346
347# Unsupported target "tcp_connect" with type "test" omitted
348
349# Unsupported target "tcp_echo" with type "test" omitted
350
351# Unsupported target "tcp_into_split" with type "test" omitted
352
353# Unsupported target "tcp_into_std" with type "test" omitted
354
355# Unsupported target "tcp_peek" with type "test" omitted
356
357# Unsupported target "tcp_shutdown" with type "test" omitted
358
359# Unsupported target "tcp_socket" with type "test" omitted
360
361# Unsupported target "tcp_split" with type "test" omitted
362
363# Unsupported target "tcp_stream" with type "test" omitted
364
365# Unsupported target "test_clock" with type "test" omitted
366
367# Unsupported target "time_interval" with type "test" omitted
368
369# Unsupported target "time_panic" with type "test" omitted
370
371# Unsupported target "time_pause" with type "test" omitted
372
373# Unsupported target "time_rt" with type "test" omitted
374
375# Unsupported target "time_sleep" with type "test" omitted
376
377# Unsupported target "time_timeout" with type "test" omitted
378
379# Unsupported target "udp" with type "test" omitted
380
381# Unsupported target "uds_cred" with type "test" omitted
382
383# Unsupported target "uds_datagram" with type "test" omitted
384
385# Unsupported target "uds_split" with type "test" omitted
386
387# Unsupported target "uds_stream" with type "test" omitted
388
389# Unsupported target "unwindsafe" with type "test" omitted