fork/rules_rust

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

David TolnayRegenerate BUILD files using serde_starlark renderer (#1746)d6e30035

rust-analyzer
8.0 KiB178 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("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10load(
11    "@rules_rust//rust:defs.bzl",
12    "rust_library",
13)
14
15package(default_visibility = ["//visibility:public"])
16
17# licenses([
18#     "TODO",  # MIT
19# ])
20
21rust_library(
22    name = "curl",
23    srcs = glob(["**/*.rs"]),
24    compile_data = glob(
25        include = ["**"],
26        exclude = [
27            "**/* *",
28            "BUILD",
29            "BUILD.bazel",
30            "WORKSPACE",
31            "WORKSPACE.bazel",
32        ],
33    ),
34    crate_features = [
35        "default",
36        "openssl-probe",
37        "openssl-sys",
38        "ssl",
39    ],
40    crate_root = "src/lib.rs",
41    edition = "2018",
42    rustc_flags = ["--cap-lints=allow"],
43    tags = [
44        "cargo-bazel",
45        "manual",
46        "noclippy",
47        "norustfmt",
48    ],
49    version = "0.4.44",
50    deps = [
51        "@rules_rust_wasm_bindgen__curl-0.4.44//:build_script_build",
52        "@rules_rust_wasm_bindgen__curl-sys-0.4.59-curl-7.86.0//:curl_sys",
53        "@rules_rust_wasm_bindgen__libc-0.2.139//:libc",
54        "@rules_rust_wasm_bindgen__socket2-0.4.7//:socket2",
55    ] + select({
56        "@rules_rust//rust/platform:aarch64-apple-ios": [
57            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
58            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
59        ],
60        "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
61            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
62            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
63        ],
64        "@rules_rust//rust/platform:aarch64-linux-android": [
65            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
66            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
67        ],
68        "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
69            "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel",  # cfg(target_env = "msvc")
70            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(target_env = "msvc")
71        ],
72        "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
73            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
74            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
75        ],
76        "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
77            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
78            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
79        ],
80        "@rules_rust//rust/platform:armv7-linux-androideabi": [
81            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
82            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
83        ],
84        "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
85            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
86            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
87        ],
88        "@rules_rust//rust/platform:i686-linux-android": [
89            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
90            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
91        ],
92        "@rules_rust//rust/platform:i686-pc-windows-msvc": [
93            "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel",  # cfg(target_env = "msvc")
94            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(target_env = "msvc")
95        ],
96        "@rules_rust//rust/platform:i686-unknown-freebsd": [
97            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
98            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
99        ],
100        "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
101            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
102            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
103        ],
104        "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
105            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
106            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
107        ],
108        "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
109            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
110            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
111        ],
112        "@rules_rust//rust/platform:x86_64-apple-ios": [
113            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
114            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
115        ],
116        "@rules_rust//rust/platform:x86_64-linux-android": [
117            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
118            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
119        ],
120        "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
121            "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel",  # cfg(target_env = "msvc")
122            "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi",  # cfg(target_env = "msvc")
123        ],
124        "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
125            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
126            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
127        ],
128        "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
129            "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe",  # cfg(all(unix, not(target_os = "macos")))
130            "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys",  # cfg(all(unix, not(target_os = "macos")))
131        ],
132        "//conditions:default": [],
133    }),
134)
135
136cargo_build_script(
137    name = "curl_build_script",
138    srcs = glob(["**/*.rs"]),
139    crate_features = [
140        "default",
141        "openssl-probe",
142        "openssl-sys",
143        "ssl",
144    ],
145    crate_name = "build_script_build",
146    crate_root = "build.rs",
147    data = glob(
148        include = ["**"],
149        exclude = [
150            "**/* *",
151            "BUILD",
152            "BUILD.bazel",
153            "WORKSPACE",
154            "WORKSPACE.bazel",
155        ],
156    ),
157    edition = "2018",
158    rustc_flags = [
159        "--cap-lints=allow",
160    ],
161    tags = [
162        "cargo-bazel",
163        "manual",
164        "noclippy",
165        "norustfmt",
166    ],
167    version = "0.4.44",
168    visibility = ["//visibility:private"],
169    deps = [
170        "@rules_rust_wasm_bindgen__curl-sys-0.4.59-curl-7.86.0//:curl_sys",
171    ],
172)
173
174alias(
175    name = "build_script_build",
176    actual = "curl_build_script",
177    tags = ["manual"],
178)