hyperboria/rules/rust/remote/BUILD.net2-0.2.37.bazel

68 lines
1.4 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:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//rules/rust", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
# Generated Targets
rust_library(
name = "net2",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
"default",
"duration",
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.2.37",
# buildifier: leave-alone
deps = [
"@raze__cfg_if__0_1_10//:cfg_if",
] + selects.with_or({
# cfg(any(target_os = "redox", unix, target_os = "wasi"))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@raze__libc__0_2_93//:libc",
],
"//conditions:default": [],
}),
)