Cargo Features
[dependencies]
reqwest-impersonate = { version = "0.11.91", 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", "zstd", "deflate", "json", "multipart", "hickory-dns", "stream", "socks", "http3"] }
- default = boring-tls, impersonate
-
These default features are set whenever
reqwest-impersonate
is added without
somewhere in the dependency tree.default-features = false - 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? = __tls, boring, boring-sys, brotli, foreign-types, gzip, hyper-boring, tokio-boring
-
Affects
reqwest-impersonate::impersonate
… - websocket = async-tungstenite, impersonate, tungstenite
-
Enables compat of tokio-util
Affects
async_impl::websocket
,reqwest-impersonate::websocket
… -
Affects
reqwest-impersonate::cookie
… - gzip impersonate = async-compression, tokio-util
-
Enables gzip of async-compression
- brotli impersonate = async-compression, tokio-util
-
Enables brotli of async-compression
- zstd = async-compression, tokio-util
-
Enables zstd 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
… - hickory-dns = hickory-resolver
- stream = tokio-util, wasm-streams
- socks = tokio-socks
- http3 = futures-channel, h3, h3-quinn, quinn, rustls-tls-manual-roots
-
Experimental HTTP/3 client.
- __tls boring-tls default-tls? impersonate 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
…
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
- 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
- hickory-resolver not wasm32 hickory-dns?
- 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?
- 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 boring-tls impersonate
-
Enables boring-imp
- boring-sys not wasm32 boring-tls impersonate
-
Enables boring-sys-imp
- foreign-types not wasm32 boring-tls impersonate
- hyper-boring not wasm32 boring-tls impersonate
-
Enables hyper-boring-imp
- tokio-boring not wasm32 boring-tls impersonate
-
Enables tokio-boring-imp
- 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
- async-compression not wasm32 brotli? deflate? gzip? zstd?
- tokio-util not wasm32 brotli? deflate? gzip? stream? websocket? zstd?