blob: 1e07e406bc276f740d6fe412318ab8c8a43394a2 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//proto/3rdparty:crates_vendor
###############################################################################
load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT/Apache-2.0
# ])
rust_library(
name = "net2",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"default",
"duration",
],
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "0.2.38",
deps = [
"@rules_rust_proto__cfg-if-0.1.10//:cfg_if",
] + select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:aarch64-apple-ios": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:aarch64-linux-android": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows)
],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:armv7-linux-androideabi": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:i686-apple-darwin": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:i686-linux-android": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
"@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows)
],
"@rules_rust//rust/platform:i686-unknown-freebsd": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:wasm32-wasi": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:x86_64-apple-darwin": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:x86_64-apple-ios": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:x86_64-linux-android": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows)
],
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
"@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi"))
],
"//conditions:default": [],
}),
)