Cargo Features
[dependencies]
lavalink-rs = { version = "0.14.1", default-features = false, features = ["songbird", "serenity", "twilight", "macros", "tungstenite-rustls-native-roots", "tungstenite-rustls-webpki-roots", "tungstenite-native-tls", "websockets-rustls-native-roots", "websockets-rustls-webpki-roots", "websockets-native-tls", "python"] }
- default = macros, tungstenite-rustls-native-roots
-
These default features are set whenever
lavalink-rs
is added without
somewhere in the dependency tree.default-features = false - songbird = songbird-dep
- serenity = serenity-dep
- twilight = twilight-model
- macros default = macros-dep
-
Affects
lavalink-rs::macros
… - tungstenite-rustls-native-roots default = hyper-rustls
-
Enables native-tokio of hyper-rustls, rustls-tls-native-roots of tokio-tungstenite
- tungstenite-rustls-webpki-roots = hyper-rustls
-
Enables webpki-tokio of hyper-rustls, rustls-tls-webpki-roots of tokio-tungstenite
- tungstenite-native-tls = hyper-tls
-
Enables native-tls of tokio-tungstenite
- websockets-rustls-native-roots = hyper-rustls
-
Enables native-tokio of hyper-rustls, rustls-native-roots of tokio-websockets
- websockets-rustls-webpki-roots = hyper-rustls
-
Enables webpki-tokio of hyper-rustls, rustls-webpki-roots of tokio-websockets
- websockets-native-tls = hyper-tls
-
Enables native-tls of tokio-websockets
- python = log, macro_rules_attribute, parking_lot, paste, pyo3, pyo3-async-runtimes, 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.
- log python?
- macro_rules_attribute python?
- macros-dep macros
-
Enables lavalink_rs_macros
- parking_lot python?
- paste python?
- pyo3 python?
- pyo3-async-runtimes python?
- pyo3-log python?
- pythonize python?
- serenity-dep serenity?
-
Enables serenity
- songbird-dep songbird?
-
Enables songbird ^0.4
- twilight-model twilight?
- hyper-tls tungstenite-native-tls? websockets-native-tls?
- tokio-tungstenite tungstenite-native-tls? tungstenite-rustls-native-roots tungstenite-rustls-webpki-roots?
- tokio-websockets websockets-native-tls? websockets-rustls-native-roots? websockets-rustls-webpki-roots?
- hyper-rustls tungstenite-rustls-native-roots tungstenite-rustls-webpki-roots? websockets-rustls-native-roots? websockets-rustls-webpki-roots?