fork/rules_rust

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

UebelAndreUpdated header of crate_universe generated files to include a regen command (#1461)824b121a

0.8.0
4.3 KiB169 linesraw
1###############################################################################
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 = "assert_cmd",
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    ],
55    crate_root = "src/lib.rs",
56    data = select_with_or({
57        "//conditions:default": [
58        ],
59    }),
60    edition = "2018",
61    proc_macro_deps = [
62    ] + select_with_or({
63        "//conditions:default": [
64        ],
65    }),
66    rustc_env = {
67    },
68    rustc_env_files = select_with_or({
69        "//conditions:default": [
70        ],
71    }),
72    rustc_flags = [
73        # In most cases, warnings in 3rd party crates are not interesting as
74        # they're out of the control of consumers. The flag here silences
75        # warnings. For more details see:
76        # https://doc.rust-lang.org/rustc/lints/levels.html
77        "--cap-lints=allow",
78    ],
79    tags = [
80        "cargo-bazel",
81        "manual",
82        "noclippy",
83        "norustfmt",
84    ],
85    version = "1.0.8",
86    deps = [
87    ] + select_with_or({
88        "//conditions:default": [
89            "@rules_rust_wasm_bindgen__bstr-0.2.17//:bstr",
90            "@rules_rust_wasm_bindgen__doc-comment-0.3.3//:doc_comment",
91            "@rules_rust_wasm_bindgen__predicates-2.1.1//:predicates",
92            "@rules_rust_wasm_bindgen__predicates-core-1.0.3//:predicates_core",
93            "@rules_rust_wasm_bindgen__predicates-tree-1.0.5//:predicates_tree",
94            "@rules_rust_wasm_bindgen__wait-timeout-0.2.0//:wait_timeout",
95        ],
96    }),
97)
98
99rust_binary(
100    name = "bin_fixture__bin",
101    srcs = glob(
102        include = [
103            "**/*.rs",
104        ],
105        exclude = [
106        ],
107    ),
108    aliases = selects.with_or({
109        "//conditions:default": {
110        },
111    }),
112    compile_data = glob(
113        include = ["**"],
114        exclude = [
115            "BUILD",
116            "BUILD.bazel",
117            "WORKSPACE",
118            "WORKSPACE.bazel",
119        ],
120    ) + select_with_or({
121        "//conditions:default": [
122        ],
123    }),
124    crate_features = [
125    ],
126    crate_root = "src/bin/bin_fixture.rs",
127    data = select_with_or({
128        "//conditions:default": [
129        ],
130    }),
131    edition = "2018",
132    proc_macro_deps = [
133    ] + select_with_or({
134        "//conditions:default": [
135        ],
136    }),
137    rustc_env = {
138    },
139    rustc_env_files = select_with_or({
140        "//conditions:default": [
141        ],
142    }),
143    rustc_flags = [
144        # In most cases, warnings in 3rd party crates are not interesting as
145        # they're out of the control of consumers. The flag here silences
146        # warnings. For more details see:
147        # https://doc.rust-lang.org/rustc/lints/levels.html
148        "--cap-lints=allow",
149    ],
150    tags = [
151        "cargo-bazel",
152        "manual",
153        "noclippy",
154        "norustfmt",
155    ],
156    version = "1.0.8",
157    deps = [
158        ":assert_cmd",
159    ] + select_with_or({
160        "//conditions:default": [
161            "@rules_rust_wasm_bindgen__bstr-0.2.17//:bstr",
162            "@rules_rust_wasm_bindgen__doc-comment-0.3.3//:doc_comment",
163            "@rules_rust_wasm_bindgen__predicates-2.1.1//:predicates",
164            "@rules_rust_wasm_bindgen__predicates-core-1.0.3//:predicates_core",
165            "@rules_rust_wasm_bindgen__predicates-tree-1.0.5//:predicates_tree",
166            "@rules_rust_wasm_bindgen__wait-timeout-0.2.0//:wait_timeout",
167        ],
168    }),
169)