anki/cargo/remote/BUILD.tokio-native-tls-0.3.0.bazel
Damien Elmes 2c80bcb571 Update to latest rules_rust, which unblocks the tokio upgrade
Rust version has been pinned, as 1.59 gets stuck compiling pyo3_macros,
and appears to have other issues:
https://github.com/rust-lang/rust/issues/94390
2022-03-03 19:48:17 +10:00

67 lines
1.4 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"
])
# Generated Targets
# Unsupported target "download-rust-lang" with type "example" omitted
# Unsupported target "echo" with type "example" omitted
rust_library(
name = "tokio_native_tls",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=tokio-native-tls",
"manual",
],
version = "0.3.0",
# buildifier: leave-alone
deps = [
"@raze__native_tls__0_2_8//:native_tls",
"@raze__tokio__1_17_0//:tokio",
],
)
# Unsupported target "bad" with type "test" omitted
# Unsupported target "google" with type "test" omitted
# Unsupported target "smoke" with type "test" omitted