A lavalink
API wrapping library for every tokio
discord crate.
The minimum required Rust version is 1.51 due to a dependency of Songbird.
Install the version from crates.io:
```toml lavalink-rs = "0.9-rc"
[dependencies.lavalink-rs] version = "0.9-rc" ```
Or the development release:
```toml lavalink-rs = { git = "https://gitlab.com/vicky5124/lavalink-rs/", branch = "master"}
[dependencies.lavalink-rs] git = "https://gitlab.com/vicky5124/lavalink-rs/" branch = "master" ```
If you wish to use a development version of serenity, add the following to the Cargo.toml:
toml
[patch.crates-io.serenity]
git = "https://github.com/serenity-rs/serenity"
branch = "next"
Default features are: rustls
and songbird
These are the available ones:
rustls
: Use the rustls TLS backend.native
: Uses the system native TLS backend (OpenSSL on linux).songbird
: Use songbird to connect to handle voice connections.simple-gateway
: Use lavalink-rs to handle the voice connections (note, this is a very basic implementation, without sharding support, while also creating a second gateway rather than using the existing one).serenity
: Add support for serenity's models.twilight
: Add support for twilight-model.