workflow-http 0.19.0

HTTP client for native and WASM32 targets.
Documentation
[package]
name = "workflow-http"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true
keywords = ["http","request","wasm"]
categories = ["web-programming::http-client"]
exclude = ["/.*", "/test"]
description = """
HTTP client for native and WASM32 targets.
"""

[lib]
crate-type = ["cdylib", "lib"]
doctest = false

[dependencies]
workflow-core.workspace = true
cfg-if.workspace = true
thiserror.workspace = true
serde_json.workspace = true
serde.workspace = true
wasm-bindgen.workspace = true
reqwest.workspace = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio.workspace = true


[features]
default = ["reqwest/default"]

blocking = ["reqwest/blocking"]
http2 = ["reqwest/http2"]
http3 = ["reqwest/http3"]

native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]

# reqwest 0.13 unified its rustls features; cert verification uses the OS
# platform verifier (rustls-platform-verifier) rather than a bundled root set.
rustls = ["reqwest/rustls"]
rustls-no-provider = ["reqwest/rustls-no-provider"]

charset = ["reqwest/charset"]
cookies = ["reqwest/cookies"]

gzip = ["reqwest/gzip"]
brotli = ["reqwest/brotli"]
zstd = ["reqwest/zstd"]
deflate = ["reqwest/deflate"]

socks = ["reqwest/socks"]

# Use the system's proxy configuration (cross-platform in reqwest 0.13).
system-proxy = ["reqwest/system-proxy"]