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