blob: 6d56dd851d016956f6cffff25bff3b01d8c51aed [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT OR Apache-2.0"
29])
30
31# Generated Targets
32
33rust_library(
34 name = "net2",
35 srcs = glob(["**/*.rs"]),
36 aliases = {
37 },
38 crate_features = [
39 "default",
40 "duration",
41 ],
42 crate_root = "src/lib.rs",
43 crate_type = "lib",
44 data = [],
45 edition = "2015",
46 rustc_flags = [
47 "--cap-lints=allow",
48 ],
49 tags = [
50 "cargo-raze",
51 "manual",
52 ],
53 version = "0.2.37",
54 # buildifier: leave-alone
55 deps = [
56 "@raze__cfg_if__0_1_10//:cfg_if",
57 ] + selects.with_or({
58 # cfg(any(target_os = "redox", unix, target_os = "wasi"))
59 (
60 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
61 ): [
62 "@raze__libc__0_2_97//:libc",
63 ],
64 "//conditions:default": [],
65 }),
66)