A lavalink
and andesite
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 = { version = "0.8", features = ["rustls"] }
[dependencies.lavalink-rs] version = "0.8" features = ["rustls"] ```
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"
No default features are set, so you will need to specify them yourself. These are the available ones:
rustls
: Use the rustls TLS backend.native
: Uses the system native TLS backend (OpenSSL on linux).rustls-tokio-02
: rustls, but uses tokio 0.2 instead of 1.xnative-tokio-02
: native, but uses tokio 0.2 instead of 1.xserenity
: Add support for serenity's models.twilight
: Add support for twilight-model.andesite
: Add andesite exclusive features.