BREAKING CHANGE: `Method`, `Request`, `Response`, `StatusCode`, `Version`, and `Uri` have been replaced with types from the `http` crate. The `hyper::header` module is gone for now. Removed `Client::get`, since it needed to construct a `Request<B>` with an empty body. Just use `Client::request` instead. Removed `compat` cargo feature, and `compat` related API.
50 lines
989 B
TOML
50 lines
989 B
TOML
[package]
|
|
|
|
name = "hyper"
|
|
version = "0.12.0-pre.0" # 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"]
|
|
|
|
publish = false # pre
|
|
|
|
include = [
|
|
"Cargo.toml",
|
|
"LICENSE",
|
|
"src/**/*"
|
|
]
|
|
|
|
[dependencies]
|
|
base64 = "0.9"
|
|
bytes = "0.4.4"
|
|
futures = "0.1.17"
|
|
futures-cpupool = "0.1.6"
|
|
http = "0.1.5"
|
|
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.11"
|
|
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]
|
|
nightly = []
|