aboutsummaryrefslogtreecommitdiff
path: root/examples/crate_universe/vendor_local_manifests/crates/tokio-1.36.0/BUILD.bazel
blob: 37e3d9b9c409ff4c0b8cd3213ea4b82034f800f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
#     bazel run @//vendor_local_manifests:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
    name = "tokio",
    srcs = glob(["**/*.rs"]),
    compile_data = glob(
        include = ["**"],
        exclude = [
            "**/* *",
            ".tmp_git_root/**/*",
            "BUILD",
            "BUILD.bazel",
            "WORKSPACE",
            "WORKSPACE.bazel",
        ],
    ),
    crate_features = [
        "bytes",
        "default",
        "fs",
        "full",
        "io-std",
        "io-util",
        "libc",
        "macros",
        "mio",
        "net",
        "num_cpus",
        "parking_lot",
        "process",
        "rt",
        "rt-multi-thread",
        "signal",
        "signal-hook-registry",
        "socket2",
        "sync",
        "test-util",
        "time",
        "tokio-macros",
    ] + select({
        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
            "windows-sys",  # aarch64-pc-windows-msvc
        ],
        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
            "windows-sys",  # i686-pc-windows-msvc
        ],
        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
            "windows-sys",  # x86_64-pc-windows-msvc
        ],
        "//conditions:default": [],
    }),
    crate_root = "src/lib.rs",
    edition = "2021",
    proc_macro_deps = [
        "//vendor_local_manifests/crates/tokio-macros-2.2.0:tokio_macros",
    ],
    rustc_flags = [
        "--cap-lints=allow",
    ],
    tags = [
        "cargo-bazel",
        "crate-name=tokio",
        "manual",
        "noclippy",
        "norustfmt",
    ],
    target_compatible_with = select({
        "@rules_rust//rust/platform:aarch64-apple-darwin": [],
        "@rules_rust//rust/platform:aarch64-apple-ios": [],
        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
        "@rules_rust//rust/platform:aarch64-fuchsia": [],
        "@rules_rust//rust/platform:aarch64-linux-android": [],
        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
        "@rules_rust//rust/platform:armv7-linux-androideabi": [],
        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
        "@rules_rust//rust/platform:i686-apple-darwin": [],
        "@rules_rust//rust/platform:i686-linux-android": [],
        "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
        "@rules_rust//rust/platform:i686-unknown-freebsd": [],
        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
        "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
        "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
        "@rules_rust//rust/platform:wasm32-wasi": [],
        "@rules_rust//rust/platform:x86_64-apple-darwin": [],
        "@rules_rust//rust/platform:x86_64-apple-ios": [],
        "@rules_rust//rust/platform:x86_64-fuchsia": [],
        "@rules_rust//rust/platform:x86_64-linux-android": [],
        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [],
        "@rules_rust//rust/platform:x86_64-unknown-none": [],
        "//conditions:default": ["@platforms//:incompatible"],
    }),
    version = "1.36.0",
    deps = [
        "//vendor_local_manifests/crates/bytes-1.5.0:bytes",
        "//vendor_local_manifests/crates/mio-0.8.10:mio",
        "//vendor_local_manifests/crates/num_cpus-1.16.0:num_cpus",
        "//vendor_local_manifests/crates/parking_lot-0.12.1:parking_lot",
        "//vendor_local_manifests/crates/pin-project-lite-0.2.13:pin_project_lite",
    ] + select({
        "@rules_rust//rust/platform:aarch64-apple-darwin": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-apple-ios": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-fuchsia": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-linux-android": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
            "//vendor_local_manifests/crates/windows-sys-0.48.0:windows_sys",  # cfg(windows)
        ],
        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:armv7-linux-androideabi": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:i686-apple-darwin": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:i686-linux-android": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
            "//vendor_local_manifests/crates/windows-sys-0.48.0:windows_sys",  # cfg(windows)
        ],
        "@rules_rust//rust/platform:i686-unknown-freebsd": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:thumbv7em-none-eabi": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-apple-darwin": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-apple-ios": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-fuchsia": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-linux-android": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
            "//vendor_local_manifests/crates/windows-sys-0.48.0:windows_sys",  # cfg(windows)
        ],
        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
            "//vendor_local_manifests/crates/libc-0.2.153:libc",  # cfg(unix)
            "//vendor_local_manifests/crates/signal-hook-registry-1.4.1:signal_hook_registry",  # cfg(unix)
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "@rules_rust//rust/platform:x86_64-unknown-none": [
            "//vendor_local_manifests/crates/socket2-0.5.5:socket2",  # cfg(not(target_family = "wasm"))
        ],
        "//conditions:default": [],
    }),
)