anki/cargo/remote/BUILD.mio-0.6.23.bazel
2020-12-15 08:19:52 +00:00

85 lines
2.0 KiB
Plaintext

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
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",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.6.23",
# buildifier: leave-alone
deps = [
"@raze__cfg_if__0_1_10//:cfg_if",
"@raze__iovec__0_1_4//:iovec",
"@raze__log__0_4_11//:log",
"@raze__net2__0_2_37//:net2",
"@raze__slab__0_4_2//:slab",
] + selects.with_or({
# cfg(unix)
(
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@raze__libc__0_2_81//:libc",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@io_bazel_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