Cargo Features

[dependencies]
rspamd-client = { version = "0.2.0", default-features = false, features = ["sync", "async", "ureq"] }
default = async

The async feature is set by default whenever rspamd-client is added without default-features = false somewhere in the dependency tree.

sync = attohttpc

Enables is_sync of maybe-async

Affects backend::sync_client

async default = reqwest, tokio

Affects async_client::async_client, backend::async_client, traits::StreamItem, traits::DataStream, traits::ResponseDataStream

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 async
ureq implicit feature

Enables ureq ^2.5

ureq:

Simple, safe HTTP client

tokio async
attohttpc sync?