blob: b4fc3d2be0993a25a3e5d8ffa194c3aa67137766 [file] [log] [blame]
Serge Bazanskicbf1fa92021-07-02 17:28:50 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:rust.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_test",
17)
18
19package(default_visibility = [
20 # Public for visibility by "@raze__crate__version//" targets.
21 #
22 # Prefer access through "//third_party/rust/cargo", which limits external
23 # visibility to explicit Cargo.toml dependencies.
24 "//visibility:public",
25])
26
27licenses([
28 "notice", # MIT from expression "MIT"
29])
30
31# Generated Targets
32
33# Unsupported target "body" with type "bench" omitted
34
35# Unsupported target "connect" with type "bench" omitted
36
37# Unsupported target "end_to_end" with type "bench" omitted
38
39# Unsupported target "pipeline" with type "bench" omitted
40
41# Unsupported target "server" with type "bench" omitted
42
43# Unsupported target "client" with type "example" omitted
44
45# Unsupported target "client_json" with type "example" omitted
46
47# Unsupported target "echo" with type "example" omitted
48
49# Unsupported target "gateway" with type "example" omitted
50
51# Unsupported target "hello" with type "example" omitted
52
53# Unsupported target "http_proxy" with type "example" omitted
54
55# Unsupported target "multi_server" with type "example" omitted
56
57# Unsupported target "params" with type "example" omitted
58
59# Unsupported target "send_file" with type "example" omitted
60
61# Unsupported target "service_struct_impl" with type "example" omitted
62
63# Unsupported target "single_threaded" with type "example" omitted
64
65# Unsupported target "state" with type "example" omitted
66
67# Unsupported target "tower_client" with type "example" omitted
68
69# Unsupported target "tower_server" with type "example" omitted
70
71# Unsupported target "upgrades" with type "example" omitted
72
73# Unsupported target "web_api" with type "example" omitted
74
75rust_library(
76 name = "hyper",
77 srcs = glob(["**/*.rs"]),
78 aliases = {
79 },
80 crate_features = [
81 "default",
82 "runtime",
83 "socket2",
84 "stream",
85 "tcp",
86 ],
87 crate_root = "src/lib.rs",
88 crate_type = "lib",
89 data = [],
90 edition = "2018",
91 rustc_flags = [
92 "--cap-lints=allow",
93 ],
94 tags = [
95 "cargo-raze",
96 "manual",
97 ],
98 version = "0.13.10",
99 # buildifier: leave-alone
100 deps = [
101 "@raze__bytes__0_5_6//:bytes",
102 "@raze__futures_channel__0_3_15//:futures_channel",
103 "@raze__futures_core__0_3_15//:futures_core",
104 "@raze__futures_util__0_3_15//:futures_util",
105 "@raze__h2__0_2_7//:h2",
106 "@raze__http__0_2_4//:http",
107 "@raze__http_body__0_3_1//:http_body",
108 "@raze__httparse__1_4_1//:httparse",
109 "@raze__httpdate__0_3_2//:httpdate",
110 "@raze__itoa__0_4_7//:itoa",
111 "@raze__pin_project__1_0_7//:pin_project",
112 "@raze__socket2__0_3_19//:socket2",
113 "@raze__tokio__0_2_25//:tokio",
114 "@raze__tower_service__0_3_1//:tower_service",
115 "@raze__tracing__0_1_26//:tracing",
116 "@raze__want__0_3_0//:want",
117 ] + selects.with_or({
118 # cfg(any(target_os = "linux", target_os = "macos"))
119 (
120 "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
121 ): [
122 ],
123 "//conditions:default": [],
124 }),
125)
126
127# Unsupported target "client" with type "test" omitted
128
129# Unsupported target "integration" with type "test" omitted
130
131# Unsupported target "server" with type "test" omitted