[dependencies.base64]
version = "0.22"
[dependencies.brotli-decompressor]
optional = true
version = "4.0.0"
[dependencies.cookie]
default-features = false
optional = true
version = "0.18"
[dependencies.cookie_store]
default-features = false
features = ["preserve_order"]
optional = true
version = "0.21"
[dependencies.encoding_rs]
optional = true
version = "0.8"
[dependencies.flate2]
optional = true
version = "1.0.22"
[dependencies.hootbin]
optional = true
version = "0.1.5"
[dependencies.http]
optional = true
version = "1.1"
[dependencies.http-02]
optional = true
package = "http"
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.native-tls]
optional = true
version = "0.2"
[dependencies.once_cell]
version = "1"
[dependencies.rustls]
default-features = false
features = ["ring", "logging", "std", "tls12"]
optional = true
version = "0.23.5"
[dependencies.rustls-native-certs]
optional = true
version = "0.7"
[dependencies.rustls-pki-types]
optional = true
version = "1"
[dependencies.serde]
optional = true
version = "1"
[dependencies.serde_json]
optional = true
version = ">=1.0.97"
[dependencies.socks]
optional = true
version = "0.3"
[dependencies.url]
version = "2"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.env_logger]
default-features = false
features = ["humantime"]
version = "<=0.9"
[dev-dependencies.rustls]
default-features = false
features = ["std", "ring"]
version = "0.23.5"
[dev-dependencies.rustls-pemfile]
version = "2.0"
[dev-dependencies.serde]
features = ["derive"]
version = "1"
[[example]]
name = "count-bytes"
path = "examples/count-bytes.rs"
[[example]]
name = "cureq"
path = "examples/cureq/main.rs"
required-features = ["charset", "cookies", "socks-proxy", "native-tls"]
[[example]]
name = "custom-tls"
path = "examples/custom-tls.rs"
[[example]]
name = "ipv6"
path = "examples/ipv6.rs"
[[example]]
name = "smoke-test"
path = "examples/smoke-test/main.rs"
[[example]]
name = "tls_config"
path = "examples/tls_config.rs"
required-features = ["tls", "native-tls"]
[features]
brotli = ["dep:brotli-decompressor"]
charset = ["dep:encoding_rs"]
cookies = ["dep:cookie", "dep:cookie_store"]
default = ["tls", "gzip"]
gzip = ["dep:flate2"]
http-crate = ["dep:http"]
http-interop = ["dep:http-02"]
json = ["dep:serde", "dep:serde_json"]
native-certs = ["dep:rustls-native-certs"]
native-tls = ["dep:native-tls"]
proxy-from-env = []
socks-proxy = ["dep:socks"]
testdeps = ["dep:hootbin"]
tls = ["dep:webpki-roots", "dep:rustls", "dep:rustls-pki-types"]
[lib]
name = "ureq"
path = "src/lib.rs"
[package]
authors = ["Martin Algesten <martin@algesten.se>", "Jacob Hoffman-Andrews <ureq@hoffman-andrews.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-client"]
description = "Simple, safe HTTP client"
edition = "2018"
exclude = ["/cargo_deny.sh", "/deny.toml", "/test.sh"]
keywords = ["web", "request", "https", "http", "client"]
license = "MIT OR Apache-2.0"
name = "ureq"
readme = "README.md"
repository = "https://github.com/algesten/ureq"
rust-version = "1.63"
version = "2.10.1"
[package.metadata.docs.rs]
features = ["tls", "native-tls", "json", "charset", "cookies", "socks-proxy", "gzip", "brotli", "http-interop", "http-crate"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "https-agent"
path = "tests/https-agent.rs"