[package]
name = "product-os-request"
version = "0.0.39"
authors = ["Jeremy de Oliveira-Kumar <eremyj@gmail.com>"]
edition = "2021"
rust-version = "1.69"
description = "Product OS : Request provides a fully featured HTTP request library combining elements of reqwest and ureq for both sync and async requests with a series of helper methods to allow for easier usage depending upon your needs for one-time or repeat usage."
readme = "readme.md"
license = "AGPL-3.0-only"
keywords = ["product-os"]
categories = []
build = false
exclude = []
include = []
autobins = true
autoexamples = true
autotests = true
autobenches = true
resolver = "2"
[dependencies]
no-std-compat = { version = "0.4.1", features = ["alloc"], optional = false }
async-trait = { version = "0.1.74", features = [], default-features = false, optional = false }
hyper = { version = "1.0.1", features = [], default-features = false, optional = true }
url = { version = "2.4.1", features = [], default-features = false, optional = true }
reqwest = { version = "0.11.22", features = [], default-features = false, optional = true }
rustls = { version = "0.21.6", features = [], default-features = false, optional = true }
tracing = { version = "0.1.29", features = [], default-features = false, optional = true }
serde = { version = "1.0.132", features = [], default-features = false, optional = true }
serde_json = { version = "1.0.73", features = [], default-features = false, optional = true }
serde_urlencoded = { version = "0.7.0", features = [], default-features = false, optional = true }
futures-core = { version = "0.3.30", features = [], default-features = false, optional = true }
bytes = { version = "1.1.0", features = [], default-features = false, optional = true }
product-os-http = { version = ">= 0.0.1", features = [], default-features = false, optional = true }
product-os-http-body = { version = ">= 0.0.1", features = [], default-features = false, optional = true }
[patch.crates-io]
product-os-http = { path = "../product-os-http", features = [], default-features = false, optional = true }
product-os-http-body = { path = "../product-os-http-body", features = [], default-features = false, optional = true }
[features]
default = ["no-std-compat/std", "std"]
method = ["product-os-http", "serde/derive"]
response = ["tracing", "product-os-http", "product-os-http-body"]
request = ["bytes", "futures-core", "tracing", "serde/derive", "method", "response", "product-os-http", "product-os-http-body"]
custom = ["no-std-compat/std", "request", "response", "method", "serde/derive", "reqwest", "reqwest/gzip", "reqwest/brotli", "reqwest/rustls-tls", "reqwest/rustls", "reqwest/cookies", "reqwest/serde_json"]
method_std = ["product-os-http/std", "serde/derive"]
response_std = ["tracing", "product-os-http/std", "product-os-http-body/std"]
request_std = ["bytes", "futures-core", "tracing", "serde/derive", "method_std", "response_std", "product-os-http/std", "product-os-http-body/std"]
std = ["no-std-compat/std", "request_std", "response_std", "method_std", "serde/derive", "reqwest", "reqwest/gzip", "reqwest/brotli", "reqwest/rustls-tls", "reqwest/rustls", "reqwest/cookies", "reqwest/serde_json"]
json = ["serde_json"]
form = ["serde_urlencoded"]
[workspace]