anki/cargo/remote/BUILD.native-tls-0.2.8.bazel

153 lines
4.2 KiB
Plaintext
Raw Normal View History

"""
@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"
])
2020-11-24 07:57:37 +01:00
# Generated Targets
# buildifier: disable=out-of-order-load
2020-11-24 07:57:37 +01:00
# 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",
],
2021-10-02 12:42:03 +02:00
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",
2021-10-15 15:28:10 +02:00
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
2021-10-02 12:42:03 +02:00
"@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",
): [
2022-01-15 05:59:43 +01:00
"@raze__openssl_sys__0_9_72//: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",
2020-12-15 11:28:10 +01:00
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=native-tls",
"manual",
],
2021-10-02 12:42:03 +02:00
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",
2021-10-15 15:28:10 +02:00
"@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",
2022-01-15 05:59:43 +01:00
"@raze__libc__0_2_112//:libc",
2021-10-02 12:42:03 +02:00
"@raze__security_framework__2_4_2//:security_framework",
"@raze__security_framework_sys__2_4_2//:security_framework_sys",
2022-01-15 05:59:43 +01:00
"@raze__tempfile__3_3_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",
): [
2021-02-03 11:29:48 +01:00
"@raze__log__0_4_14//:log",
2021-11-18 11:54:00 +01:00
"@raze__openssl__0_10_38//:openssl",
2022-01-15 05:59:43 +01:00
"@raze__openssl_probe__0_1_5//:openssl_probe",
"@raze__openssl_sys__0_9_72//: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": [],
}),
)