blob: aed380871c57e766407fbed0ee37bcc03d181cac [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_channel_build_script",
42 srcs = glob(["**/*.rs"]),
43 build_script_env = {
44 },
45 crate_features = [
46 "alloc",
47 "default",
48 "futures-sink",
49 "sink",
50 "std",
51 ],
52 crate_root = "build.rs",
53 data = glob(["**"]),
54 edition = "2018",
55 rustc_flags = [
56 "--cap-lints=allow",
57 ],
58 tags = [
59 "cargo-raze",
60 "manual",
61 ],
Lorenz Brund141d182023-10-02 15:07:01 +020062 version = "0.3.28",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020063 visibility = ["//visibility:private"],
64 deps = [
65 ],
66)
67
68# Unsupported target "sync_mpsc" with type "bench" omitted
69
70rust_library(
71 name = "futures_channel",
72 srcs = glob(["**/*.rs"]),
73 crate_features = [
74 "alloc",
75 "default",
76 "futures-sink",
77 "sink",
78 "std",
79 ],
80 crate_root = "src/lib.rs",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020081 data = [],
82 edition = "2018",
83 rustc_flags = [
84 "--cap-lints=allow",
85 ],
86 tags = [
87 "cargo-raze",
Leopold2aa8b182023-01-14 23:31:43 +010088 "crate-name=futures-channel",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020089 "manual",
90 ],
Lorenz Brund141d182023-10-02 15:07:01 +020091 version = "0.3.28",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020092 # buildifier: leave-alone
93 deps = [
94 ":futures_channel_build_script",
Lorenz Brund141d182023-10-02 15:07:01 +020095 "@raze__futures_core__0_3_28//:futures_core",
96 "@raze__futures_sink__0_3_28//:futures_sink",
Serge Bazanskicbf1fa92021-07-02 17:28:50 +020097 ],
98)
99
100# Unsupported target "channel" with type "test" omitted
101
102# Unsupported target "mpsc" with type "test" omitted
103
104# Unsupported target "mpsc-close" with type "test" omitted
105
Lorenz Brund141d182023-10-02 15:07:01 +0200106# Unsupported target "mpsc-size_hint" with type "test" omitted
107
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200108# Unsupported target "oneshot" with type "test" omitted