blob: d1cd9c3da7c84cfb119ea71d8fa5a700514b28f7 [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "hyper"
version = "0.14.32"
authors = ["Sean McArthur <[email protected]>"]
build = false
include = [
"Cargo.toml",
"LICENSE",
"src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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 = [
"ffi",
"full",
]
rustdoc-args = [
"--cfg",
"docsrs",
"--cfg",
"hyper_unstable_ffi",
]
[package.metadata.playground]
features = ["full"]
[features]
__internal_happy_eyeballs_tests = []
backports = []
client = []
default = []
deprecated = []
ffi = ["libc"]
full = [
"client",
"http1",
"http2",
"server",
"stream",
"runtime",
]
http1 = []
http2 = ["h2"]
nightly = []
runtime = [
"tcp",
"tokio/rt",
"tokio/time",
]
server = []
stream = []
tcp = [
"socket2",
"tokio/net",
"tokio/rt",
"tokio/time",
]
[lib]
name = "hyper"
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-core]
version = "0.3"
default-features = false
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.h2]
version = "0.3.24"
optional = true
[dependencies.http]
version = "0.2"
[dependencies.http-body]
version = "0.4"
[dependencies.httparse]
version = "1.8"
[dependencies.httpdate]
version = "1.0"
[dependencies.itoa]
version = "1"
[dependencies.libc]
version = "0.2"
optional = true
[dependencies.pin-project-lite]
version = "0.2.4"
[dependencies.socket2]
version = ">=0.4.7, <0.6.0"
features = ["all"]
optional = true
[dependencies.tokio]
version = "1.27"
features = ["sync"]
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.want]
version = "0.3"
[dev-dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false
[dev-dependencies.matches]
version = "0.1"
[dev-dependencies.num_cpus]
version = "1.0"
[dev-dependencies.pretty_env_logger]
version = "0.4"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.spmc]
version = "0.3"
[dev-dependencies.tokio]
version = "1.27"
features = [
"fs",
"macros",
"io-std",
"io-util",
"rt",
"rt-multi-thread",
"sync",
"time",
"test-util",
]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dev-dependencies.tower]
version = "0.4"
features = [
"make",
"util",
]
default-features = false
[dev-dependencies.url]
version = "2.2"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies.pnet_datalink]
version = "0.27.2"
[profile.bench]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
incremental = false