| """ |
| @generated |
| cargo-raze crate build file. |
| |
| DO NOT EDIT! Replaced on runs of cargo-raze |
| """ |
| |
| # buildifier: disable=load |
| load("@bazel_skylib//lib:selects.bzl", "selects") |
| |
| # buildifier: disable=load |
| load( |
| "@rules_rust//rust:defs.bzl", |
| "rust_binary", |
| "rust_library", |
| "rust_proc_macro", |
| "rust_test", |
| ) |
| |
| package(default_visibility = [ |
| # Public for visibility by "@raze__crate__version//" targets. |
| # |
| # Prefer access through "//wasm_bindgen/raze", which limits external |
| # visibility to explicit Cargo.toml dependencies. |
| "//visibility:public", |
| ]) |
| |
| licenses([ |
| "notice", # MIT from expression "MIT" |
| ]) |
| |
| # Generated Targets |
| # buildifier: disable=out-of-order-load |
| # buildifier: disable=load-on-top |
| load( |
| "@rules_rust//cargo:cargo_build_script.bzl", |
| "cargo_build_script", |
| ) |
| |
| cargo_build_script( |
| name = "curl_build_script", |
| srcs = glob(["**/*.rs"]), |
| build_script_env = { |
| }, |
| crate_features = [ |
| "default", |
| "openssl-probe", |
| "openssl-sys", |
| "ssl", |
| ], |
| crate_root = "build.rs", |
| data = glob(["**"]), |
| edition = "2018", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-raze", |
| "manual", |
| ], |
| version = "0.4.40", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "@rules_rust_wasm_bindgen__curl_sys__0_4_50_curl_7_79_1//:curl_sys", |
| ] + selects.with_or({ |
| # cfg(all(unix, not(target_os = "macos"))) |
| ( |
| "@rules_rust//rust/platform:i686-unknown-linux-gnu", |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:aarch64-apple-ios", |
| "@rules_rust//rust/platform:aarch64-linux-android", |
| "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:i686-linux-android", |
| "@rules_rust//rust/platform:i686-unknown-freebsd", |
| "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", |
| "@rules_rust//rust/platform:s390x-unknown-linux-gnu", |
| "@rules_rust//rust/platform:x86_64-apple-ios", |
| "@rules_rust//rust/platform:x86_64-linux-android", |
| "@rules_rust//rust/platform:x86_64-unknown-freebsd", |
| ): [ |
| "@rules_rust_wasm_bindgen__openssl_sys__0_9_70//:openssl_sys", |
| ], |
| "//conditions:default": [], |
| }) + selects.with_or({ |
| # cfg(target_env = "msvc") |
| ( |
| "@rules_rust//rust/platform:i686-pc-windows-msvc", |
| "@rules_rust//rust/platform:x86_64-pc-windows-msvc", |
| ): [ |
| ], |
| "//conditions:default": [], |
| }), |
| ) |
| |
| # Unsupported target "aws_sigv4" with type "example" omitted |
| |
| # Unsupported target "ssl_cert_blob" with type "example" omitted |
| |
| # Unsupported target "ssl_proxy" with type "example" omitted |
| |
| rust_library( |
| name = "curl", |
| srcs = glob(["**/*.rs"]), |
| aliases = { |
| }, |
| crate_features = [ |
| "default", |
| "openssl-probe", |
| "openssl-sys", |
| "ssl", |
| ], |
| crate_root = "src/lib.rs", |
| data = [], |
| edition = "2018", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-raze", |
| "crate-name=curl", |
| "manual", |
| ], |
| version = "0.4.40", |
| # buildifier: leave-alone |
| deps = [ |
| ":curl_build_script", |
| "@rules_rust_wasm_bindgen__curl_sys__0_4_50_curl_7_79_1//:curl_sys", |
| "@rules_rust_wasm_bindgen__libc__0_2_107//:libc", |
| "@rules_rust_wasm_bindgen__socket2__0_4_2//:socket2", |
| ] + selects.with_or({ |
| # cfg(all(unix, not(target_os = "macos"))) |
| ( |
| "@rules_rust//rust/platform:i686-unknown-linux-gnu", |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:aarch64-apple-ios", |
| "@rules_rust//rust/platform:aarch64-linux-android", |
| "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", |
| "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", |
| "@rules_rust//rust/platform:i686-linux-android", |
| "@rules_rust//rust/platform:i686-unknown-freebsd", |
| "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", |
| "@rules_rust//rust/platform:s390x-unknown-linux-gnu", |
| "@rules_rust//rust/platform:x86_64-apple-ios", |
| "@rules_rust//rust/platform:x86_64-linux-android", |
| "@rules_rust//rust/platform:x86_64-unknown-freebsd", |
| ): [ |
| "@rules_rust_wasm_bindgen__openssl_probe__0_1_4//:openssl_probe", |
| "@rules_rust_wasm_bindgen__openssl_sys__0_9_70//:openssl_sys", |
| ], |
| "//conditions:default": [], |
| }) + selects.with_or({ |
| # cfg(target_env = "msvc") |
| ( |
| "@rules_rust//rust/platform:i686-pc-windows-msvc", |
| "@rules_rust//rust/platform:x86_64-pc-windows-msvc", |
| ): [ |
| "@rules_rust_wasm_bindgen__schannel__0_1_19//:schannel", |
| "@rules_rust_wasm_bindgen__winapi__0_3_9//:winapi", |
| ], |
| "//conditions:default": [], |
| }), |
| ) |
| |
| # Unsupported target "atexit" with type "test" omitted |
| |
| # Unsupported target "easy" with type "test" omitted |
| |
| # Unsupported target "multi" with type "test" omitted |
| |
| # Unsupported target "post" with type "test" omitted |
| |
| # Unsupported target "protocols" with type "test" omitted |