Cargo Features

[dependencies]
rspotify-http = { version = "0.13.3", default-features = false, features = ["client-ureq", "client-reqwest", "reqwest-default-tls", "reqwest-rustls-tls", "reqwest-native-tls", "reqwest-native-tls-vendored", "ureq-rustls-tls", "ureq-rustls-tls-native-certs", "ureq-native-tls"] }
default = client-reqwest, reqwest-default-tls

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

client-ureq = ureq

Available clients. By default they don't include a TLS so that it can be configured.

Enables is_sync of maybe-async

client-reqwest default = async-trait, reqwest
reqwest-default-tls default

Passing the TLS features to reqwest.

Enables default-tls of reqwest

Supported clients

reqwest-rustls-tls

Enables rustls-tls of reqwest

reqwest-native-tls

Enables native-tls of reqwest

reqwest-native-tls-vendored

Enables native-tls-vendored of reqwest

ureq-rustls-tls

Same for ureq.

Enables tls of ureq

ureq-rustls-tls-native-certs

Enables native-certs and tls of ureq

ureq-native-tls

Enables native-tls, native-tls of ureq

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.

async-trait client-reqwest

Enables async-trait

Temporary until https://github.com/rust-lang/rfcs/issues/2739, for maybe_async.

reqwest client-reqwest reqwest-default-tls reqwest-native-tls? reqwest-native-tls-vendored? reqwest-rustls-tls?
ureq client-ureq? ureq-native-tls? ureq-rustls-tls? ureq-rustls-tls-native-certs?