anki/cargo/remote/BUILD.tokio-native-tls-0.3.0.bazel

92 lines
2.2 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("@bazel_skylib//lib:selects.bzl", "selects")
2020-11-03 01:26:27 +01:00
# buildifier: disable=load
load(
"@rules_rust//rust:rust.bzl",
2020-11-03 01:26:27 +01:00
"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"
2020-11-03 01:26:27 +01:00
])
# Generated Targets
# Unsupported target "download-rust-lang" with type "example" omitted
# Unsupported target "echo" with type "example" omitted
2020-11-03 01:26:27 +01:00
rust_library(
name = "tokio_native_tls",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
],
crate_root = "src/lib.rs",
2020-11-03 01:26:27 +01:00
crate_type = "lib",
2020-12-15 11:28:10 +01:00
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.3.0",
# buildifier: leave-alone
2020-11-03 01:26:27 +01:00
deps = [
"@raze__native_tls__0_2_7//:native_tls",
2021-06-25 07:35:25 +02:00
"@raze__tokio__1_7_1//: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
(
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
2020-11-03 01:26:27 +01:00
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(any(target_os = "macos", target_os = "ios"))
2020-11-03 01:26:27 +01:00
(
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-apple-ios",
2020-11-03 01:26:27 +01:00
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
2020-11-03 01:26:27 +01:00
): [
],
"//conditions:default": [],
}),
)
# Unsupported target "bad" with type "test" omitted
# Unsupported target "google" with type "test" omitted
# Unsupported target "smoke" with type "test" omitted