Debian Codegraph @

third_party/rust/hyper/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 name = "hyper"
15 version = "0.14.24"
16 authors = ["Sean McArthur <[email protected]>"]
17 include = [
18 "Cargo.toml",
19 "LICENSE",
20 "src/**/*",
21 ]
22 description = "A fast and correct HTTP library."
23 homepage = "https://hyper.rs"
24 documentation = "https://docs.rs/hyper"
25 readme = "README.md"
26 keywords = [
27 "http",
28 "hyper",
29 "hyperium",
30 ]
31 categories = [
32 "network-programming",
33 "web-programming::http-client",
34 "web-programming::http-server",
35 ]
36 license = "MIT"
37 repository = "https://github.com/hyperium/hyper"
38
39 [package.metadata.docs.rs]
40 features = [
41 "ffi",
42 "full",
43 ]
44 rustdoc-args = [
45 "--cfg",
46 "docsrs",
47 "--cfg",
48 "hyper_unstable_ffi",
49 ]
50
51 [package.metadata.playground]
52 features = ["full"]
53
54 [profile.bench]
55 codegen-units = 1
56 incremental = false
57
58 [profile.release]
59 codegen-units = 1
60 incremental = false
61
62 [[example]]
63 name = "client"
64 path = "examples/client.rs"
65 required-features = ["full"]
66
67 [[example]]
68 name = "client_json"
69 path = "examples/client_json.rs"
70 required-features = ["full"]
71
72 [[example]]
73 name = "echo"
74 path = "examples/echo.rs"
75 required-features = ["full"]
76
77 [[example]]
78 name = "gateway"
79 path = "examples/gateway.rs"
80 required-features = ["full"]
81
82 [[example]]
83 name = "hello"
84 path = "examples/hello.rs"
85 required-features = ["full"]
86
87 [[example]]
88 name = "http_proxy"
89 path = "examples/http_proxy.rs"
90 required-features = ["full"]
91
92 [[example]]
93 name = "multi_server"
94 path = "examples/multi_server.rs"
95 required-features = ["full"]
96
97 [[example]]
98 name = "params"
99 path = "examples/params.rs"
100 required-features = ["full"]
101
102 [[example]]
103 name = "send_file"
104 path = "examples/send_file.rs"
105 required-features = ["full"]
106
107 [[example]]
108 name = "service_struct_impl"
109 path = "examples/service_struct_impl.rs"
110 required-features = ["full"]
111
112 [[example]]
113 name = "single_threaded"
114 path = "examples/single_threaded.rs"
115 required-features = ["full"]
116
117 [[example]]
118 name = "state"
119 path = "examples/state.rs"
120 required-features = ["full"]
121
122 [[example]]
123 name = "tower_client"
124 path = "examples/tower_client.rs"
125 required-features = ["full"]
126
127 [[example]]
128 name = "tower_server"
129 path = "examples/tower_server.rs"
130 required-features = ["full"]
131
132 [[example]]
133 name = "upgrades"
134 path = "examples/upgrades.rs"
135 required-features = ["full"]
136
137 [[example]]
138 name = "web_api"
139 path = "examples/web_api.rs"
140 required-features = ["full"]
141
142 [[test]]
143 name = "client"
144 path = "tests/client.rs"
145 required-features = ["full"]
146
147 [[test]]
148 name = "integration"
149 path = "tests/integration.rs"
150 required-features = ["full"]
151
152 [[test]]
153 name = "server"
154 path = "tests/server.rs"
155 required-features = ["full"]
156
157 [[bench]]
158 name = "body"
159 path = "benches/body.rs"
160 required-features = ["full"]
161
162 [[bench]]
163 name = "connect"
164 path = "benches/connect.rs"
165 required-features = ["full"]
166
167 [[bench]]
168 name = "end_to_end"
169 path = "benches/end_to_end.rs"
170 required-features = ["full"]
171
172 [[bench]]
173 name = "pipeline"
174 path = "benches/pipeline.rs"
175 required-features = ["full"]
176
177 [[bench]]
178 name = "server"
179 path = "benches/server.rs"
180 required-features = ["full"]
181
182 [dependencies.bytes]
183 version = "1"
184
185 [dependencies.futures-channel]
186 version = "0.3"
187
188 [dependencies.futures-core]
189 version = "0.3"
190 default-features = false
191
192 [dependencies.futures-util]
193 version = "0.3"
194 default-features = false
195
196 [dependencies.h2]
197 version = "0.3.9"
198 optional = true
199
200 [dependencies.http]
201 version = "0.2"
202
203 [dependencies.http-body]
204 version = "0.4"
205
206 [dependencies.httparse]
207 version = "1.8"
208
209 [dependencies.httpdate]
210 version = "1.0"
211
212 [dependencies.itoa]
213 version = "1"
214
215 [dependencies.libc]
216 version = "0.2"
217 optional = true
218
219 [dependencies.pin-project-lite]
220 version = "0.2.4"
221
222 [dependencies.socket2]
223 version = "0.4.7"
224 features = ["all"]
225 optional = true
226
227 [dependencies.tokio]
228 version = "1"
229 features = ["sync"]
230
231 [dependencies.tower-service]
232 version = "0.3"
233
234 [dependencies.tracing]
235 version = "0.1"
236 features = ["std"]
237 default-features = false
238
239 [dependencies.want]
240 version = "0.3"
241
242 [dev-dependencies.futures-util]
243 version = "0.3"
244 features = ["alloc"]
245 default-features = false
246
247 [dev-dependencies.matches]
248 version = "0.1"
249
250 [dev-dependencies.num_cpus]
251 version = "1.0"
252
253 [dev-dependencies.pretty_env_logger]
254 version = "0.4"
255
256 [dev-dependencies.serde]
257 version = "1.0"
258 features = ["derive"]
259
260 [dev-dependencies.serde_json]
261 version = "1.0"
262
263 [dev-dependencies.spmc]
264 version = "0.3"
265
266 [dev-dependencies.tokio]
267 version = "1"
268 features = [
269 "fs",
270 "macros",
271 "io-std",
272 "io-util",
273 "rt",
274 "rt-multi-thread",
275 "sync",
276 "time",
277 "test-util",
278 ]
279
280 [dev-dependencies.tokio-test]
281 version = "0.4"
282
283 [dev-dependencies.tokio-util]
284 version = "0.7"
285 features = ["codec"]
286
287 [dev-dependencies.tower]
288 version = "0.4"
289 features = [
290 "make",
291 "util",
292 ]
293
294 [dev-dependencies.url]
295 version = "2.2"
296
297 [features]
298 __internal_happy_eyeballs_tests = []
299 client = []
300 default = []
301 ffi = ["libc"]
302 full = [
303 "client",
304 "http1",
305 "http2",
306 "server",
307 "stream",
308 "runtime",
309 ]
310 http1 = []
311 http2 = ["h2"]
312 nightly = []
313 runtime = [
314 "tcp",
315 "tokio/rt",
316 "tokio/time",
317 ]
318 server = []
319 stream = []
320 tcp = [
321 "socket2",
322 "tokio/net",
323 "tokio/rt",
324 "tokio/time",
325 ]
326
327 [target."cfg(any(target_os = \"linux\", target_os = \"macos\"))".dev-dependencies.pnet_datalink]
328 version = "0.27.2"