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 wheneverspirit-reqwest
is added without
somewhere in the dependency tree.default-features = false - cfg-help default = structdoc
- 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.