Cargo Features

cd has no features set by default.

[dependencies]
cd = { version = "0.2.1", features = ["blocking", "client", "native", "rustls"] }
blocking = client

Adds a blocking client implementation to make API requests with, can be combined with either native or rustls to configure the TLS implementation used

Enables blocking of reqwest ^0.11

client blocking? native? rustls? = reqwest

Affects cd::client

native = client

Adds an async client implementation using the native TLS implementation

Enables native-tls of reqwest ^0.11

rustls = client

Adds an async client implementation using the rustls TLS implementation

Enables rustls-tls of reqwest ^0.11

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.

reqwest blocking? client? native? rustls?

Enables reqwest ^0.11