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 whenever cloudflare is added without default-features = false somewhere in the dependency tree.

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