| ############################################################################### |
| # @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 |
| ############################################################################### |
| |
| # buildifier: disable=bzl-visibility |
| load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or") |
| 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( |
| include = [ |
| "**/*.rs", |
| ], |
| exclude = [ |
| ], |
| ), |
| aliases = select({ |
| "//conditions:default": { |
| }, |
| }), |
| compile_data = glob( |
| include = ["**"], |
| exclude = [ |
| "**/* *", |
| "BUILD.bazel", |
| "BUILD", |
| "WORKSPACE.bazel", |
| "WORKSPACE", |
| ], |
| ) + select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| crate_features = [ |
| "default", |
| "duration", |
| ], |
| crate_root = "src/lib.rs", |
| data = select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| edition = "2015", |
| proc_macro_deps = [ |
| ] + select({ |
| "//conditions:default": [ |
| ], |
| }), |
| rustc_env = { |
| }, |
| rustc_env_files = select_with_or({ |
| "//conditions:default": [ |
| ], |
| }), |
| rustc_flags = [ |
| # In most cases, warnings in 3rd party crates are not interesting as |
| # they're out of the control of consumers. The flag here silences |
| # warnings. For more details see: |
| # https://doc.rust-lang.org/rustc/lints/levels.html |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-bazel", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| version = "0.2.38", |
| deps = [ |
| ] + select({ |
| "@rules_rust//rust/platform:aarch64-apple-darwin": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:aarch64-apple-ios": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:aarch64-linux-android": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows) |
| ], |
| "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:armv7-linux-androideabi": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:i686-apple-darwin": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:i686-linux-android": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows) |
| ], |
| "@rules_rust//rust/platform:i686-unknown-freebsd": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "@rules_rust//rust/platform:wasm32-wasi": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__winapi-0.3.9//:winapi", # cfg(windows) |
| ], |
| "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@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__cfg-if-0.1.10//:cfg_if", # common dependency |
| "@rules_rust_proto__libc-0.2.139//:libc", # cfg(any(unix, target_os = "wasi")) |
| ], |
| "//conditions:default": [ |
| "@rules_rust_proto__cfg-if-0.1.10//:cfg_if", |
| ], |
| }), |
| ) |