anki/cargo/remote/BUILD.native-tls-0.2.8.bazel
Damien Elmes ec0ee4d162 rebuild Rust build files with cargo-raze 0.14.1
Tags are now sorted; updating this before a crate update.
2022-01-15 14:33:53 +10:00

153 lines
4.2 KiB
Plaintext
Vendored

"""
@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:defs.bzl",
"rust_binary",
"rust_library",
"rust_proc_macro",
"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 OR Apache-2.0"
])
# Generated Targets
# buildifier: disable=out-of-order-load
# buildifier: disable=load-on-top
load(
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "native_tls_build_script",
srcs = glob(["**/*.rs"]),
build_script_env = {
},
crate_features = [
],
crate_root = "build.rs",
data = glob(["**"]),
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.2.8",
visibility = ["//visibility:private"],
deps = [
] + selects.with_or({
# cfg(any(target_os = "macos", target_os = "ios"))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
"@raze__security_framework_sys__2_4_2//:security_framework_sys",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
): [
"@raze__openssl_sys__0_9_71//:openssl_sys",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(target_os = "windows")
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
],
"//conditions:default": [],
}),
)
# Unsupported target "google-connect" with type "example" omitted
# Unsupported target "simple-server" with type "example" omitted
rust_library(
name = "native_tls",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
],
crate_root = "src/lib.rs",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=native-tls",
"manual",
],
version = "0.2.8",
# buildifier: leave-alone
deps = [
":native_tls_build_script",
] + selects.with_or({
# cfg(any(target_os = "macos", target_os = "ios"))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
"@raze__lazy_static__1_4_0//:lazy_static",
"@raze__libc__0_2_108//:libc",
"@raze__security_framework__2_4_2//:security_framework",
"@raze__security_framework_sys__2_4_2//:security_framework_sys",
"@raze__tempfile__3_2_0//:tempfile",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
): [
"@raze__log__0_4_14//:log",
"@raze__openssl__0_10_38//:openssl",
"@raze__openssl_probe__0_1_4//:openssl_probe",
"@raze__openssl_sys__0_9_71//:openssl_sys",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(target_os = "windows")
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@raze__schannel__0_1_19//:schannel",
],
"//conditions:default": [],
}),
)