blob: 4f9d863232b8123a9575e10de2b49c2713511012 [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# buildifier: disable=out-of-order-load
33# buildifier: disable=load-on-top
34load(
35 "@rules_rust//cargo:cargo_build_script.bzl",
36 "cargo_build_script",
37)
38
39cargo_build_script(
40 name = "futures_util_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "alloc",
46 "async-await",
47 "async-await-macro",
48 "default",
49 "futures-macro",
50 "futures-sink",
51 "proc-macro-hack",
52 "proc-macro-nested",
53 "sink",
54 "slab",
55 "std",
56 ],
57 crate_root = "build.rs",
58 data = glob(["**"]),
59 edition = "2018",
60 rustc_flags = [
61 "--cap-lints=allow",
62 ],
63 tags = [
64 "cargo-raze",
65 "manual",
66 ],
67 version = "0.3.15",
68 visibility = ["//visibility:private"],
69 deps = [
70 "@raze__autocfg__1_0_1//:autocfg",
71 ],
72)
73
74# Unsupported target "futures_unordered" with type "bench" omitted
75
76rust_library(
77 name = "futures_util",
78 srcs = glob(["**/*.rs"]),
79 crate_features = [
80 "alloc",
81 "async-await",
82 "async-await-macro",
83 "default",
84 "futures-macro",
85 "futures-sink",
86 "proc-macro-hack",
87 "proc-macro-nested",
88 "sink",
89 "slab",
90 "std",
91 ],
92 crate_root = "src/lib.rs",
93 crate_type = "lib",
94 data = [],
95 edition = "2018",
96 proc_macro_deps = [
97 "@raze__futures_macro__0_3_15//:futures_macro",
98 "@raze__proc_macro_hack__0_5_19//:proc_macro_hack",
99 ],
100 rustc_flags = [
101 "--cap-lints=allow",
102 ],
103 tags = [
104 "cargo-raze",
105 "manual",
106 ],
107 version = "0.3.15",
108 # buildifier: leave-alone
109 deps = [
110 ":futures_util_build_script",
111 "@raze__futures_core__0_3_15//:futures_core",
112 "@raze__futures_sink__0_3_15//:futures_sink",
113 "@raze__futures_task__0_3_15//:futures_task",
114 "@raze__pin_project_lite__0_2_7//:pin_project_lite",
115 "@raze__pin_utils__0_1_0//:pin_utils",
116 "@raze__proc_macro_nested__0_1_7//:proc_macro_nested",
117 "@raze__slab__0_4_3//:slab",
118 ],
119)