129 lines
3.5 KiB
Plaintext
129 lines
3.5 KiB
Plaintext
"""
|
|
@generated
|
|
cargo-raze crate build file.
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
"""
|
|
|
|
# buildifier: disable=load
|
|
load(
|
|
"@io_bazel_rules_rust//rust:rust.bzl",
|
|
"rust_binary",
|
|
"rust_library",
|
|
"rust_test",
|
|
)
|
|
|
|
# buildifier: disable=load
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
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"
|
|
])
|
|
|
|
# Generated Targets
|
|
|
|
# Unsupported target "body" with type "bench" omitted
|
|
|
|
# Unsupported target "connect" with type "bench" omitted
|
|
|
|
# Unsupported target "end_to_end" with type "bench" omitted
|
|
|
|
# Unsupported target "pipeline" with type "bench" omitted
|
|
|
|
# Unsupported target "server" with type "bench" omitted
|
|
|
|
# Unsupported target "client" with type "example" omitted
|
|
|
|
# Unsupported target "client_json" with type "example" omitted
|
|
|
|
# Unsupported target "echo" with type "example" omitted
|
|
|
|
# Unsupported target "gateway" with type "example" omitted
|
|
|
|
# Unsupported target "hello" with type "example" omitted
|
|
|
|
# Unsupported target "http_proxy" with type "example" omitted
|
|
|
|
# Unsupported target "multi_server" with type "example" omitted
|
|
|
|
# Unsupported target "params" with type "example" omitted
|
|
|
|
# Unsupported target "send_file" with type "example" omitted
|
|
|
|
# Unsupported target "service_struct_impl" with type "example" omitted
|
|
|
|
# Unsupported target "single_threaded" with type "example" omitted
|
|
|
|
# Unsupported target "state" with type "example" omitted
|
|
|
|
# Unsupported target "tower_client" with type "example" omitted
|
|
|
|
# Unsupported target "tower_server" with type "example" omitted
|
|
|
|
# Unsupported target "upgrades" with type "example" omitted
|
|
|
|
# Unsupported target "web_api" with type "example" omitted
|
|
|
|
rust_library(
|
|
name = "hyper",
|
|
srcs = glob(["**/*.rs"]),
|
|
aliases = {
|
|
},
|
|
crate_features = [
|
|
"socket2",
|
|
"tcp",
|
|
],
|
|
crate_root = "src/lib.rs",
|
|
crate_type = "lib",
|
|
edition = "2018",
|
|
rustc_flags = [
|
|
"--cap-lints=allow",
|
|
],
|
|
tags = [
|
|
"cargo-raze",
|
|
"manual",
|
|
],
|
|
version = "0.13.9",
|
|
# buildifier: leave-alone
|
|
deps = [
|
|
"@raze__bytes__0_5_6//:bytes",
|
|
"@raze__futures_channel__0_3_8//:futures_channel",
|
|
"@raze__futures_core__0_3_8//:futures_core",
|
|
"@raze__futures_util__0_3_8//:futures_util",
|
|
"@raze__h2__0_2_7//:h2",
|
|
"@raze__http__0_2_2//:http",
|
|
"@raze__http_body__0_3_1//:http_body",
|
|
"@raze__httparse__1_3_4//:httparse",
|
|
"@raze__httpdate__0_3_2//:httpdate",
|
|
"@raze__itoa__0_4_6//:itoa",
|
|
"@raze__pin_project__1_0_2//:pin_project",
|
|
"@raze__socket2__0_3_17//:socket2",
|
|
"@raze__tokio__0_2_24//:tokio",
|
|
"@raze__tower_service__0_3_0//:tower_service",
|
|
"@raze__tracing__0_1_22//:tracing",
|
|
"@raze__want__0_3_0//:want",
|
|
] + selects.with_or({
|
|
# cfg(any(target_os = "linux", target_os = "macos"))
|
|
(
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
|
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
|
): [
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
# Unsupported target "client" with type "test" omitted
|
|
|
|
# Unsupported target "integration" with type "test" omitted
|
|
|
|
# Unsupported target "server" with type "test" omitted
|