blob: 8b2d028c89d15b7ef94a7090d3657209ea60ad35 [file] [log] [blame]
Brian Silverman5f6f2762022-08-13 19:30:05 -07001###############################################################################
2# @generated
3# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4# regenerate this file, run the following:
5#
6# bazel run //wasm_bindgen/3rdparty:crates_vendor
7###############################################################################
8
9load(
10 "@bazel_skylib//lib:selects.bzl",
11 "selects",
12)
13
14# buildifier: disable=bzl-visibility
15load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
16load(
17 "@rules_rust//rust:defs.bzl",
18 "rust_binary",
19 "rust_library",
20)
21
22package(default_visibility = ["//visibility:public"])
23
24# licenses([
25# "TODO", # MIT OR Apache-2.0
26# ])
27
28rust_library(
29 name = "multipart",
30 srcs = glob(
31 include = [
32 "**/*.rs",
33 ],
34 exclude = [
35 ],
36 ),
37 aliases = selects.with_or({
38 "//conditions:default": {
39 },
40 }),
41 compile_data = glob(
42 include = ["**"],
43 exclude = [
44 "BUILD",
45 "BUILD.bazel",
46 "WORKSPACE",
47 "WORKSPACE.bazel",
48 ],
49 ) + select_with_or({
50 "//conditions:default": [
51 ],
52 }),
53 crate_features = [
54 "buf_redux",
55 "httparse",
56 "quick-error",
57 "safemem",
58 "server",
59 "twoway",
60 ],
61 crate_root = "src/lib.rs",
62 data = select_with_or({
63 "//conditions:default": [
64 ],
65 }),
66 edition = "2015",
67 proc_macro_deps = [
68 ] + select_with_or({
69 "//conditions:default": [
70 ],
71 }),
72 rustc_env = {
73 },
74 rustc_env_files = select_with_or({
75 "//conditions:default": [
76 ],
77 }),
78 rustc_flags = [
79 # In most cases, warnings in 3rd party crates are not interesting as
80 # they're out of the control of consumers. The flag here silences
81 # warnings. For more details see:
82 # https://doc.rust-lang.org/rustc/lints/levels.html
83 "--cap-lints=allow",
84 ],
85 tags = [
86 "cargo-bazel",
87 "manual",
88 "noclippy",
89 "norustfmt",
90 ],
91 version = "0.18.0",
92 deps = [
93 ] + select_with_or({
94 "//conditions:default": [
95 "@rules_rust_wasm_bindgen__buf_redux-0.8.4//:buf_redux",
96 "@rules_rust_wasm_bindgen__httparse-1.7.1//:httparse",
97 "@rules_rust_wasm_bindgen__log-0.4.17//:log",
98 "@rules_rust_wasm_bindgen__mime-0.3.16//:mime",
99 "@rules_rust_wasm_bindgen__mime_guess-2.0.4//:mime_guess",
100 "@rules_rust_wasm_bindgen__quick-error-1.2.3//:quick_error",
101 "@rules_rust_wasm_bindgen__rand-0.8.5//:rand",
102 "@rules_rust_wasm_bindgen__safemem-0.3.3//:safemem",
103 "@rules_rust_wasm_bindgen__tempfile-3.3.0//:tempfile",
104 "@rules_rust_wasm_bindgen__twoway-0.1.8//:twoway",
105 ],
106 }),
107)
108
109rust_binary(
110 name = "form_test__bin",
111 srcs = glob(
112 include = [
113 "**/*.rs",
114 ],
115 exclude = [
116 ],
117 ),
118 aliases = selects.with_or({
119 "//conditions:default": {
120 },
121 }),
122 compile_data = glob(
123 include = ["**"],
124 exclude = [
125 "BUILD",
126 "BUILD.bazel",
127 "WORKSPACE",
128 "WORKSPACE.bazel",
129 ],
130 ) + select_with_or({
131 "//conditions:default": [
132 ],
133 }),
134 crate_features = [
135 "buf_redux",
136 "httparse",
137 "quick-error",
138 "safemem",
139 "server",
140 "twoway",
141 ],
142 crate_root = "src/bin/form_test.rs",
143 data = select_with_or({
144 "//conditions:default": [
145 ],
146 }),
147 edition = "2015",
148 proc_macro_deps = [
149 ] + select_with_or({
150 "//conditions:default": [
151 ],
152 }),
153 rustc_env = {
154 },
155 rustc_env_files = select_with_or({
156 "//conditions:default": [
157 ],
158 }),
159 rustc_flags = [
160 # In most cases, warnings in 3rd party crates are not interesting as
161 # they're out of the control of consumers. The flag here silences
162 # warnings. For more details see:
163 # https://doc.rust-lang.org/rustc/lints/levels.html
164 "--cap-lints=allow",
165 ],
166 tags = [
167 "cargo-bazel",
168 "manual",
169 "noclippy",
170 "norustfmt",
171 ],
172 version = "0.18.0",
173 deps = [
174 ":multipart",
175 ] + select_with_or({
176 "//conditions:default": [
177 "@rules_rust_wasm_bindgen__buf_redux-0.8.4//:buf_redux",
178 "@rules_rust_wasm_bindgen__httparse-1.7.1//:httparse",
179 "@rules_rust_wasm_bindgen__log-0.4.17//:log",
180 "@rules_rust_wasm_bindgen__mime-0.3.16//:mime",
181 "@rules_rust_wasm_bindgen__mime_guess-2.0.4//:mime_guess",
182 "@rules_rust_wasm_bindgen__quick-error-1.2.3//:quick_error",
183 "@rules_rust_wasm_bindgen__rand-0.8.5//:rand",
184 "@rules_rust_wasm_bindgen__safemem-0.3.3//:safemem",
185 "@rules_rust_wasm_bindgen__tempfile-3.3.0//:tempfile",
186 "@rules_rust_wasm_bindgen__twoway-0.1.8//:twoway",
187 ],
188 }),
189)