fork/rules_rust

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

ImJeremyHeUpdate wasm_bindgen to 0.2.82 (#1513)3a69ce09

0.10.0
4.0 KiB165 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",  # Unlicense/MIT
26# ])
27
28rust_library(
29    name = "docopt",
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.1.1",
86    deps = [
87    ] + select_with_or({
88        "//conditions:default": [
89            "@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static",
90            "@rules_rust_wasm_bindgen__regex-1.6.0//:regex",
91            "@rules_rust_wasm_bindgen__serde-1.0.143//:serde",
92            "@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim",
93        ],
94    }),
95)
96
97rust_binary(
98    name = "docopt-wordlist__bin",
99    srcs = glob(
100        include = [
101            "**/*.rs",
102        ],
103        exclude = [
104        ],
105    ),
106    aliases = selects.with_or({
107        "//conditions:default": {
108        },
109    }),
110    compile_data = glob(
111        include = ["**"],
112        exclude = [
113            "BUILD",
114            "BUILD.bazel",
115            "WORKSPACE",
116            "WORKSPACE.bazel",
117        ],
118    ) + select_with_or({
119        "//conditions:default": [
120        ],
121    }),
122    crate_features = [
123    ],
124    crate_root = "src/wordlist.rs",
125    data = select_with_or({
126        "//conditions:default": [
127        ],
128    }),
129    edition = "2018",
130    proc_macro_deps = [
131    ] + select_with_or({
132        "//conditions:default": [
133        ],
134    }),
135    rustc_env = {
136    },
137    rustc_env_files = select_with_or({
138        "//conditions:default": [
139        ],
140    }),
141    rustc_flags = [
142        # In most cases, warnings in 3rd party crates are not interesting as
143        # they're out of the control of consumers. The flag here silences
144        # warnings. For more details see:
145        # https://doc.rust-lang.org/rustc/lints/levels.html
146        "--cap-lints=allow",
147    ],
148    tags = [
149        "cargo-bazel",
150        "manual",
151        "noclippy",
152        "norustfmt",
153    ],
154    version = "1.1.1",
155    deps = [
156        ":docopt",
157    ] + select_with_or({
158        "//conditions:default": [
159            "@rules_rust_wasm_bindgen__lazy_static-1.4.0//:lazy_static",
160            "@rules_rust_wasm_bindgen__regex-1.6.0//:regex",
161            "@rules_rust_wasm_bindgen__serde-1.0.143//:serde",
162            "@rules_rust_wasm_bindgen__strsim-0.10.0//:strsim",
163        ],
164    }),
165)