fork/rules_rust

git clone https://git.julia.blue/fork/rules_rust

UebelAndreUpdate wasm_bindgen to use crate universe. (#1398)97264b79

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