Cargo Features

[dependencies]
diem-client = { version = "0.0.3", default-features = false, features = ["blocking", "async", "faucet", "websocket"] }
default = async, blocking, faucet, websocket

These default features are set whenever diem-client is added without default-features = false somewhere in the dependency tree.

blocking default faucet = ipnet, ureq
async default websocket = reqwest, tokio
faucet default = blocking, reqwest

Enables blocking of reqwest ^0.11.2

websocket default = async, futures, tokio-tungstenite

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.

futures websocket

Enables futures

Optional Dependencies

reqwest async faucet

Enables reqwest ^0.11.2

tokio async
tokio-tungstenite websocket

Enables tokio-tungstenite ^0.14

ureq blocking

Enables ureq ^1.5.4

ipnet blocking