Cargo Features

[dependencies]
rspotify = { version = "0.13.3", default-features = false, features = ["cli", "env-file", "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 is added without default-features = false somewhere in the dependency tree.

cli = webbrowser

Client

Affects oauth::OAuthClient.get_code_from_user, oauth::OAuthClient.prompt_for_token

env-file = dotenvy
client-ureq

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

Enables is_sync of maybe-async, client-ureq of rspotify-http

client-reqwest default = async-stream, async-trait, futures

Enables client-reqwest of rspotify-http

reqwest-default-tls default

Passing the TLS features to reqwest.

Enables reqwest-default-tls of rspotify-http

reqwest-rustls-tls

Enables reqwest-rustls-tls of rspotify-http

reqwest-native-tls

Enables reqwest-native-tls of rspotify-http

reqwest-native-tls-vendored

Enables reqwest-native-tls-vendored of rspotify-http

ureq-rustls-tls

Same for ureq.

Enables ureq-rustls-tls of rspotify-http

ureq-rustls-tls-native-certs

Enables ureq-rustls-tls-native-certs of rspotify-http

ureq-native-tls

Enables ureq-native-tls of rspotify-http

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-stream client-reqwest
async-trait client-reqwest
dotenvy env-file?
futures client-reqwest
webbrowser cli?