Cargo Features

lavalink-rs = { version = "0.12.0", default-features = false, features = ["songbird", "serenity", "twilight", "twilight16", "macros", "rustls-native-roots", "rustls-webpki-roots", "native-tls", "python"] }
default = macros, rustls-native-roots

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

songbird = songbird-dep
serenity = serenity-dep
twilight = twilight-model
twilight16 = twilight-model-16
macros default = macros-dep

Affects lavalink-rs::macros

rustls-native-roots default = hyper-rustls

Enables native-tokio of hyper-rustls, rustls-tls-native-roots of tokio-tungstenite

rustls-webpki-roots = hyper-rustls

Enables webpki-tokio of hyper-rustls, rustls-tls-webpki-roots of tokio-tungstenite

native-tls = hyper-tls

Enables native-tls of tokio-tungstenite

python = log, macro_rules_attribute, parking_lot, paste, pyo3, pyo3-asyncio, pyo3-log, pythonize

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.

hyper-tls native-tls?
log python?
macro_rules_attribute python?
macros-dep macros

Enables lavalink_rs_macros

parking_lot python?
paste python?
pyo3 python?

Enables pyo3 ^0.20

pyo3-asyncio python?
pyo3-log python?

Enables pyo3-log ^0.9

pythonize python?

Enables pythonize ^0.20

serenity-dep serenity?

Enables serenity

songbird-dep songbird?

Enables songbird

twilight-model twilight?
twilight-model-16 twilight16?

Enables twilight-model

hyper-rustls rustls-native-roots rustls-webpki-roots?