blob: ca9e3409a8f09c78ff809ad6c6af227bca1c174b [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 ],
Lorenz Brund141d182023-10-02 15:07:01 +020066 version = "0.3.28",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020067 visibility = ["//visibility:private"],
68 deps = [
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020069 ],
70)
71
Lorenz Brund141d182023-10-02 15:07:01 +020072# Unsupported target "bilock" with type "bench" omitted
73
Leopold2aa8b182023-01-14 23:31:43 +010074# Unsupported target "flatten_unordered" with type "bench" omitted
75
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020076# Unsupported target "futures_unordered" with type "bench" omitted
77
Leopold2aa8b182023-01-14 23:31:43 +010078# Unsupported target "select" with type "bench" omitted
79
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020080rust_library(
81 name = "futures_util",
82 srcs = glob(["**/*.rs"]),
83 crate_features = [
84 "alloc",
85 "async-await",
86 "async-await-macro",
87 "default",
88 "futures-macro",
89 "futures-sink",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020090 "sink",
91 "slab",
92 "std",
93 ],
94 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020095 data = [],
96 edition = "2018",
97 proc_macro_deps = [
Lorenz Brund141d182023-10-02 15:07:01 +020098 "@raze__futures_macro__0_3_28//:futures_macro",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020099 ],
100 rustc_flags = [
101 "--cap-lints=allow",
102 ],
103 tags = [
104 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +0100105 "crate-name=futures-util",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200106 "manual",
107 ],
Lorenz Brund141d182023-10-02 15:07:01 +0200108 version = "0.3.28",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200109 # buildifier: leave-alone
110 deps = [
111 ":futures_util_build_script",
Lorenz Brund141d182023-10-02 15:07:01 +0200112 "@raze__futures_core__0_3_28//:futures_core",
113 "@raze__futures_sink__0_3_28//:futures_sink",
114 "@raze__futures_task__0_3_28//:futures_task",
115 "@raze__pin_project_lite__0_2_13//:pin_project_lite",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200116 "@raze__pin_utils__0_1_0//:pin_utils",
Lorenz Brund141d182023-10-02 15:07:01 +0200117 "@raze__slab__0_4_9//:slab",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200118 ],
119)