[package]
edition = "2018"
name = "hyper"
version = "0.13.0-alpha.2"
authors = ["Sean McArthur <sean@seanmonstar.com>"]
include = ["Cargo.toml", "LICENSE", "src/**/*"]
description = "A fast and correct HTTP library."
homepage = "https://hyper.rs"
documentation = "https://docs.rs/hyper"
readme = "README.md"
keywords = ["http", "hyper", "hyperium"]
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
license = "MIT"
repository = "https://github.com/hyperium/hyper"
[package.metadata.docs.rs]
features = ["runtime", "unstable-stream"]
[profile.bench]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
incremental = false
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["runtime"]
[[example]]
name = "client_json"
path = "examples/client_json.rs"
required-features = ["runtime", "unstable-stream"]
[[example]]
name = "echo"
path = "examples/echo.rs"
required-features = ["runtime", "unstable-stream"]
[[example]]
name = "hello"
path = "examples/hello.rs"
required-features = ["runtime"]
[[example]]
name = "multi_server"
path = "examples/multi_server.rs"
required-features = ["runtime"]
[[example]]
name = "params"
path = "examples/params.rs"
required-features = ["runtime", "unstable-stream"]
[[example]]
name = "proxy"
path = "examples/proxy.rs"
required-features = ["runtime"]
[[example]]
name = "send_file"
path = "examples/send_file.rs"
required-features = ["runtime"]
[[example]]
name = "single_threaded"
path = "examples/single_threaded.rs"
required-features = ["runtime"]
[[example]]
name = "state"
path = "examples/state.rs"
required-features = ["runtime"]
[[example]]
name = "tower_client"
path = "examples/tower_client.rs"
required-features = ["runtime"]
[[example]]
name = "tower_server"
path = "examples/tower_server.rs"
required-features = ["runtime"]
[[example]]
name = "upgrades"
path = "examples/upgrades.rs"
required-features = ["runtime"]
[[example]]
name = "web_api"
path = "examples/web_api.rs"
required-features = ["runtime", "unstable-stream"]
[[test]]
name = "client"
path = "tests/client.rs"
required-features = ["runtime", "unstable-stream"]
[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = ["runtime", "unstable-stream"]
[[test]]
name = "server"
path = "tests/server.rs"
required-features = ["runtime", "unstable-stream"]
[[bench]]
name = "end_to_end"
path = "benches/end_to_end.rs"
required-features = ["runtime"]
[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
required-features = ["runtime"]
[[bench]]
name = "server"
path = "benches/server.rs"
required-features = ["runtime", "unstable-stream"]
[dependencies.bytes]
version = "0.4.4"
[dependencies.futures-channel-preview]
version = "=0.3.0-alpha.18"
[dependencies.futures-core-preview]
version = "=0.3.0-alpha.18"
[dependencies.futures-util-preview]
version = "=0.3.0-alpha.18"
[dependencies.h2]
version = "=0.2.0-alpha.2"
[dependencies.http]
version = "0.1.15"
[dependencies.http-body]
version = "=0.2.0-alpha.1"
[dependencies.httparse]
version = "1.0"
[dependencies.iovec]
version = "0.1"
[dependencies.itoa]
version = "0.4.1"
[dependencies.log]
version = "0.4"
[dependencies.net2]
version = "0.2.32"
optional = true
[dependencies.pin-project]
version = "=0.4.0-alpha.11"
features = ["project_attr"]
[dependencies.time]
version = "0.1"
[dependencies.tokio]
version = "=0.2.0-alpha.5"
features = ["rt-full"]
optional = true
default-features = false
[dependencies.tokio-executor]
version = "=0.2.0-alpha.5"
features = ["blocking"]
[dependencies.tokio-io]
version = "=0.2.0-alpha.5"
[dependencies.tokio-net]
version = "=0.2.0-alpha.5"
features = ["tcp"]
optional = true
[dependencies.tokio-sync]
version = "=0.2.0-alpha.5"
[dependencies.tokio-timer]
version = "=0.3.0-alpha.5"
optional = true
[dependencies.tower-make]
version = "=0.3.0-alpha.2"
features = ["io"]
[dependencies.tower-service]
version = "=0.3.0-alpha.1"
[dependencies.want]
version = "0.3"
[dev-dependencies.matches]
version = "0.1"
[dev-dependencies.num_cpus]
version = "1.0"
[dev-dependencies.pretty_env_logger]
version = "0.3"
[dev-dependencies.serde]
version = "1.0"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.spmc]
version = "0.3"
[dev-dependencies.tokio]
version = "=0.2.0-alpha.5"
[dev-dependencies.tokio-fs]
version = "=0.2.0-alpha.5"
[dev-dependencies.tokio-test]
version = "=0.2.0-alpha.5"
[dev-dependencies.url]
version = "1.0"
[features]
__internal_flaky_tests = []
__internal_happy_eyeballs_tests = []
default = ["__internal_flaky_tests", "runtime"]
nightly = []
runtime = ["net2", "tokio", "tokio-net", "tokio-timer"]
unstable-stream = []