[package]
edition = "2021"
name = "httpclienty"
version = "0.1.1"
authors = ["Bernard van Gastel <bvgastel@bitpowder.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client library based on hyper and tokio, with support for TLS/HTTPS."
homepage = "https://www.bitpowder.com/libs/indigo/"
readme = false
keywords = ["http"]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://gitlab.com/bitpowder/indigo-ng"
[lib]
name = "httpclienty"
path = "src/lib.rs"
[dependencies.bstr]
version = "^1.0"
features = ["std"]
default-features = false
[dependencies.buildinfy]
version = "^0.1.4"
[dependencies.bytes]
version = "^1"
[dependencies.futures]
version = "^0.3"
[dependencies.http-body-util]
version = "^0.1"
[dependencies.hyper]
version = "^1.0"
features = [
"client",
"http1",
]
[dependencies.hyper-util]
version = "^0.1"
features = [
"client-legacy",
"http1",
"tokio",
]
[dependencies.log]
version = "^0.4"
features = ["std"]
[dependencies.miniz_oxide]
version = "^0.7"
[dependencies.rustls-native-certs]
version = "^0.7"
optional = true
[dependencies.tokio]
version = "^1"
features = [
"signal",
"rt-multi-thread",
"macros",
"io-util",
"parking_lot",
"time",
"test-util",
]
[dependencies.tokio-rustls]
version = "^0.26"
features = [
"logging",
"tls12",
"ring",
]
optional = true
default-features = false
[dependencies.tokio-stream]
version = "^0.1"
[dependencies.tokio-util]
version = "^0.7"
features = ["codec"]
[features]
default = [
"tls",
"http2",
"server",
]
http2 = [
"hyper/http2",
"hyper-util/http2",
]
server = [
"hyper/server",
"hyper-util/server-auto",
"hyper-util/server",
]
tls = [
"tokio-rustls",
"rustls-native-certs",
]