Cargo Features

[dependencies]
reqwest-vcapra1-add-cookies = { version = "0.10.9", default-features = false, features = ["default-tls", "native-tls", "native-tls-vendored", "rustls-tls", "blocking", "cookies", "gzip", "brotli", "json", "trust-dns", "stream", "socks"] }
default = default-tls

The default-tls feature is set by default whenever reqwest-vcapra1-add-cookies is added without default-features = false somewhere in the dependency tree.

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

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

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

Enables native-tls specific functionality not available by default.

native-tls-vendored = native-tls

Enables vendored of native-tls

rustls-tls = hyper-rustls, rustls, tokio-rustls, webpki-roots
blocking

Enables io of futures-util, rt-core, rt-threaded and sync of tokio ^0.2.5

Affects reqwest-vcapra1-add-cookies::blocking

cookies = cookie_crate, cookie_store, time

Affects reqwest-vcapra1-add-cookies::cookie

gzip = async-compression

Enables gzip of async-compression ^0.3.0

brotli = async-compression

Enables brotli of async-compression ^0.3.0

json = serde_json
trust-dns = trust-dns-resolver
stream
socks = tokio-socks

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

json

Enables cookie ^0.14

Enables cookie_store ^0.12

hyper-rustls not wasm32 rustls-tls?

Enables hyper-rustls ^0.21

hyper-tls not wasm32 default-tls

Enables hyper-tls ^0.4

rustls not wasm32 rustls-tls?

Enables rustls ^0.18

time not wasm32 cookies?

Enables time ^0.2.11

tokio-rustls not wasm32 rustls-tls?

Enables tokio-rustls ^0.14

tokio-socks not wasm32 socks?

Enables tokio-socks ^0.3

tokio-tls not wasm32 default-tls
trust-dns-resolver not wasm32 trust-dns?

Enables trust-dns-resolver ^0.19

webpki-roots not wasm32 rustls-tls?

Enables webpki-roots ^0.20

async-compression not wasm32 brotli? gzip?

Enables async-compression ^0.3.0

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

Enables native-tls