fork/rules_rust

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

UebelAndreUpdated crate_universe dependencies (#1591)ca567826

0.11.0
7.9 KiB239 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 //crate_universe/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 OR Apache-2.0
29# ])
30
31rust_library(
32    name = "ahash",
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 = "2018",
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    tags = [
83        "cargo-bazel",
84        "manual",
85        "noclippy",
86        "norustfmt",
87    ],
88    version = "0.7.6",
89    deps = [
90    ] + select_with_or({
91        # cfg(any(target_os = "linux", target_os = "android", target_os = "windows", target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "dragonfly", target_os = "solaris", target_os = "illumos", target_os = "fuchsia", target_os = "redox", target_os = "cloudabi", target_os = "haiku", target_os = "vxworks", target_os = "emscripten", target_os = "wasi"))
92        (
93            "@rules_rust//rust/platform:aarch64-apple-darwin",
94            "@rules_rust//rust/platform:aarch64-apple-ios",
95            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
96            "@rules_rust//rust/platform:aarch64-linux-android",
97            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
98            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
99            "@rules_rust//rust/platform:armv7-linux-androideabi",
100            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
101            "@rules_rust//rust/platform:i686-apple-darwin",
102            "@rules_rust//rust/platform:i686-linux-android",
103            "@rules_rust//rust/platform:i686-pc-windows-msvc",
104            "@rules_rust//rust/platform:i686-unknown-freebsd",
105            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
106            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
107            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
108            "@rules_rust//rust/platform:wasm32-wasi",
109            "@rules_rust//rust/platform:x86_64-apple-darwin",
110            "@rules_rust//rust/platform:x86_64-apple-ios",
111            "@rules_rust//rust/platform:x86_64-linux-android",
112            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
113            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
114            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
115        ): [
116            # Target Deps
117            "@cui__getrandom-0.2.7//:getrandom",
118
119            # Common Deps
120            "@cui__ahash-0.7.6//:build_script_build",
121        ],
122        # cfg(not(all(target_arch = "arm", target_os = "none")))
123        (
124            "@rules_rust//rust/platform:aarch64-apple-darwin",
125            "@rules_rust//rust/platform:aarch64-apple-ios",
126            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
127            "@rules_rust//rust/platform:aarch64-linux-android",
128            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
129            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
130            "@rules_rust//rust/platform:armv7-linux-androideabi",
131            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
132            "@rules_rust//rust/platform:i686-apple-darwin",
133            "@rules_rust//rust/platform:i686-linux-android",
134            "@rules_rust//rust/platform:i686-pc-windows-msvc",
135            "@rules_rust//rust/platform:i686-unknown-freebsd",
136            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
137            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
138            "@rules_rust//rust/platform:riscv32imc-unknown-none-elf",
139            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
140            "@rules_rust//rust/platform:wasm32-unknown-unknown",
141            "@rules_rust//rust/platform:wasm32-wasi",
142            "@rules_rust//rust/platform:x86_64-apple-darwin",
143            "@rules_rust//rust/platform:x86_64-apple-ios",
144            "@rules_rust//rust/platform:x86_64-linux-android",
145            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
146            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
147            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
148        ): [
149            # Target Deps
150            "@cui__once_cell-1.15.0//:once_cell",
151
152            # Common Deps
153            "@cui__ahash-0.7.6//:build_script_build",
154        ],
155        "//conditions:default": [
156            "@cui__ahash-0.7.6//:build_script_build",
157        ],
158    }),
159)
160
161cargo_build_script(
162    # See comment associated with alias. Do not change this name
163    name = "ahash_build_script",
164    srcs = glob(
165        include = [
166            "**/*.rs",
167        ],
168        exclude = [
169        ],
170    ),
171    aliases = selects.with_or({
172        "//conditions:default": {
173        },
174    }),
175    build_script_env = {
176    },
177    compile_data = select_with_or({
178        "//conditions:default": [
179        ],
180    }),
181    crate_features = [
182    ],
183    crate_name = "build_script_build",
184    crate_root = "build.rs",
185    data = glob(["**"]) + select_with_or({
186        "//conditions:default": [
187        ],
188    }),
189    edition = "2018",
190    proc_macro_deps = [
191    ] + select_with_or({
192        "//conditions:default": [
193        ],
194    }),
195    rustc_env = {
196    },
197    rustc_env_files = select_with_or({
198        "//conditions:default": [
199        ],
200    }),
201    rustc_flags = [
202        # In most cases, warnings in 3rd party crates are not interesting as
203        # they're out of the control of consumers. The flag here silences
204        # warnings. For more details see:
205        # https://doc.rust-lang.org/rustc/lints/levels.html
206        "--cap-lints=allow",
207    ],
208    tags = [
209        "cargo-bazel",
210        "manual",
211        "noclippy",
212        "norustfmt",
213    ],
214    tools = select_with_or({
215        "//conditions:default": [
216        ],
217    }),
218    version = "0.7.6",
219    visibility = ["//visibility:private"],
220    deps = [
221    ] + select_with_or({
222        "//conditions:default": [
223            "@cui__version_check-0.9.4//:version_check",
224        ],
225    }),
226)
227
228alias(
229    # Because `cargo_build_script` does some invisible target name mutating to
230    # determine the package and crate name for a build script, the Bazel
231    # target namename of any build script cannot be the Cargo canonical name
232    # of `build_script_build` without losing out on having certain Cargo
233    # environment variables set.
234    name = "build_script_build",
235    actual = "ahash_build_script",
236    tags = [
237        "manual",
238    ],
239)