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
orrustls
to configure the TLS implementation usedEnables 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.