Cargo Features

[dependencies]
spirit-reqwest = { version = "0.5.1", default-features = false, features = ["cfg-help", "blocking", "brotli", "gzip", "native-tls"] }
default = cfg-help

The cfg-help feature is set by default whenever spirit-reqwest is added without default-features = false somewhere in the dependency tree.

cfg-help default = structdoc

Enables cfg-help of spirit

blocking

Enables blocking of reqwest ^0.11.4

Yes, depend on default-features. That means default-tls, we don't want to disable so many parts of the code

brotli

Enables brotli of reqwest ^0.11.4

Affects spirit-reqwest::ReqwestClient.enable_brotli

gzip

Enables gzip of reqwest ^0.11.4

Affects spirit-reqwest::ReqwestClient.enable_gzip

native-tls

Enables native-tls of reqwest ^0.11.4

Affects spirit-reqwest::ReqwestClient.tls_identity, spirit-reqwest::ReqwestClient.tls_identity_password

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.

structdoc cfg-help