lavalink-rs 0.4.0-alpha

Lavalink bindings for discord bot crates
Documentation

Lavalink-rs

A lavalink binder library for every Asynchronous discord crate.

Links to download stuff you will need

TODO

  • Support multiple connections per region.
  • Support nodes.
  • Support pause, resume, skip to time.
  • Support starting at specific times and configurable replace current stream.
  • Support equalization.
  • Support identifiers.
  • 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

1: Install openssl-dev or libssl-dev (because native_tls_backend requires openssl in serenity)

  • if the library is native and the bot is rustls, it works
  • if the library is rustls and the bot is native, it works
  • if the library and the bot are both native, it works
  • but if the library and the bot are rustl, it doesn't work

2: Install the version from crates.io:

lavalink-rs = "0.3.0-alpha"

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"