# 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 = "2018" name = "reqwest_wasi" version = "0.11.16" authors = [ "Sean McArthur ", "Tricster ", "csh <458761603@qq.com>", ] autotests = true 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/wasmedge/reqwest" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "wasm32-wasi", "wasm32-unknown-unknown", ] [package.metadata.playground] features = [ "blocking", "cookies", "json", "multipart", ] [lib] name = "reqwest" path = "src/lib.rs" [[example]] name = "blocking" path = "examples/blocking.rs" required-features = ["blocking"] [[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 = "tor_socks" path = "examples/tor_socks.rs" required-features = ["socks"] [[example]] name = "form" path = "examples/form.rs" [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "blocking" path = "tests/blocking.rs" required-features = ["blocking"] [[test]] name = "cookie" path = "tests/cookie.rs" required-features = ["cookies"] [[test]] name = "gzip" path = "tests/gzip.rs" required-features = ["gzip"] [[test]] name = "brotli" path = "tests/brotli.rs" required-features = ["brotli"] [[test]] name = "deflate" path = "tests/deflate.rs" required-features = ["deflate"] [[test]] name = "multipart" path = "tests/multipart.rs" required-features = ["multipart"] [dependencies.base64] version = "0.21" [dependencies.bytes] version = "1.0" [dependencies.futures-core] version = "0.3.0" default-features = false [dependencies.futures-util] version = "0.3.0" default-features = false [dependencies.http] version = "0.2" [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.tower-service] version = "0.3" [dependencies.url] version = "2.2" [features] __internal_proxy_sys_no_cache = [] __rustls = [ "hyper-rustls", "tokio-rustls", "rustls", "__tls", "rustls-pemfile", ] __tls = [] blocking = [ "futures-util/io", "tokio_wasi/rt-multi-thread", "tokio_wasi/sync", ] brotli = [ "async-compression", "async-compression/brotli", "tokio-util_wasi", ] cookies = [ "cookie_crate", "cookie_store", ] default = [] default-tls = [ "hyper-tls", "native-tls-crate", "__tls", "tokio-native-tls", ] deflate = [ "async-compression", "async-compression/zlib", "tokio-util_wasi", ] gzip = [ "async-compression", "async-compression/gzip", "tokio-util_wasi", ] json = ["serde_json"] multipart = ["mime_guess"] native-tls = ["default-tls"] native-tls-alpn = [ "native-tls", "native-tls-crate/alpn", ] native-tls-vendored = [ "native-tls", "native-tls-crate/vendored", ] no-pool = [] rustls-tls = ["rustls-tls-webpki-roots"] rustls-tls-manual-roots = ["__rustls"] rustls-tls-native-roots = [ "rustls-native-certs", "__rustls", ] rustls-tls-webpki-roots = [ "webpki-roots", "__rustls", ] socks = ["tokio-socks"] stream = [ "tokio_wasi/fs", "tokio-util_wasi", "wasm-streams", ] trust-dns = ["trust-dns-resolver"] wasmedge-tls = [ "wasmedge_hyper_rustls", "wasmedge_rustls_api", "__tls", ] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.js-sys] version = "0.3.45" [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.serde_json] version = "1.0" [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen] version = "0.2.68" [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen-futures] version = "0.4.18" [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-streams] version = "0.2" optional = true [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.web-sys] version = "0.3.25" features = [ "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", "FormData", "Blob", "BlobPropertyBag", "ServiceWorkerGlobalScope", "RequestCredentials", "File", "ReadableStream", ] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen] version = "0.2.68" features = ["serde-serialize"] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test] version = "0.3" [target."cfg(target_os = \"wasi\")".dependencies.async-compression] version = "0.3.13" features = ["tokio"] optional = true default-features = false [target."cfg(target_os = \"wasi\")".dependencies.cookie_crate] version = "0.16" optional = true package = "cookie" [target."cfg(target_os = \"wasi\")".dependencies.cookie_store] version = "0.16" optional = true [target."cfg(target_os = \"wasi\")".dependencies.encoding_rs] version = "0.8" [target."cfg(target_os = \"wasi\")".dependencies.h2_wasi] version = "0.3" [target."cfg(target_os = \"wasi\")".dependencies.http-body] version = "0.4.0" [target."cfg(target_os = \"wasi\")".dependencies.hyper-rustls] version = "0.23" optional = true default-features = false [target."cfg(target_os = \"wasi\")".dependencies.hyper-tls] version = "0.5" optional = true [target."cfg(target_os = \"wasi\")".dependencies.hyper_wasi] version = "0.15" features = ["full"] default-features = false [target."cfg(target_os = \"wasi\")".dependencies.ipnet] version = "2.3" [target."cfg(target_os = \"wasi\")".dependencies.lazy_static] version = "1.4" [target."cfg(target_os = \"wasi\")".dependencies.log] version = "0.4" [target."cfg(target_os = \"wasi\")".dependencies.mime] version = "0.3.16" [target."cfg(target_os = \"wasi\")".dependencies.native-tls-crate] version = "0.2.10" optional = true package = "native-tls" [target."cfg(target_os = \"wasi\")".dependencies.once_cell] version = "1" [target."cfg(target_os = \"wasi\")".dependencies.percent-encoding] version = "2.1" [target."cfg(target_os = \"wasi\")".dependencies.pin-project-lite] version = "0.2.0" [target."cfg(target_os = \"wasi\")".dependencies.rustls] version = "0.20" features = ["dangerous_configuration"] optional = true [target."cfg(target_os = \"wasi\")".dependencies.rustls-native-certs] version = "0.6" optional = true [target."cfg(target_os = \"wasi\")".dependencies.rustls-pemfile] version = "1.0" optional = true [target."cfg(target_os = \"wasi\")".dependencies.tokio-native-tls] version = "0.3.0" optional = true [target."cfg(target_os = \"wasi\")".dependencies.tokio-rustls] version = "0.23" optional = true [target."cfg(target_os = \"wasi\")".dependencies.tokio-socks] version = "0.5.1" optional = true [target."cfg(target_os = \"wasi\")".dependencies.tokio-util_wasi] version = "0.7" features = [ "codec", "io", ] optional = true default-features = false [target."cfg(target_os = \"wasi\")".dependencies.tokio_wasi] version = "1" features = [ "net", "time", ] default-features = false [target."cfg(target_os = \"wasi\")".dependencies.trust-dns-resolver] version = "0.22" optional = true [target."cfg(target_os = \"wasi\")".dependencies.wasmedge_hyper_rustls] version = "0.1.0" optional = true [target."cfg(target_os = \"wasi\")".dependencies.wasmedge_rustls_api] version = "0.1.1" optional = true [target."cfg(target_os = \"wasi\")".dependencies.webpki-roots] version = "0.22" optional = true [target."cfg(target_os = \"wasi\")".dev-dependencies.brotli_crate] version = "3.3.0" package = "brotli" [target."cfg(target_os = \"wasi\")".dev-dependencies.doc-comment] version = "0.3" [target."cfg(target_os = \"wasi\")".dev-dependencies.env_logger] version = "0.8" [target."cfg(target_os = \"wasi\")".dev-dependencies.hyper_wasi] version = "0.15" features = [ "tcp", "http1", "client", "server", "runtime", ] default-features = false [target."cfg(target_os = \"wasi\")".dev-dependencies.libflate] version = "1.0" [target."cfg(target_os = \"wasi\")".dev-dependencies.serde] version = "1.0" features = ["derive"] [target."cfg(target_os = \"wasi\")".dev-dependencies.tokio_wasi] version = "1" features = [ "macros", "rt", ] default-features = false [target."cfg(windows)".dependencies.winreg] version = "0.10"