[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.0"
[dependencies.futures-core]
default-features = false
version = "0.3.28"
[dependencies.futures-util]
default-features = false
version = "0.3.28"
[dependencies.http]
version = "1"
[dependencies.mime_guess]
default-features = false
optional = true
version = "2.0"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.sync_wrapper]
features = ["futures"]
version = "1.0"
[dependencies.tower-service]
version = "0.3"
[dependencies.url]
version = "2.4"
[[example]]
name = "blocking"
path = "examples/blocking.rs"
required-features = ["blocking"]
[[example]]
name = "form"
path = "examples/form.rs"
[[example]]
name = "h3_simple"
path = "examples/h3_simple.rs"
[[example]]
name = "json_dynamic"
path = "examples/json_dynamic.rs"
required-features = ["json"]
[[example]]
name = "json_typed"
path = "examples/json_typed.rs"
required-features = ["json"]
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "tor_socks"
path = "examples/tor_socks.rs"
required-features = ["socks"]
[features]
__internal_proxy_sys_no_cache = []
__rustls = ["dep:hyper-rustls", "dep:tokio-rustls", "dep:rustls", "__tls", "dep:rustls-pemfile", "dep:rustls-pki-types"]
__rustls-ring = ["hyper-rustls?/ring", "tokio-rustls?/ring", "rustls?/ring", "quinn?/ring"]
__tls = ["dep:rustls-pemfile", "tokio/io-util"]
blocking = ["dep:futures-channel", "futures-channel?/sink", "futures-util/io", "futures-util/sink", "tokio/sync"]
brotli = ["dep:async-compression", "async-compression?/brotli", "dep:tokio-util"]
charset = ["dep:encoding_rs"]
cookies = ["dep:cookie_crate", "dep:cookie_store"]
default = ["default-tls", "charset", "http2", "macos-system-configuration"]
default-tls = ["dep:hyper-tls", "dep:native-tls-crate", "__tls", "dep:tokio-native-tls"]
deflate = ["dep:async-compression", "async-compression?/zlib", "dep:tokio-util"]
gzip = ["dep:async-compression", "async-compression?/gzip", "dep:tokio-util"]
hickory-dns = ["dep:hickory-resolver"]
http2 = ["h2", "hyper/http2", "hyper-util/http2", "hyper-rustls?/http2"]
http3 = ["rustls-tls-manual-roots", "dep:h3", "dep:h3-quinn", "dep:quinn", "dep:slab", "dep:futures-channel"]
json = ["dep:serde_json"]
macos-system-configuration = ["dep:system-configuration"]
multipart = ["dep:mime_guess"]
native-tls = ["default-tls"]
native-tls-alpn = ["native-tls", "native-tls-crate?/alpn", "hyper-tls?/alpn"]
native-tls-vendored = ["native-tls", "native-tls-crate?/vendored"]
rustls-tls = ["rustls-tls-webpki-roots"]
rustls-tls-manual-roots = ["rustls-tls-manual-roots-no-provider", "__rustls-ring"]
rustls-tls-manual-roots-no-provider = ["__rustls"]
rustls-tls-native-roots = ["rustls-tls-native-roots-no-provider", "__rustls-ring"]
rustls-tls-native-roots-no-provider = ["dep:rustls-native-certs", "hyper-rustls?/native-tokio", "__rustls"]
rustls-tls-no-provider = ["rustls-tls-manual-roots-no-provider"]
rustls-tls-webpki-roots = ["rustls-tls-webpki-roots-no-provider", "__rustls-ring"]
rustls-tls-webpki-roots-no-provider = ["dep:webpki-roots", "hyper-rustls?/webpki-tokio", "__rustls"]
socks = ["dep:tokio-socks"]
stream = ["tokio/fs", "dep:tokio-util", "dep:wasm-streams"]
trust-dns = []
zstd = ["dep:async-compression", "async-compression?/zstd", "dep:tokio-util"]
[lib]
name = "reqwest"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(reqwest_unstable)"]
level = "warn"
priority = 0
[package]
authors = ["Sean McArthur <sean@seanmonstar.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-client", "wasm"]
description = "higher level HTTP client library"
documentation = "https://docs.rs/reqwest"
edition = "2021"
keywords = ["http", "request", "client"]
license = "MIT OR Apache-2.0"
name = "reqwest"
readme = "README.md"
repository = "https://github.com/seanmonstar/reqwest"
rust-version = "1.63.0"
version = "0.12.9"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--cfg", "reqwest_unstable"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[package.metadata.playground]
features = ["blocking", "cookies", "json", "multipart"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-compression]
default-features = false
features = ["tokio"]
optional = true
version = "0.4.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_crate]
optional = true
package = "cookie"
version = "0.18.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_store]
optional = true
version = "0.21.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.encoding_rs]
optional = true
version = "0.8"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-channel]
optional = true
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h2]
optional = true
version = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3]
optional = true
version = "0.0.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3-quinn]
optional = true
version = "0.0.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver]
features = ["tokio-runtime"]
optional = true
version = "0.24"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body-util]
version = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
features = ["http1", "client"]
version = "1.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-rustls]
default-features = false
features = ["http1", "tls12"]
optional = true
version = "0.27.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-tls]
optional = true
version = "0.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-util]
features = ["http1", "client", "client-legacy", "tokio"]
version = "0.1.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ipnet]
version = "2.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.log]
version = "0.4.17"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime]
version = "0.3.16"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.native-tls-crate]
optional = true
package = "native-tls"
version = "0.2.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.once_cell]
version = "1.18"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.percent-encoding]
version = "2.3"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pin-project-lite]
version = "0.2.11"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.quinn]
default-features = false
features = ["rustls", "runtime-tokio"]
optional = true
version = "0.11.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
default-features = false
features = ["std", "tls12"]
optional = true
version = "0.23.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-native-certs]
optional = true
version = "0.8.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-pemfile]
optional = true
version = "2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-pki-types]
features = ["alloc"]
optional = true
version = "1.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.slab]
optional = true
version = "0.4.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
default-features = false
features = ["net", "time"]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-native-tls]
optional = true
version = "0.3.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-rustls]
default-features = false
features = ["tls12"]
optional = true
version = "0.26"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-socks]
optional = true
version = "0.5.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
default-features = false
features = ["codec", "io"]
optional = true
version = "0.7.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-roots]
optional = true
version = "0.26.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.brotli_crate]
package = "brotli"
version = "6.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.doc-comment]
version = "0.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.env_logger]
version = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.futures-util]
default-features = false
features = ["std", "alloc"]
version = "0.3.28"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hyper]
default-features = false
features = ["http1", "http2", "client", "server"]
version = "1.1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hyper-util]
features = ["http1", "http2", "client", "client-legacy", "server-auto", "tokio"]
version = "0.1.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.libflate]
version = "2.1"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rustls]
default-features = false
features = ["ring"]
version = "0.23"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread"]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.zstd_crate]
package = "zstd"
version = "0.13"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.45"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde_json]
version = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.89"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.18"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-streams]
optional = true
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["AbortController", "AbortSignal", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", "FormData", "Blob", "BlobPropertyBag", "ServiceWorkerGlobalScope", "RequestCredentials", "File", "ReadableStream"]
version = "0.3.28"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
features = ["serde-serialize"]
version = "0.2.89"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.system-configuration]
optional = true
version = "0.6.0"
[target."cfg(windows)".dependencies.windows-registry]
version = "0.2"
[[test]]
name = "badssl"
path = "tests/badssl.rs"
[[test]]
name = "blocking"
path = "tests/blocking.rs"
required-features = ["blocking"]
[[test]]
name = "brotli"
path = "tests/brotli.rs"
required-features = ["brotli", "stream"]
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "cookie"
path = "tests/cookie.rs"
required-features = ["cookies"]
[[test]]
name = "deflate"
path = "tests/deflate.rs"
required-features = ["deflate", "stream"]
[[test]]
name = "gzip"
path = "tests/gzip.rs"
required-features = ["gzip", "stream"]
[[test]]
name = "multipart"
path = "tests/multipart.rs"
required-features = ["multipart"]
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[[test]]
name = "redirect"
path = "tests/redirect.rs"
[[test]]
name = "timeouts"
path = "tests/timeouts.rs"
[[test]]
name = "upgrade"
path = "tests/upgrade.rs"
[[test]]
name = "wasm_simple"
path = "tests/wasm_simple.rs"
[[test]]
name = "zstd"
path = "tests/zstd.rs"
required-features = ["zstd", "stream"]