An API Wrapper for lavalink
. Compatible with all tokio 1.x
based discord crates or asyncio
based discord python libraries.
native_tls
backendTo install Lavalink, you can follow their getting started guide.
Install the version from crates.io:
```toml lavalink-rs = "0.10.0-beta"
[dependencies.lavalink-rs] version = "0.10.0-beta" ```
Or the development release:
```toml lavalink-rs = { git = "https://gitlab.com/vicky5124/lavalink-rs/", branch = "main"}
[dependencies.lavalink-rs] git = "https://gitlab.com/vicky5124/lavalink-rs/" branch = "main" ```
If you wish to use a development version of songbird, add the following to the Cargo.toml:
toml
[patch.crates-io.serenity]
git = "https://github.com/serenity-rs/songbird"
branch = "next"
To build for python, you can use maturin.
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install maturin
maturin develop --target x86_64-unknown-linux-gnu
user-data
- default feature - Allows the client and player context to store custom user data.rustls
: default feature - Use rustls.native-tls
Use the system native tls.serenity-rustls
for serenity with rustls support.serenity-native
for serenity with native-tls support.songbird
for songbird support.twilight
for twilight-model support.python
for python3.8+ support.