2020-11-01 05:26:58 +01:00
|
|
|
"""
|
|
|
|
@generated
|
|
|
|
cargo-raze crate build file.
|
|
|
|
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
|
|
"""
|
|
|
|
|
2021-03-27 09:39:02 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load(
|
2021-03-27 09:39:02 +01:00
|
|
|
"@rules_rust//rust:rust.bzl",
|
2020-11-01 05:26:58 +01:00
|
|
|
"rust_binary",
|
|
|
|
"rust_library",
|
|
|
|
"rust_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
package(default_visibility = [
|
|
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
|
|
#
|
|
|
|
# Prefer access through "//cargo", which limits external
|
|
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
|
|
"//visibility:public",
|
|
|
|
])
|
|
|
|
|
|
|
|
licenses([
|
|
|
|
"notice", # MIT from expression "MIT OR Apache-2.0"
|
|
|
|
])
|
|
|
|
|
2020-11-10 00:47:24 +01:00
|
|
|
# Generated Targets
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "blocking" with type "example" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "form" with type "example" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "json_dynamic" with type "example" omitted
|
2020-11-10 00:47:24 +01:00
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "json_typed" with type "example" omitted
|
|
|
|
|
2020-11-10 00:47:24 +01:00
|
|
|
# Unsupported target "simple" with type "example" omitted
|
|
|
|
|
|
|
|
# Unsupported target "tor_socks" with type "example" omitted
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
rust_library(
|
|
|
|
name = "reqwest",
|
2020-11-10 00:47:24 +01:00
|
|
|
srcs = glob(["**/*.rs"]),
|
|
|
|
aliases = {
|
|
|
|
},
|
|
|
|
crate_features = [
|
|
|
|
"__rustls",
|
|
|
|
"__tls",
|
|
|
|
"hyper-rustls",
|
|
|
|
"json",
|
2021-04-27 14:18:12 +02:00
|
|
|
"mime_guess",
|
|
|
|
"multipart",
|
2020-11-10 00:47:24 +01:00
|
|
|
"rustls",
|
2021-06-18 10:15:41 +02:00
|
|
|
"rustls-native-certs",
|
2020-11-15 05:02:53 +01:00
|
|
|
"rustls-tls",
|
2021-06-18 10:15:41 +02:00
|
|
|
"rustls-tls-native-roots",
|
2020-11-15 05:02:53 +01:00
|
|
|
"rustls-tls-webpki-roots",
|
2020-11-10 00:47:24 +01:00
|
|
|
"serde_json",
|
|
|
|
"socks",
|
|
|
|
"stream",
|
|
|
|
"tokio-rustls",
|
|
|
|
"tokio-socks",
|
2020-11-15 05:02:53 +01:00
|
|
|
"webpki-roots",
|
2020-11-10 00:47:24 +01:00
|
|
|
],
|
|
|
|
crate_root = "src/lib.rs",
|
2020-11-01 05:26:58 +01:00
|
|
|
crate_type = "lib",
|
2020-12-15 11:28:10 +01:00
|
|
|
data = [],
|
2020-11-10 00:47:24 +01:00
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
|
|
|
],
|
2021-04-27 14:18:12 +02:00
|
|
|
version = "0.11.3",
|
2020-11-10 00:47:24 +01:00
|
|
|
# buildifier: leave-alone
|
2020-11-01 05:26:58 +01:00
|
|
|
deps = [
|
2021-10-02 12:42:03 +02:00
|
|
|
"@raze__bytes__1_1_0//:bytes",
|
|
|
|
"@raze__http__0_2_5//:http",
|
2021-04-27 14:18:12 +02:00
|
|
|
"@raze__hyper_timeout__0_4_1//:hyper_timeout",
|
2020-11-03 01:26:27 +01:00
|
|
|
"@raze__mime_guess__2_0_3//:mime_guess",
|
2021-10-02 12:42:03 +02:00
|
|
|
"@raze__serde__1_0_130//:serde",
|
2021-11-18 11:54:00 +01:00
|
|
|
"@raze__serde_json__1_0_71//:serde_json",
|
2021-04-27 14:18:12 +02:00
|
|
|
"@raze__serde_urlencoded__0_7_0//:serde_urlencoded",
|
2021-06-16 08:10:57 +02:00
|
|
|
"@raze__url__2_2_2//:url",
|
2020-11-01 05:26:58 +01:00
|
|
|
] + selects.with_or({
|
|
|
|
# cfg(not(target_arch = "wasm32"))
|
|
|
|
(
|
2021-03-27 09:39:02 +01:00
|
|
|
"@rules_rust//rust/platform:aarch64-apple-ios",
|
|
|
|
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
|
|
|
"@rules_rust//rust/platform:x86_64-apple-darwin",
|
|
|
|
"@rules_rust//rust/platform:x86_64-apple-ios",
|
|
|
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
|
|
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
2020-11-01 05:26:58 +01:00
|
|
|
): [
|
2020-11-03 01:26:27 +01:00
|
|
|
"@raze__base64__0_13_0//:base64",
|
2021-10-26 00:16:40 +02:00
|
|
|
"@raze__encoding_rs__0_8_29//:encoding_rs",
|
2021-10-02 12:42:03 +02:00
|
|
|
"@raze__futures_core__0_3_17//:futures_core",
|
|
|
|
"@raze__futures_util__0_3_17//:futures_util",
|
2021-10-26 00:16:40 +02:00
|
|
|
"@raze__http_body__0_4_4//:http_body",
|
2021-11-18 11:54:00 +01:00
|
|
|
"@raze__hyper__0_14_15//:hyper",
|
2021-04-27 14:18:12 +02:00
|
|
|
"@raze__hyper_rustls__0_22_1//:hyper_rustls",
|
2021-06-16 08:10:57 +02:00
|
|
|
"@raze__ipnet__2_3_1//:ipnet",
|
2020-11-01 05:26:58 +01:00
|
|
|
"@raze__lazy_static__1_4_0//:lazy_static",
|
2021-02-03 11:29:48 +01:00
|
|
|
"@raze__log__0_4_14//:log",
|
2020-11-01 05:26:58 +01:00
|
|
|
"@raze__mime__0_3_16//:mime",
|
|
|
|
"@raze__percent_encoding__2_1_0//:percent_encoding",
|
2021-10-02 12:42:03 +02:00
|
|
|
"@raze__pin_project_lite__0_2_7//:pin_project_lite",
|
2021-04-27 14:18:12 +02:00
|
|
|
"@raze__rustls__0_19_1//:rustls",
|
2021-06-18 10:15:41 +02:00
|
|
|
"@raze__rustls_native_certs__0_5_0//:rustls_native_certs",
|
2021-11-18 11:54:00 +01:00
|
|
|
"@raze__tokio__1_14_0//:tokio",
|
2021-04-27 14:18:12 +02:00
|
|
|
"@raze__tokio_rustls__0_22_0//:tokio_rustls",
|
|
|
|
"@raze__tokio_socks__0_5_1//:tokio_socks",
|
|
|
|
"@raze__webpki_roots__0_21_1//:webpki_roots",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}) + selects.with_or({
|
|
|
|
# cfg(windows)
|
|
|
|
(
|
2021-03-27 09:39:02 +01:00
|
|
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
2020-11-01 05:26:58 +01:00
|
|
|
): [
|
2020-11-03 01:26:27 +01:00
|
|
|
"@raze__winreg__0_7_0//:winreg",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|
2020-11-10 00:47:24 +01:00
|
|
|
|
|
|
|
# Unsupported target "badssl" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "blocking" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "brotli" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "client" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "cookie" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "gzip" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "multipart" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "proxy" with type "test" omitted
|
|
|
|
|
|
|
|
# Unsupported target "redirect" with type "test" omitted
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Unsupported target "timeouts" with type "test" omitted
|
2021-04-27 14:18:12 +02:00
|
|
|
|
|
|
|
# Unsupported target "wasm_simple" with type "test" omitted
|