blob: d964a79ad19072417ddd3d463f23e6832b0b412e [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_channel_build_script",
41 srcs = glob(["**/*.rs"]),
42 build_script_env = {
43 },
44 crate_features = [
45 "alloc",
46 "default",
47 "futures-sink",
48 "sink",
49 "std",
50 ],
51 crate_root = "build.rs",
52 data = glob(["**"]),
53 edition = "2018",
54 rustc_flags = [
55 "--cap-lints=allow",
56 ],
57 tags = [
58 "cargo-raze",
59 "manual",
60 ],
61 version = "0.3.15",
62 visibility = ["//visibility:private"],
63 deps = [
64 ],
65)
66
67# Unsupported target "sync_mpsc" with type "bench" omitted
68
69rust_library(
70 name = "futures_channel",
71 srcs = glob(["**/*.rs"]),
72 crate_features = [
73 "alloc",
74 "default",
75 "futures-sink",
76 "sink",
77 "std",
78 ],
79 crate_root = "src/lib.rs",
80 crate_type = "lib",
81 data = [],
82 edition = "2018",
83 rustc_flags = [
84 "--cap-lints=allow",
85 ],
86 tags = [
87 "cargo-raze",
88 "manual",
89 ],
90 version = "0.3.15",
91 # buildifier: leave-alone
92 deps = [
93 ":futures_channel_build_script",
94 "@raze__futures_core__0_3_15//:futures_core",
95 "@raze__futures_sink__0_3_15//:futures_sink",
96 ],
97)
98
99# Unsupported target "channel" with type "test" omitted
100
101# Unsupported target "mpsc" with type "test" omitted
102
103# Unsupported target "mpsc-close" with type "test" omitted
104
105# Unsupported target "oneshot" with type "test" omitted