abrasion/third_party/cargo/vendor/mio-0.6.23/BUILD.bazel

83 lines
2.0 KiB
Python

"""
@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 "//third_party/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",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.6.23",
# buildifier: leave-alone
deps = [
"//third_party/cargo/vendor/cfg-if-0.1.10:cfg_if",
"//third_party/cargo/vendor/iovec-0.1.4:iovec",
"//third_party/cargo/vendor/log-0.4.14:log",
"//third_party/cargo/vendor/net2-0.2.37:net2",
"//third_party/cargo/vendor/slab-0.4.2:slab",
] + selects.with_or({
# cfg(unix)
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"//third_party/cargo/vendor/libc-0.2.92:libc",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"//third_party/cargo/vendor/kernel32-sys-0.2.2:kernel32_sys",
"//third_party/cargo/vendor/miow-0.2.2:miow",
"//third_party/cargo/vendor/winapi-0.2.8:winapi",
],
"//conditions:default": [],
}),
)
# Unsupported target "test" with type "test" omitted