# 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" rust-version = "1.63.0" name = "reqwest-impersonate" version = "0.11.91" authors = ["0x676e67 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An intuitive and robust Rust HTTP/WebSocket Client featuring TLS/JA3/JA4/HTTP2 fingerprint impersonate" documentation = "https://docs.rs/reqwest-impersonate" readme = "README.md" keywords = [ "http", "request", "client", "websocket", "ja3", ] categories = [ "web-programming::http-client", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/0x676e67/reqwest-impersonate" [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", ] [lib] name = "reqwest_impersonate" path = "src/lib.rs" [[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 = "impersonate" path = "examples/impersonate.rs" required-features = [ "blocking", "socks", "cookies", "zstd", "hickory-dns", ] [[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 = "set_local_address" path = "examples/set_local_address.rs" [[example]] name = "set_proxies" path = "examples/set_proxies.rs" required-features = [ "blocking", "socks", "cookies", "zstd", "hickory-dns", "socks", ] [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "tor_socks" path = "examples/tor_socks.rs" required-features = ["socks"] [[example]] name = "websocket" path = "examples/websocket.rs" required-features = [ "websocket", "blocking", "socks", "cookies", ] [[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"] [[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"] [[test]] name = "gzip" path = "tests/gzip.rs" required-features = ["gzip"] [[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" [dependencies.base64] version = "0.22" [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] __boring = [ "boring", "tokio-boring", "hyper-boring", "__tls", "boring-sys", "foreign-types", ] __browser_common = [ "brotli", "gzip", ] __impersonate = [ "__boring", "__browser_common", ] __internal_proxy_sys_no_cache = [] __rustls = [ "hyper-rustls", "tokio-rustls", "rustls", "__tls", "rustls-pemfile", ] __tls = [] blocking = [ "futures-util/io", "tokio/rt-multi-thread", "tokio/sync", ] boring-tls = ["__boring"] brotli = [ "async-compression", "async-compression/brotli", "tokio-util", ] cookies = [ "cookie_crate", "cookie_store", ] default = [ "boring-tls", "impersonate", ] default-tls = [ "hyper-tls", "native-tls-crate", "__tls", "tokio-native-tls", ] deflate = [ "async-compression", "async-compression/deflate", "tokio-util", ] gzip = [ "async-compression", "async-compression/gzip", "tokio-util", ] hickory-dns = ["hickory-resolver"] http3 = [ "rustls-tls-manual-roots", "h3", "h3-quinn", "quinn", "futures-channel", ] impersonate = ["__impersonate"] 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", ] 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/fs", "tokio-util", "wasm-streams", ] websocket = [ "async-tungstenite", "tungstenite", "tokio-util/compat", "impersonate", ] zstd = [ "async-compression", "async-compression/zstd", "tokio-util", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-compression] version = "0.4.0" features = ["tokio"] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-tungstenite] version = "0.23.0" optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.boring] version = "2" optional = true package = "boring-imp" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.boring-sys] version = "2" optional = true package = "boring-sys-imp" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_crate] version = "0.18" optional = true package = "cookie" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.cookie_store] version = "0.21" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.encoding_rs] version = "0.8" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.foreign-types] version = "0.5.0" 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.5.0" package = "h2_imp" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3] version = "0.0.3" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.h3-quinn] version = "0.0.4" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver] version = "0.24" features = ["tokio-runtime"] optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.http-body] version = "0.4.6" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper] version = "0.14" features = [ "tcp", "http1", "http2", "client", "runtime", ] default-features = false package = "hyper_imp" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-boring] version = "2" optional = true package = "hyper-boring-imp" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-rustls] version = "0.24.0" optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.hyper-tls] version = "0.5" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.ipnet] version = "2.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.log] version = "0.4" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime] version = "0.3.16" [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" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.percent-encoding] version = "2.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.pin-project-lite] version = "0.2.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.quinn] version = "0.10" features = [ "tls-rustls", "ring", "runtime-tokio", ] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls] version = "0.21.6" features = ["dangerous_configuration"] optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-native-certs] version = "0.6" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls-pemfile] version = "1.0" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1" features = [ "net", "time", ] default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-boring] version = "2" optional = true package = "tokio-boring-imp" [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.24" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-socks] version = "0.5.1" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util] version = "0.7" features = [ "codec", "io", ] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tungstenite] version = "0.20" features = ["handshake"] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.webpki-roots] version = "0.25" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.brotli_crate] version = "3.3.0" 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.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.hyper] version = "0.14.30" features = [ "tcp", "stream", "http1", "http2", "client", "server", "runtime", ] default-features = false package = "hyper_imp" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.libflate] version = "2.0.0" [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.45" [target.'cfg(target_arch = "wasm32")'.dependencies.serde_json] version = "1.0" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.68" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.18" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-streams] version = "0.3" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.25" features = [ "AbortController", "AbortSignal", "Headers", "Request", "RequestInit", "RequestMode", "Response", "Window", "FormData", "Blob", "BlobPropertyBag", "ServiceWorkerGlobalScope", "RequestCredentials", "File", "ReadableStream", ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen] version = "0.2.68" features = ["serde-serialize"] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3" [target.'cfg(target_os = "macos")'.dependencies.system-configuration] version = "0.5.1" [target."cfg(windows)".dependencies.winreg] version = "0.50.0"