Cargo Features
[dependencies]
cloudflare = { version = "0.11.0", default-features = false, features = ["blocking", "default-tls", "rustls-tls", "spec", "mockito"] }
- default = default-tls
-
The
default-tls
feature is set by default whenevercloudflare
is added without
somewhere in the dependency tree.default-features = false - blocking
-
Enables blocking of reqwest ^0.11.4
Affects
framework::blocking_api
,framework::HttpApiClient
,response::map_api_response
… - default-tls default
-
Enables default-tls of reqwest ^0.11.4
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls
-
Enables rustls-tls of reqwest ^0.11.4
- spec
Features from optional dependencies
- mockito implicit feature
-
Enables mockito ^0.31
mockito:
HTTP mocking for Rust