http-client-2 6.6.3

Types and traits for http clients.
[dependencies.async-h1-2]
optional = true
package = "async-h1-2"
version = "2.4.0"

[dependencies.async-native-tls]
optional = true
version = "0.5"

[dependencies.async-std]
default-features = false
optional = true
version = "1.13"

[dependencies.async-tls]
optional = true
version = "0.13.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.cfg-if]
version = "1.0"

[dependencies.dashmap]
optional = true
version = "6.1.0"

[dependencies.deadpool]
optional = true
version = "0.7.0"

[dependencies.futures]
optional = true
version = "0.3.31"

[dependencies.futures-util]
features = ["io"]
optional = true
version = "0.3.31"

[dependencies.http_types]
package = "http-types-2"
version = "3.1.0"

[dependencies.hyper]
features = ["client", "http1"]
optional = true
version = "1.6.0"

[dependencies.hyper-tls]
optional = true
version = "0.6.0"

[dependencies.log]
version = "0.4"

[dependencies.rustls_crate]
optional = true
package = "rustls"
version = "0.23.29"

[dependencies.tokio]
features = ["time"]
optional = true
version = "1.46.1"

[dev-dependencies.async-std]
features = ["unstable", "attributes"]
version = "1.13.0"

[dev-dependencies.getrandom]
features = ["js"]
version = "0.2.16"

[dev-dependencies.mockito]
version = "1.7.0"

[dev-dependencies.portpicker]
version = "0.1.1"

[dev-dependencies.serde]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tide]
default-features = false
features = ["h1-server"]
version = "0.16.0"

[dev-dependencies.tide-rustls]
version = "0.3.0"

[dev-dependencies.tokio]
features = ["macros"]
version = "1.46.1"

[[example]]
name = "print_client_debug"
path = "examples/print_client_debug.rs"

[features]
curl_client = ["isahc", "async-std"]
default = ["h1_client", "native-tls"]
docs = ["h1_client", "curl_client", "wasm_client", "hyper_client"]
h1_client = ["async-h1-2", "async-std", "dashmap", "deadpool", "futures"]
h1_client_rustls = ["h1_client", "rustls"]
hyper_client = ["hyper", "hyper-tls", "http_types/hyperium_http", "futures-util", "tokio"]
native-tls = ["async-native-tls"]
native_client = ["curl_client", "wasm_client"]
rustls = ["async-tls", "rustls_crate"]
unstable-config = []
wasm_client = ["js-sys", "web-sys", "wasm-bindgen", "wasm-bindgen-futures", "futures"]

[lib]
name = "http_client_2"
path = "src/lib.rs"

[package]
authors = ["Yoshua Wuyts <yoshuawuyts@gmail.com>", "dignifiedquire <me@dignifiedquire.com>", "Jeremiah Senkpiel <fishrock123@rocketmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "web-programming", "web-programming::http-client", "web-programming::websocket"]
description = "Types and traits for http clients."
documentation = "https://docs.rs/http-client"
edition = "2018"
keywords = ["http", "service", "client", "futures", "async"]
license = "MIT OR Apache-2.0"
name = "http-client-2"
readme = "README.md"
repository = "https://github.com/http-rs/http-client"
version = "6.6.3"

[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", 'feature="docs"']

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.isahc]
default-features = false
features = ["http2"]
optional = true
version = "1.7.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.futures]
default-features = false
optional = true
version = "0.3.31"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
optional = true
version = "0.3.74"

[target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper]
features = ["futures"]
version = "0.6.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
optional = true
version = "0.2.99"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.49"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["AbortSignal", "Headers", "ObserverCallback", "ReferrerPolicy", "Request", "RequestCache", "RequestCredentials", "RequestInit", "RequestMode", "RequestRedirect", "Response", "Window", "WorkerGlobalScope"]
optional = true
version = "0.3.74"

[[test]]
name = "test"
path = "tests/test.rs"