blob: 7e6059851a4ea832b071bfcdc3c59a9f456460c2 [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(
Leopold2aa8b182023-01-14 23:31:43 +010013 "@rules_rust//rust:defs.bzl",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020014 "rust_binary",
15 "rust_library",
Leopold2aa8b182023-01-14 23:31:43 +010016 "rust_proc_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020017 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33# buildifier: disable=out-of-order-load
34# buildifier: disable=load-on-top
35load(
36 "@rules_rust//cargo:cargo_build_script.bzl",
37 "cargo_build_script",
38)
39
40cargo_build_script(
41 name = "futures_util_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "alloc",
47 "async-await",
48 "async-await-macro",
49 "default",
50 "futures-macro",
51 "futures-sink",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020052 "sink",
53 "slab",
54 "std",
55 ],
56 crate_root = "build.rs",
57 data = glob(["**"]),
58 edition = "2018",
59 rustc_flags = [
60 "--cap-lints=allow",
61 ],
62 tags = [
63 "cargo-raze",
64 "manual",
65 ],
Leopold2aa8b182023-01-14 23:31:43 +010066 version = "0.3.25",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020067 visibility = ["//visibility:private"],
68 deps = [
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020069 ],
70)
71
Leopold2aa8b182023-01-14 23:31:43 +010072# Unsupported target "flatten_unordered" with type "bench" omitted
73
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020074# Unsupported target "futures_unordered" with type "bench" omitted
75
Leopold2aa8b182023-01-14 23:31:43 +010076# Unsupported target "select" with type "bench" omitted
77
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020078rust_library(
79 name = "futures_util",
80 srcs = glob(["**/*.rs"]),
81 crate_features = [
82 "alloc",
83 "async-await",
84 "async-await-macro",
85 "default",
86 "futures-macro",
87 "futures-sink",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020088 "sink",
89 "slab",
90 "std",
91 ],
92 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020093 data = [],
94 edition = "2018",
95 proc_macro_deps = [
Leopold2aa8b182023-01-14 23:31:43 +010096 "@raze__futures_macro__0_3_25//:futures_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 ],
98 rustc_flags = [
99 "--cap-lints=allow",
100 ],
101 tags = [
102 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100103 "crate-name=futures-util",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104 "manual",
105 ],
Leopold2aa8b182023-01-14 23:31:43 +0100106 version = "0.3.25",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200107 # buildifier: leave-alone
108 deps = [
109 ":futures_util_build_script",
Leopold2aa8b182023-01-14 23:31:43 +0100110 "@raze__futures_core__0_3_25//:futures_core",
111 "@raze__futures_sink__0_3_25//:futures_sink",
112 "@raze__futures_task__0_3_25//:futures_task",
113 "@raze__pin_project_lite__0_2_9//:pin_project_lite",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200114 "@raze__pin_utils__0_1_0//:pin_utils",
Leopold2aa8b182023-01-14 23:31:43 +0100115 "@raze__slab__0_4_7//:slab",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200116 ],
117)