lavalink-rs 0.5.3

Lavalink bindings for discord bot crates
Documentation

Lavalink-rs

A lavalink and andesite API wrapping library for every tokio discord crate.

Links to download stuff you will need

TODO

  • Support multiple connections per region.
  • Support nodes.
  • Support actual nodes.
  • Support identifiers.
  • Support pause, resume, skip to time.
  • Support starting at specific times and configurable replace current stream.
  • Support equalization.
  • Support both rustls and native_tls backends as features.
  • Support twilight.
  • Support events.
  • Support raw events.
  • Implement my own event hander for voice connections.
  • Support easy queues natively.
  • Optimize the codebase.
  • Remove all the clones from examples.
  • Improve error handling.
  • Add tracing and logging.
  • Add documentation.

How to use

Install the version from crates.io:

lavalink-rs = { version = "0.5", features = ["rustls"] }
# or
[dependencies.lavalink-rs]
version = "0.5"
features = ["rustls"]

Or the development release:

lavalink-rs = { git = "https://gitlab.com/nitsuga5124/lavalink-rs/", branch = "master" }
# or
[dependencies.lavalink-rs]
git = "https://gitlab.com/nitsuga5124/lavalink-rs/"
branch = "master"

If you wish to use a development version of serenity, add the following to the Cargo.toml:

[patch.crates-io.serenity]
git = "https://github.com/serenity-rs/serenity"
branch = "next"

Features

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.x
  • native-tokio-02: native, but uses tokio 0.2 instead of 1.x