fork/rules_rust

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

UebelAndreUpdated crate_universe dependencies (#1591)ca567826

0.11.0
5.4 KiB226 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/Apache-2.0
29# ])
30
31rust_library(
32    name = "winapi",
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        "activation",
58        "combaseapi",
59        "consoleapi",
60        "errhandlingapi",
61        "fileapi",
62        "handleapi",
63        "minwinbase",
64        "minwindef",
65        "ntsecapi",
66        "objbase",
67        "processenv",
68        "profileapi",
69        "roapi",
70        "shlobj",
71        "std",
72        "timezoneapi",
73        "winbase",
74        "wincon",
75        "winerror",
76        "winnt",
77        "winstring",
78    ],
79    crate_root = "src/lib.rs",
80    data = select_with_or({
81        "//conditions:default": [
82        ],
83    }),
84    edition = "2015",
85    proc_macro_deps = [
86    ] + select_with_or({
87        "//conditions:default": [
88        ],
89    }),
90    rustc_env = {
91    },
92    rustc_env_files = select_with_or({
93        "//conditions:default": [
94        ],
95    }),
96    rustc_flags = [
97        # In most cases, warnings in 3rd party crates are not interesting as
98        # they're out of the control of consumers. The flag here silences
99        # warnings. For more details see:
100        # https://doc.rust-lang.org/rustc/lints/levels.html
101        "--cap-lints=allow",
102    ],
103    tags = [
104        "cargo-bazel",
105        "manual",
106        "noclippy",
107        "norustfmt",
108    ],
109    version = "0.3.9",
110    deps = [
111    ] + select_with_or({
112        # i686-pc-windows-gnu
113        #
114        # No supported platform triples for cfg: 'i686-pc-windows-gnu'
115        # Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}]
116        #
117        # x86_64-pc-windows-gnu
118        #
119        # No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
120        # Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}]
121        #
122        "//conditions:default": [
123            "@cui__winapi-0.3.9//:build_script_build",
124        ],
125    }),
126)
127
128cargo_build_script(
129    # See comment associated with alias. Do not change this name
130    name = "winapi_build_script",
131    srcs = glob(
132        include = [
133            "**/*.rs",
134        ],
135        exclude = [
136        ],
137    ),
138    aliases = selects.with_or({
139        "//conditions:default": {
140        },
141    }),
142    build_script_env = {
143    },
144    compile_data = select_with_or({
145        "//conditions:default": [
146        ],
147    }),
148    crate_features = [
149        "activation",
150        "combaseapi",
151        "consoleapi",
152        "errhandlingapi",
153        "fileapi",
154        "handleapi",
155        "minwinbase",
156        "minwindef",
157        "ntsecapi",
158        "objbase",
159        "processenv",
160        "profileapi",
161        "roapi",
162        "shlobj",
163        "std",
164        "timezoneapi",
165        "winbase",
166        "wincon",
167        "winerror",
168        "winnt",
169        "winstring",
170    ],
171    crate_name = "build_script_build",
172    crate_root = "build.rs",
173    data = glob(["**"]) + select_with_or({
174        "//conditions:default": [
175        ],
176    }),
177    edition = "2015",
178    proc_macro_deps = [
179    ] + select_with_or({
180        "//conditions:default": [
181        ],
182    }),
183    rustc_env = {
184    },
185    rustc_env_files = select_with_or({
186        "//conditions:default": [
187        ],
188    }),
189    rustc_flags = [
190        # In most cases, warnings in 3rd party crates are not interesting as
191        # they're out of the control of consumers. The flag here silences
192        # warnings. For more details see:
193        # https://doc.rust-lang.org/rustc/lints/levels.html
194        "--cap-lints=allow",
195    ],
196    tags = [
197        "cargo-bazel",
198        "manual",
199        "noclippy",
200        "norustfmt",
201    ],
202    tools = select_with_or({
203        "//conditions:default": [
204        ],
205    }),
206    version = "0.3.9",
207    visibility = ["//visibility:private"],
208    deps = [
209    ] + select_with_or({
210        "//conditions:default": [
211        ],
212    }),
213)
214
215alias(
216    # Because `cargo_build_script` does some invisible target name mutating to
217    # determine the package and crate name for a build script, the Bazel
218    # target namename of any build script cannot be the Cargo canonical name
219    # of `build_script_build` without losing out on having certain Cargo
220    # environment variables set.
221    name = "build_script_build",
222    actual = "winapi_build_script",
223    tags = [
224        "manual",
225    ],
226)