Cargo Features

[dependencies]
reqwest-impersonate = { version = "0.11.78", default-features = false, features = ["default-tls", "native-tls", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-manual-roots", "rustls-tls-webpki-roots", "rustls-tls-native-roots", "boring-tls", "blocking", "impersonate", "websocket", "cookies", "gzip", "brotli", "deflate", "json", "multipart", "trust-dns", "stream", "socks", "http3"] }
default = boring-tls, impersonate

These default features are set whenever reqwest-impersonate is added without default-features = false somewhere in the dependency tree.

default-tls native-tls? = __tls, hyper-tls, native-tls-crate, tokio-native-tls

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

native-tls native-tls-alpn? native-tls-vendored? = default-tls

Enables native-tls specific functionality not available by default.

native-tls-alpn = native-tls

Enables alpn of native-tls

native-tls-vendored = native-tls

Enables vendored of native-tls

rustls-tls = rustls-tls-webpki-roots
rustls-tls-manual-roots http3? = __tls, hyper-rustls, rustls, rustls-pemfile, tokio-rustls
rustls-tls-webpki-roots rustls-tls? = __tls, hyper-rustls, rustls, rustls-pemfile, tokio-rustls, webpki-roots
rustls-tls-native-roots = __tls, hyper-rustls, rustls, rustls-native-certs, rustls-pemfile, tokio-rustls
boring-tls default = __tls, boring, boring-sys, foreign-types, hyper-boring, tokio-boring
blocking

Enables io of futures-util, rt-multi-thread and sync of tokio

Affects reqwest-impersonate::blocking

impersonate default websocket? = __impersonate
websocket = async-tungstenite, impersonate, tungstenite

Enables compat of tokio-util

Affects async_impl::websocket, reqwest-impersonate::websocket

cookies = cookie_crate, cookie_store

Affects reqwest-impersonate::cookie

gzip __browser_common? = async-compression, tokio-util

Enables gzip of async-compression

brotli __browser_common? = async-compression, tokio-util

Enables brotli of async-compression

deflate = async-compression, tokio-util

Enables deflate of async-compression

async-compression:

algorithms

json = serde_json
multipart = mime_guess

Affects async_impl::multipart, blocking::multipart, wasm::multipart

trust-dns = trust-dns-resolver
stream = tokio-util, wasm-streams

Enables fs of tokio

socks = tokio-socks
http3 = futures-channel, h3, h3-quinn, quinn, rustls-tls-manual-roots

Experimental HTTP/3 client.

__tls __impersonate? boring-tls default-tls? rustls-tls-manual-roots? rustls-tls-native-roots? rustls-tls-webpki-roots?

Internal (PRIVATE!) features used to aid testing.
Don't rely on these whatsoever. They may disappear at anytime.

Enables common types used for TLS. Useless on its own.

Affects reqwest-impersonate::tls

__impersonate impersonate = __browser_common, __tls, boring, boring-sys, foreign-types, hyper-boring, tokio-boring

Affects impersonate::profile

__browser_common __impersonate? = brotli, gzip

Affects reqwest-impersonate::impersonate

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_json json?

Enables serde_json

Optional deps...

json

mime_guess multipart?

Enables mime_guess

multipart

async-tungstenite not wasm32 websocket?

Enables async-tungstenite ^0.23.0

Enables cookie ^0.17.0

Enables cookie_store ^0.20.0

futures-channel not wasm32 http3?
h3 not wasm32 http3?

Enables h3 ^0.0.3

h3-quinn not wasm32 http3?

Enables h3-quinn ^0.0.4

hyper-tls not wasm32 default-tls?

Enables hyper-tls ^0.5

quinn not wasm32 http3?

Enables quinn ^0.10

rustls-native-certs not wasm32 rustls-tls-native-roots?

Enables rustls-native-certs ^0.6

tokio-native-tls not wasm32 default-tls?
tokio-socks not wasm32 socks?
trust-dns-resolver not wasm32 trust-dns?
tungstenite not wasm32 websocket?

Enables tungstenite ^0.20

wasm-streams wasm32 stream?

Enables wasm-streams ^0.3

webpki-roots not wasm32 rustls-tls-webpki-roots?

Enables webpki-roots ^0.25

boring not wasm32 __impersonate? boring-tls

Enables boring-imp

boring-sys not wasm32 __impersonate? boring-tls

Enables boring-sys-imp

foreign-types not wasm32 __impersonate? boring-tls
hyper-boring not wasm32 __impersonate? boring-tls

Enables hyper-boring-imp

tokio-boring not wasm32 __impersonate? boring-tls

Enables tokio-boring-imp

async-compression not wasm32 brotli? deflate? gzip?
hyper-rustls not wasm32 rustls-tls-manual-roots? rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables hyper-rustls ^0.24.0

native-tls-crate not wasm32 default-tls? native-tls-alpn? native-tls-vendored?

Enables native-tls

rustls not wasm32 rustls-tls-manual-roots? rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables rustls ^0.21.6

rustls-pemfile not wasm32 rustls-tls-manual-roots? rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables rustls-pemfile ^1.0

tokio-rustls not wasm32 rustls-tls-manual-roots? rustls-tls-native-roots? rustls-tls-webpki-roots?

Enables tokio-rustls ^0.24

tokio-util not wasm32 brotli? deflate? gzip? stream? websocket?