Cargo Features

[dependencies]
jmap-client = { version = "0.3.2", default-features = false, features = ["async", "websockets", "blocking", "debug"] }
default = async, websockets

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

async default = async-stream, futures-util

Enables stream of reqwest ^0.11

Affects jmap-client::event_source

websockets default = rustls, tokio, tokio-tungstenite

Affects jmap-client::client_ws

blocking

Enables is_sync of maybe-async, blocking of reqwest ^0.11

debug

Affects email::TestEmail

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.

tokio-tungstenite websockets

Enables tokio-tungstenite ^0.21

tokio websockets
futures-util async
async-stream async
rustls websockets

Enables rustls ^0.22