510 lines
11 KiB
TOML
510 lines
11 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.64.0"
|
|
name = "reqwest"
|
|
version = "0.12.28"
|
|
authors = ["Sean McArthur <sean@seanmonstar.com>"]
|
|
build = false
|
|
include = [
|
|
"README.md",
|
|
"Cargo.toml",
|
|
"LICENSE-APACHE",
|
|
"LICENSE-MIT",
|
|
"src/**/*.rs",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "higher level HTTP client library"
|
|
documentation = "https://docs.rs/reqwest"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"http",
|
|
"request",
|
|
"client",
|
|
]
|
|
categories = [
|
|
"web-programming::http-client",
|
|
"wasm",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/seanmonstar/reqwest"
|
|
|
|
[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",
|
|
]
|
|
|
|
[features]
|
|
__rustls = [
|
|
"dep:hyper-rustls",
|
|
"dep:tokio-rustls",
|
|
"dep:rustls",
|
|
"__tls",
|
|
]
|
|
__rustls-ring = [
|
|
"hyper-rustls?/ring",
|
|
"tokio-rustls?/ring",
|
|
"rustls?/ring",
|
|
"quinn?/ring",
|
|
]
|
|
__tls = [
|
|
"dep:rustls-pki-types",
|
|
"tokio/io-util",
|
|
]
|
|
blocking = [
|
|
"dep:futures-channel",
|
|
"futures-channel?/sink",
|
|
"dep:futures-util",
|
|
"futures-util?/io",
|
|
"futures-util?/sink",
|
|
"tokio/sync",
|
|
]
|
|
brotli = ["tower-http/decompression-br"]
|
|
charset = [
|
|
"dep:encoding_rs",
|
|
"dep:mime",
|
|
]
|
|
cookies = [
|
|
"dep:cookie_crate",
|
|
"dep:cookie_store",
|
|
]
|
|
default = [
|
|
"default-tls",
|
|
"charset",
|
|
"http2",
|
|
"system-proxy",
|
|
]
|
|
default-tls = [
|
|
"dep:hyper-tls",
|
|
"dep:native-tls-crate",
|
|
"__tls",
|
|
"dep:tokio-native-tls",
|
|
]
|
|
deflate = ["tower-http/decompression-deflate"]
|
|
gzip = ["tower-http/decompression-gzip"]
|
|
hickory-dns = [
|
|
"dep:hickory-resolver",
|
|
"dep:once_cell",
|
|
]
|
|
http2 = [
|
|
"h2",
|
|
"hyper/http2",
|
|
"hyper-util/http2",
|
|
"hyper-rustls?/http2",
|
|
]
|
|
http3 = [
|
|
"rustls-tls-manual-roots",
|
|
"dep:h3",
|
|
"dep:h3-quinn",
|
|
"dep:quinn",
|
|
"tokio/macros",
|
|
]
|
|
json = ["dep:serde_json"]
|
|
macos-system-configuration = ["system-proxy"]
|
|
multipart = [
|
|
"dep:mime_guess",
|
|
"dep:futures-util",
|
|
]
|
|
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 = []
|
|
stream = [
|
|
"tokio/fs",
|
|
"dep:futures-util",
|
|
"dep:tokio-util",
|
|
"dep:wasm-streams",
|
|
]
|
|
system-proxy = ["hyper-util/client-proxy-system"]
|
|
trust-dns = []
|
|
zstd = ["tower-http/decompression-zstd"]
|
|
|
|
[lib]
|
|
name = "reqwest"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.base64]
|
|
version = "0.22"
|
|
|
|
[dependencies.bytes]
|
|
version = "1.2"
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3.28"
|
|
default-features = false
|
|
|
|
[dependencies.futures-util]
|
|
version = "0.3.28"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.http]
|
|
version = "1.1"
|
|
|
|
[dependencies.mime_guess]
|
|
version = "2.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.serde_urlencoded]
|
|
version = "0.7.1"
|
|
|
|
[dependencies.sync_wrapper]
|
|
version = "1.0"
|
|
features = ["futures"]
|
|
|
|
[dependencies.url]
|
|
version = "2.4"
|
|
|
|
[dev-dependencies.libc]
|
|
version = "0"
|
|
|
|
[dev-dependencies.num_cpus]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.tower]
|
|
version = "0.5.2"
|
|
features = ["limit"]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_crate]
|
|
version = "0.18.0"
|
|
optional = true
|
|
package = "cookie"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_store]
|
|
version = "0.22.0"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.encoding_rs]
|
|
version = "0.8"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-channel]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h2]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3]
|
|
version = "0.0.8"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3-quinn]
|
|
version = "0.0.10"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver]
|
|
version = "0.25"
|
|
features = ["tokio"]
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body]
|
|
version = "1"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body-util]
|
|
version = "0.1.2"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper]
|
|
version = "1.1"
|
|
features = [
|
|
"http1",
|
|
"client",
|
|
]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-rustls]
|
|
version = "0.27.0"
|
|
features = [
|
|
"http1",
|
|
"tls12",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-tls]
|
|
version = "0.6"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-util]
|
|
version = "0.1.12"
|
|
features = [
|
|
"http1",
|
|
"client",
|
|
"client-legacy",
|
|
"client-proxy",
|
|
"tokio",
|
|
]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.log]
|
|
version = "0.4.17"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime]
|
|
version = "0.3.16"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.native-tls-crate]
|
|
version = "0.2.10"
|
|
optional = true
|
|
package = "native-tls"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.once_cell]
|
|
version = "1.18"
|
|
optional = true
|
|
|
|
[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]
|
|
version = "0.11.1"
|
|
features = [
|
|
"rustls",
|
|
"runtime-tokio",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
|
|
version = "0.23.4"
|
|
features = [
|
|
"std",
|
|
"tls12",
|
|
]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-native-certs]
|
|
version = "0.8.0"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-pki-types]
|
|
version = "1.9.0"
|
|
features = ["std"]
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
|
version = "1.0"
|
|
features = [
|
|
"net",
|
|
"time",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-native-tls]
|
|
version = "0.3.0"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-rustls]
|
|
version = "0.26"
|
|
features = ["tls12"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
|
|
version = "0.7.9"
|
|
features = ["io"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower]
|
|
version = "0.5.2"
|
|
features = [
|
|
"retry",
|
|
"timeout",
|
|
"util",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
|
|
version = "0.6.8"
|
|
features = ["follow-redirect"]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-service]
|
|
version = "0.3"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-roots]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.brotli_crate]
|
|
version = "8"
|
|
package = "brotli"
|
|
|
|
[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.flate2]
|
|
version = "1.0.13"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.futures-util]
|
|
version = "0.3.28"
|
|
features = [
|
|
"std",
|
|
"alloc",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hyper]
|
|
version = "1.1.0"
|
|
features = [
|
|
"http1",
|
|
"http2",
|
|
"client",
|
|
"server",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hyper-util]
|
|
version = "0.1.12"
|
|
features = [
|
|
"http1",
|
|
"http2",
|
|
"client",
|
|
"client-legacy",
|
|
"server-auto",
|
|
"server-graceful",
|
|
"tokio",
|
|
]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
|
|
version = "1.0"
|
|
features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.zstd_crate]
|
|
version = "0.13"
|
|
package = "zstd"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
|
|
version = "0.3.77"
|
|
|
|
[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]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
|
|
version = "0.3.28"
|
|
features = [
|
|
"AbortController",
|
|
"AbortSignal",
|
|
"Headers",
|
|
"Request",
|
|
"RequestInit",
|
|
"RequestMode",
|
|
"Response",
|
|
"Window",
|
|
"FormData",
|
|
"Blob",
|
|
"BlobPropertyBag",
|
|
"ServiceWorkerGlobalScope",
|
|
"RequestCredentials",
|
|
"File",
|
|
"ReadableStream",
|
|
"RequestCache",
|
|
]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
|
|
version = "0.2.89"
|
|
features = ["serde-serialize"]
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
|
|
version = "0.3"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(reqwest_unstable)"]
|