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.9.0
3.5 KiB159 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
26# ])
27
28rust_library(
29    name = "difference",
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        "default",
55    ],
56    crate_root = "src/lib.rs",
57    data = select_with_or({
58        "//conditions:default": [
59        ],
60    }),
61    edition = "2015",
62    proc_macro_deps = [
63    ] + select_with_or({
64        "//conditions:default": [
65        ],
66    }),
67    rustc_env = {
68    },
69    rustc_env_files = select_with_or({
70        "//conditions:default": [
71        ],
72    }),
73    rustc_flags = [
74        # In most cases, warnings in 3rd party crates are not interesting as
75        # they're out of the control of consumers. The flag here silences
76        # warnings. For more details see:
77        # https://doc.rust-lang.org/rustc/lints/levels.html
78        "--cap-lints=allow",
79    ],
80    tags = [
81        "cargo-bazel",
82        "manual",
83        "noclippy",
84        "norustfmt",
85    ],
86    version = "2.0.0",
87    deps = [
88    ] + select_with_or({
89        "//conditions:default": [
90        ],
91    }),
92)
93
94rust_binary(
95    name = "difference__bin",
96    srcs = glob(
97        include = [
98            "**/*.rs",
99        ],
100        exclude = [
101        ],
102    ),
103    aliases = selects.with_or({
104        "//conditions:default": {
105        },
106    }),
107    compile_data = glob(
108        include = ["**"],
109        exclude = [
110            "BUILD",
111            "BUILD.bazel",
112            "WORKSPACE",
113            "WORKSPACE.bazel",
114        ],
115    ) + select_with_or({
116        "//conditions:default": [
117        ],
118    }),
119    crate_features = [
120        "default",
121    ],
122    crate_root = "src/main.rs",
123    data = select_with_or({
124        "//conditions:default": [
125        ],
126    }),
127    edition = "2015",
128    proc_macro_deps = [
129    ] + select_with_or({
130        "//conditions:default": [
131        ],
132    }),
133    rustc_env = {
134    },
135    rustc_env_files = select_with_or({
136        "//conditions:default": [
137        ],
138    }),
139    rustc_flags = [
140        # In most cases, warnings in 3rd party crates are not interesting as
141        # they're out of the control of consumers. The flag here silences
142        # warnings. For more details see:
143        # https://doc.rust-lang.org/rustc/lints/levels.html
144        "--cap-lints=allow",
145    ],
146    tags = [
147        "cargo-bazel",
148        "manual",
149        "noclippy",
150        "norustfmt",
151    ],
152    version = "2.0.0",
153    deps = [
154        ":difference",
155    ] + select_with_or({
156        "//conditions:default": [
157        ],
158    }),
159)