anki/cargo/remote/BUILD.tokio-tls-0.3.1.bazel

93 lines
2.4 KiB
Plaintext
Raw Normal View History

2020-11-03 01:26:27 +01:00
"""
@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"
2020-11-03 01:26:27 +01:00
])
# Generated Targets
# Unsupported target "download-rust-lang" with type "example" omitted
# Unsupported target "tls-echo" with type "example" omitted
2020-11-03 01:26:27 +01:00
rust_library(
name = "tokio_tls",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
],
crate_root = "src/lib.rs",
2020-11-03 01:26:27 +01:00
crate_type = "lib",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.3.1",
# buildifier: leave-alone
2020-11-03 01:26:27 +01:00
deps = [
"@raze__native_tls__0_2_6//:native_tls",
"@raze__tokio__0_2_23//:tokio",
2020-11-03 01:26:27 +01:00
] + selects.with_or({
# cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))
2020-11-03 01:26:27 +01:00
(
"@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(any(target_os = "macos", target_os = "ios"))
2020-11-03 01:26:27 +01:00
(
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
2020-11-03 01:26:27 +01:00
"@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
2020-11-03 01:26:27 +01:00
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@io_bazel_rules_rust//rust/platform:i686-pc-windows-msvc",
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
],
"//conditions:default": [],
}),
)
# Unsupported target "bad" with type "test" omitted
# Unsupported target "google" with type "test" omitted
# Unsupported target "smoke" with type "test" omitted