Adam Snaider | 1c095c9 | 2023-07-08 02:09:58 -0400 | [diff] [blame^] | 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 | |
| 9 | load("@rules_rust//cargo:defs.bzl", "cargo_build_script") |
| 10 | load("@rules_rust//rust:defs.bzl", "rust_library") |
| 11 | |
| 12 | package(default_visibility = ["//visibility:public"]) |
| 13 | |
| 14 | # licenses([ |
| 15 | # "TODO", # MIT |
| 16 | # ]) |
| 17 | |
| 18 | rust_library( |
| 19 | name = "curl", |
| 20 | srcs = glob(["**/*.rs"]), |
| 21 | compile_data = glob( |
| 22 | include = ["**"], |
| 23 | exclude = [ |
| 24 | "**/* *", |
| 25 | ".tmp_git_root/**/*", |
| 26 | "BUILD", |
| 27 | "BUILD.bazel", |
| 28 | "WORKSPACE", |
| 29 | "WORKSPACE.bazel", |
| 30 | ], |
| 31 | ), |
| 32 | crate_features = [ |
| 33 | "default", |
| 34 | "openssl-probe", |
| 35 | "openssl-sys", |
| 36 | "ssl", |
| 37 | ], |
| 38 | crate_root = "src/lib.rs", |
| 39 | edition = "2018", |
| 40 | rustc_flags = ["--cap-lints=allow"], |
| 41 | tags = [ |
| 42 | "cargo-bazel", |
| 43 | "crate-name=curl", |
| 44 | "manual", |
| 45 | "noclippy", |
| 46 | "norustfmt", |
| 47 | ], |
| 48 | target_compatible_with = select({ |
| 49 | "@rules_rust//rust/platform:aarch64-apple-darwin": [], |
| 50 | "@rules_rust//rust/platform:aarch64-apple-ios": [], |
| 51 | "@rules_rust//rust/platform:aarch64-apple-ios-sim": [], |
| 52 | "@rules_rust//rust/platform:aarch64-fuchsia": [], |
| 53 | "@rules_rust//rust/platform:aarch64-linux-android": [], |
| 54 | "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [], |
| 55 | "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [], |
| 56 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [], |
| 57 | "@rules_rust//rust/platform:armv7-linux-androideabi": [], |
| 58 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [], |
| 59 | "@rules_rust//rust/platform:i686-apple-darwin": [], |
| 60 | "@rules_rust//rust/platform:i686-linux-android": [], |
| 61 | "@rules_rust//rust/platform:i686-pc-windows-msvc": [], |
| 62 | "@rules_rust//rust/platform:i686-unknown-freebsd": [], |
| 63 | "@rules_rust//rust/platform:i686-unknown-linux-gnu": [], |
| 64 | "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [], |
| 65 | "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [], |
| 66 | "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [], |
| 67 | "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [], |
| 68 | "@rules_rust//rust/platform:thumbv7em-none-eabi": [], |
| 69 | "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [], |
| 70 | "@rules_rust//rust/platform:wasm32-unknown-unknown": [], |
| 71 | "@rules_rust//rust/platform:wasm32-wasi": [], |
| 72 | "@rules_rust//rust/platform:x86_64-apple-darwin": [], |
| 73 | "@rules_rust//rust/platform:x86_64-apple-ios": [], |
| 74 | "@rules_rust//rust/platform:x86_64-fuchsia": [], |
| 75 | "@rules_rust//rust/platform:x86_64-linux-android": [], |
| 76 | "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [], |
| 77 | "@rules_rust//rust/platform:x86_64-unknown-freebsd": [], |
| 78 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], |
| 79 | "@rules_rust//rust/platform:x86_64-unknown-none": [], |
| 80 | "//conditions:default": ["@platforms//:incompatible"], |
| 81 | }), |
| 82 | version = "0.4.44", |
| 83 | deps = [ |
| 84 | "@rules_rust_wasm_bindgen__curl-0.4.44//:build_script_build", |
| 85 | "@rules_rust_wasm_bindgen__curl-sys-0.4.59-curl-7.86.0//:curl_sys", |
| 86 | "@rules_rust_wasm_bindgen__libc-0.2.139//:libc", |
| 87 | "@rules_rust_wasm_bindgen__socket2-0.4.7//:socket2", |
| 88 | ] + select({ |
| 89 | "@rules_rust//rust/platform:aarch64-apple-ios": [ |
| 90 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 91 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 92 | ], |
| 93 | "@rules_rust//rust/platform:aarch64-apple-ios-sim": [ |
| 94 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 95 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 96 | ], |
| 97 | "@rules_rust//rust/platform:aarch64-fuchsia": [ |
| 98 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 99 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 100 | ], |
| 101 | "@rules_rust//rust/platform:aarch64-linux-android": [ |
| 102 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 103 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 104 | ], |
| 105 | "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [ |
| 106 | "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel", # cfg(target_env = "msvc") |
| 107 | "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi", # cfg(target_env = "msvc") |
| 108 | ], |
| 109 | "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [ |
| 110 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 111 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 112 | ], |
| 113 | "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [ |
| 114 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 115 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 116 | ], |
| 117 | "@rules_rust//rust/platform:armv7-linux-androideabi": [ |
| 118 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 119 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 120 | ], |
| 121 | "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [ |
| 122 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 123 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 124 | ], |
| 125 | "@rules_rust//rust/platform:i686-linux-android": [ |
| 126 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 127 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 128 | ], |
| 129 | "@rules_rust//rust/platform:i686-pc-windows-msvc": [ |
| 130 | "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel", # cfg(target_env = "msvc") |
| 131 | "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi", # cfg(target_env = "msvc") |
| 132 | ], |
| 133 | "@rules_rust//rust/platform:i686-unknown-freebsd": [ |
| 134 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 135 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 136 | ], |
| 137 | "@rules_rust//rust/platform:i686-unknown-linux-gnu": [ |
| 138 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 139 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 140 | ], |
| 141 | "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [ |
| 142 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 143 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 144 | ], |
| 145 | "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [ |
| 146 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 147 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 148 | ], |
| 149 | "@rules_rust//rust/platform:x86_64-apple-ios": [ |
| 150 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 151 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 152 | ], |
| 153 | "@rules_rust//rust/platform:x86_64-fuchsia": [ |
| 154 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 155 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 156 | ], |
| 157 | "@rules_rust//rust/platform:x86_64-linux-android": [ |
| 158 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 159 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 160 | ], |
| 161 | "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [ |
| 162 | "@rules_rust_wasm_bindgen__schannel-0.1.20//:schannel", # cfg(target_env = "msvc") |
| 163 | "@rules_rust_wasm_bindgen__winapi-0.3.9//:winapi", # cfg(target_env = "msvc") |
| 164 | ], |
| 165 | "@rules_rust//rust/platform:x86_64-unknown-freebsd": [ |
| 166 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 167 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 168 | ], |
| 169 | "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ |
| 170 | "@rules_rust_wasm_bindgen__openssl-probe-0.1.5//:openssl_probe", # cfg(all(unix, not(target_os = "macos"))) |
| 171 | "@rules_rust_wasm_bindgen__openssl-sys-0.9.80//:openssl_sys", # cfg(all(unix, not(target_os = "macos"))) |
| 172 | ], |
| 173 | "//conditions:default": [], |
| 174 | }), |
| 175 | ) |
| 176 | |
| 177 | cargo_build_script( |
| 178 | name = "curl_build_script", |
| 179 | srcs = glob(["**/*.rs"]), |
| 180 | crate_features = [ |
| 181 | "default", |
| 182 | "openssl-probe", |
| 183 | "openssl-sys", |
| 184 | "ssl", |
| 185 | ], |
| 186 | crate_name = "build_script_build", |
| 187 | crate_root = "build.rs", |
| 188 | data = glob( |
| 189 | include = ["**"], |
| 190 | exclude = [ |
| 191 | "**/* *", |
| 192 | ".tmp_git_root/**/*", |
| 193 | "BUILD", |
| 194 | "BUILD.bazel", |
| 195 | "WORKSPACE", |
| 196 | "WORKSPACE.bazel", |
| 197 | ], |
| 198 | ), |
| 199 | edition = "2018", |
| 200 | rustc_flags = [ |
| 201 | "--cap-lints=allow", |
| 202 | ], |
| 203 | tags = [ |
| 204 | "cargo-bazel", |
| 205 | "crate-name=curl", |
| 206 | "manual", |
| 207 | "noclippy", |
| 208 | "norustfmt", |
| 209 | ], |
| 210 | version = "0.4.44", |
| 211 | visibility = ["//visibility:private"], |
| 212 | deps = [ |
| 213 | "@rules_rust_wasm_bindgen__curl-sys-0.4.59-curl-7.86.0//:curl_sys", |
| 214 | ], |
| 215 | ) |
| 216 | |
| 217 | alias( |
| 218 | name = "build_script_build", |
| 219 | actual = "curl_build_script", |
| 220 | tags = ["manual"], |
| 221 | ) |