fork/rules_rust

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

UebelAndreUpdated `wasm_bindgen` rules dependencies. (#1464)6c285eb2

0.9.0
6.7 KiB230 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)
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
29# ])
30
31rust_library(
32    name = "curl",
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        "default",
58        "openssl-probe",
59        "openssl-sys",
60        "ssl",
61    ],
62    crate_root = "src/lib.rs",
63    data = select_with_or({
64        "//conditions:default": [
65        ],
66    }),
67    edition = "2018",
68    proc_macro_deps = [
69    ] + select_with_or({
70        "//conditions:default": [
71        ],
72    }),
73    rustc_env = {
74    },
75    rustc_env_files = select_with_or({
76        "//conditions:default": [
77        ],
78    }),
79    rustc_flags = [
80        # In most cases, warnings in 3rd party crates are not interesting as
81        # they're out of the control of consumers. The flag here silences
82        # warnings. For more details see:
83        # https://doc.rust-lang.org/rustc/lints/levels.html
84        "--cap-lints=allow",
85    ],
86    tags = [
87        "cargo-bazel",
88        "manual",
89        "noclippy",
90        "norustfmt",
91    ],
92    version = "0.4.43",
93    deps = [
94    ] + select_with_or({
95        # cfg(all(unix, not(target_os = "macos")))
96        (
97            "@rules_rust//rust/platform:aarch64-apple-ios",
98            "@rules_rust//rust/platform:aarch64-apple-ios-sim",
99            "@rules_rust//rust/platform:aarch64-linux-android",
100            "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
101            "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
102            "@rules_rust//rust/platform:armv7-linux-androideabi",
103            "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
104            "@rules_rust//rust/platform:i686-linux-android",
105            "@rules_rust//rust/platform:i686-unknown-freebsd",
106            "@rules_rust//rust/platform:i686-unknown-linux-gnu",
107            "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
108            "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
109            "@rules_rust//rust/platform:x86_64-apple-ios",
110            "@rules_rust//rust/platform:x86_64-linux-android",
111            "@rules_rust//rust/platform:x86_64-unknown-freebsd",
112            "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
113        ): [
114            # Target Deps
115            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",
116            "@rules_rust_wasm_bindgen__openssl-sys-0.9.75//:openssl_sys",
117
118            # Common Deps
119            "@rules_rust_wasm_bindgen__curl-0.4.43//:build_script_build",
120            "@rules_rust_wasm_bindgen__curl-sys-0.4.55-curl-7.83.1//:curl_sys",
121            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
122            "@rules_rust_wasm_bindgen__socket2-0.4.4//:socket2",
123        ],
124        # cfg(target_env = "msvc")
125        (
126            "@rules_rust//rust/platform:i686-pc-windows-msvc",
127            "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
128        ): [
129            # Target Deps
130            "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel",
131            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",
132
133            # Common Deps
134            "@rules_rust_wasm_bindgen__curl-0.4.43//:build_script_build",
135            "@rules_rust_wasm_bindgen__curl-sys-0.4.55-curl-7.83.1//:curl_sys",
136            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
137            "@rules_rust_wasm_bindgen__socket2-0.4.4//:socket2",
138        ],
139        "//conditions:default": [
140            "@rules_rust_wasm_bindgen__curl-0.4.43//:build_script_build",
141            "@rules_rust_wasm_bindgen__curl-sys-0.4.55-curl-7.83.1//:curl_sys",
142            "@rules_rust_wasm_bindgen__libc-0.2.126//:libc",
143            "@rules_rust_wasm_bindgen__socket2-0.4.4//:socket2",
144        ],
145    }),
146)
147
148cargo_build_script(
149    # See comment associated with alias. Do not change this name
150    name = "curl_build_script",
151    srcs = glob(
152        include = [
153            "**/*.rs",
154        ],
155        exclude = [
156        ],
157    ),
158    aliases = selects.with_or({
159        "//conditions:default": {
160        },
161    }),
162    build_script_env = {
163    },
164    compile_data = select_with_or({
165        "//conditions:default": [
166        ],
167    }),
168    crate_features = [
169        "default",
170        "openssl-probe",
171        "openssl-sys",
172        "ssl",
173    ],
174    crate_name = "build_script_build",
175    crate_root = "build.rs",
176    data = glob(["**"]) + select_with_or({
177        "//conditions:default": [
178        ],
179    }),
180    edition = "2018",
181    proc_macro_deps = [
182    ] + select_with_or({
183        "//conditions:default": [
184        ],
185    }),
186    rustc_env = {
187    },
188    rustc_env_files = select_with_or({
189        "//conditions:default": [
190        ],
191    }),
192    rustc_flags = [
193        # In most cases, warnings in 3rd party crates are not interesting as
194        # they're out of the control of consumers. The flag here silences
195        # warnings. For more details see:
196        # https://doc.rust-lang.org/rustc/lints/levels.html
197        "--cap-lints=allow",
198    ],
199    tags = [
200        "cargo-bazel",
201        "manual",
202        "noclippy",
203        "norustfmt",
204    ],
205    tools = select_with_or({
206        "//conditions:default": [
207        ],
208    }),
209    version = "0.4.43",
210    visibility = ["//visibility:private"],
211    deps = [
212    ] + select_with_or({
213        "//conditions:default": [
214            "@rules_rust_wasm_bindgen__curl-sys-0.4.55-curl-7.83.1//:curl_sys",
215        ],
216    }),
217)
218
219alias(
220    # Because `cargo_build_script` does some invisible target name mutating to
221    # determine the package and crate name for a build script, the Bazel
222    # target namename of any build script cannot be the Cargo canonical name
223    # of `build_script_build` without losing out on having certain Cargo
224    # environment variables set.
225    name = "build_script_build",
226    actual = "curl_build_script",
227    tags = [
228        "manual",
229    ],
230)