By using `AsyncWrite::write_buf`, we can avoid some copies in some cases. This especially helps throughput for chunked encoding.
53 lines
1.1 KiB
TOML
53 lines
1.1 KiB
TOML
[package]
|
|
|
|
name = "hyper"
|
|
version = "0.11.15" # don't forget to update html_root_url
|
|
description = "A modern HTTP library."
|
|
readme = "README.md"
|
|
homepage = "https://hyper.rs"
|
|
documentation = "https://docs.rs/hyper"
|
|
repository = "https://github.com/hyperium/hyper"
|
|
license = "MIT"
|
|
authors = ["Sean McArthur <sean@seanmonstar.com>"]
|
|
keywords = ["http", "hyper", "hyperium"]
|
|
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]
|
|
|
|
include = [
|
|
"Cargo.toml",
|
|
"LICENSE",
|
|
"src/**/*"
|
|
]
|
|
|
|
[dependencies]
|
|
base64 = "0.9"
|
|
bytes = "0.4.4"
|
|
futures = "0.1.17"
|
|
futures-cpupool = "0.1.6"
|
|
http = { version = "0.1", optional = true }
|
|
httparse = "1.0"
|
|
iovec = "0.1"
|
|
language-tags = "0.2"
|
|
log = "0.4"
|
|
mime = "0.3.2"
|
|
percent-encoding = "1.0"
|
|
relay = "0.1"
|
|
time = "0.1"
|
|
tokio-core = "0.1.6"
|
|
tokio-proto = { version = "0.1", optional = true }
|
|
tokio-service = "0.1"
|
|
tokio-io = "0.1"
|
|
unicase = "2.0"
|
|
|
|
[dev-dependencies]
|
|
num_cpus = "1.0"
|
|
pretty_env_logger = "0.2.0"
|
|
spmc = "0.2"
|
|
url = "1.0"
|
|
|
|
[features]
|
|
default = ["server-proto"]
|
|
nightly = []
|
|
raw_status = []
|
|
compat = [ "http" ]
|
|
server-proto = ["tokio-proto"]
|