Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
An API Wrapper for lavalink
. Compatible with all tokio 1.x
based discord crates or asyncio
based discord python libraries.
If you have questions, you can get support in the serenity or lavalink discord servers, or by opening an issue in the gitlab repository.
tokio-websockets
native_tls
backendTo install Lavalink, you can follow their getting started guide.
Install the version from crates.io:
lavalink-rs = "0.11"
# or
[dependencies.lavalink-rs]
version = "0.11"
Or the development release:
lavalink-rs = { git = "https://gitlab.com/vicky5124/lavalink-rs/", branch = "main"}
# or
[dependencies.lavalink-rs]
git = "https://gitlab.com/vicky5124/lavalink-rs/"
branch = "main"
If you wish to use a development version of songbird (or serenity, or twilight-model), add the following to the Cargo.toml:
[patch.crates-io.songbird]
git = "https://github.com/serenity-rs/songbird"
branch = "next"
[dependencies.songbird]
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
macros
: default feature - Adds procedural macros for ease of use.rustls
: default feature - Use rustls.native-tls
Use the system native tls.serenity
for serenity support.songbird
for songbird support.twilight
for twilight-model v0.15 support.twilight16
for twilight-model v0.16-rc support.python
for python3.8+ support.To contribute to the project, fork the gitlab repository and create a merge request over there. Make sure to update the changelog with whatever update you did to the library.
FAQs
Lavalink API wrapper for discord audio playing
We found that lavasnek-rs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.