blob: 92497028aae39c9b8115112849fb035b94dc9b5c [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)
13load(
14 "@rules_rust//cargo:defs.bzl",
15 "cargo_build_script",
16)
17
18# buildifier: disable=bzl-visibility
19load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
20load(
21 "@rules_rust//rust:defs.bzl",
22 "rust_library",
23)
24
25package(default_visibility = ["//visibility:public"])
26
27# licenses([
28# "TODO", # MIT/Apache-2.0
29# ])
30
31rust_library(
32 name = "unicase",
33 srcs = glob(
34 include = [
35 "**/*.rs",
36 ],
37 exclude = [
38 ],
39 ),
40 aliases = selects.with_or({
41 "//conditions:default": {
42 },
43 }),
44 compile_data = glob(
45 include = ["**"],
46 exclude = [
47 "BUILD",
48 "BUILD.bazel",
49 "WORKSPACE",
50 "WORKSPACE.bazel",
51 ],
52 ) + select_with_or({
53 "//conditions:default": [
54 ],
55 }),
56 crate_features = [
57 ],
58 crate_root = "src/lib.rs",
59 data = select_with_or({
60 "//conditions:default": [
61 ],
62 }),
63 edition = "2015",
64 proc_macro_deps = [
65 ] + select_with_or({
66 "//conditions:default": [
67 ],
68 }),
69 rustc_env = {
70 },
71 rustc_env_files = select_with_or({
72 "//conditions:default": [
73 ],
74 }),
75 rustc_flags = [
76 # In most cases, warnings in 3rd party crates are not interesting as
77 # they're out of the control of consumers. The flag here silences
78 # warnings. For more details see:
79 # https://doc.rust-lang.org/rustc/lints/levels.html
80 "--cap-lints=allow",
81
82 # User provided rustc_flags
83 "--cfg=__unicase__iter_cmp",
84 "--cfg=__unicase__defauler_hasher",
85 ],
86 tags = [
87 "cargo-bazel",
88 "manual",
89 "noclippy",
90 "norustfmt",
91 ],
92 version = "2.6.0",
93 deps = [
94 ] + select_with_or({
95 "//conditions:default": [
96 "@rules_rust_wasm_bindgen__unicase-2.6.0//:build_script_build",
97 ],
98 }),
99)
100
101cargo_build_script(
102 # See comment associated with alias. Do not change this name
103 name = "unicase_build_script",
104 srcs = glob(
105 include = [
106 "**/*.rs",
107 ],
108 exclude = [
109 ],
110 ),
111 aliases = selects.with_or({
112 "//conditions:default": {
113 },
114 }),
115 build_script_env = {
116 },
117 compile_data = select_with_or({
118 "//conditions:default": [
119 ],
120 }),
121 crate_features = [
122 ],
123 crate_name = "build_script_build",
124 crate_root = "build.rs",
125 data = glob(["**"]) + select_with_or({
126 "//conditions:default": [
127 ],
128 }),
129 edition = "2015",
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 # User provided rustc_flags
149 "--cfg=__unicase__iter_cmp",
150 "--cfg=__unicase__defauler_hasher",
151 ],
152 tags = [
153 "cargo-bazel",
154 "manual",
155 "noclippy",
156 "norustfmt",
157 ],
158 tools = select_with_or({
159 "//conditions:default": [
160 ],
161 }),
162 version = "2.6.0",
163 visibility = ["//visibility:private"],
164 deps = [
165 ] + select_with_or({
166 "//conditions:default": [
167 "@rules_rust_wasm_bindgen__version_check-0.9.4//:version_check",
168 ],
169 }),
170)
171
172alias(
173 # Because `cargo_build_script` does some invisible target name mutating to
174 # determine the package and crate name for a build script, the Bazel
175 # target namename of any build script cannot be the Cargo canonical name
176 # of `build_script_build` without losing out on having certain Cargo
177 # environment variables set.
178 name = "build_script_build",
179 actual = "unicase_build_script",
180 tags = [
181 "manual",
182 ],
183)