anki/cargo/remote/BUILD.mio-0.6.23.bazel

87 lines
2.1 KiB
Plaintext
Raw Normal View History

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
# buildifier: disable=load
load(
"@rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT"
])
# Generated Targets
rust_library(
name = "mio",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
"default",
"with-deprecated",
],
crate_root = "src/lib.rs",
crate_type = "lib",
2020-12-15 11:28:10 +01:00
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
2020-12-09 06:34:43 +01:00
version = "0.6.23",
# buildifier: leave-alone
deps = [
"@raze__cfg_if__0_1_10//:cfg_if",
"@raze__iovec__0_1_4//:iovec",
2021-02-03 11:29:48 +01:00
"@raze__log__0_4_14//:log",
2020-12-15 08:10:25 +01:00
"@raze__net2__0_2_37//:net2",
"@raze__slab__0_4_2//:slab",
] + selects.with_or({
# cfg(unix)
(
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-apple-ios",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
2021-03-27 05:47:16 +01:00
"@raze__libc__0_2_91//:libc",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@raze__kernel32_sys__0_2_2//:kernel32_sys",
"@raze__miow__0_2_2//:miow",
"@raze__winapi__0_2_8//:winapi",
],
"//conditions:default": [],
}),
)
# Unsupported target "test" with type "test" omitted