Cargo Features

[dependencies]
ddragon = { version = "0.8.4", default-features = false, features = ["sync", "async-base", "async", "async-rustls", "image"] }
default = sync

The sync feature is set by default whenever ddragon is added without default-features = false somewhere in the dependency tree.

sync default

Enables cacache ^11.7.1, thiserror, ureq, and url

Affects ddragon::cache_middleware, ddragon::client

async-base async? async-rustls?

Enables http-cache-reqwest ^0.11, reqwest ^0.11, reqwest-middleware ^0.2, thiserror, and url

async = async-base

Enables native-tls of optional reqwest ^0.11

reqwest:

Enables native-tls specific functionality not available by default.

Affects ddragon::async_client

async-rustls = async-base

Enables rustls of optional reqwest ^0.11

Affects ddragon::async_client

image

Enables image ^0.24