fix msrv, bump edition

This commit is contained in:
Gabriel Fontes
2023-06-12 00:26:52 -03:00
parent e42a52e0ac
commit 8b4c67fb0a
2 changed files with 3 additions and 2 deletions

View File

@@ -3,9 +3,10 @@ name = "disconic"
description = "Discord bot for interacting with subsonic music libraries"
version = "1.0.0"
authors = [ "Gabriel Fontes <eu@misterio.me>" ]
edition = "2018"
edition = "2021"
homepage = "https://misterio.me"
license = "AGPL-3.0-or-later"
rust-version = "1.70.0"
[patch.crates-io.sunk]

View File

@@ -10,7 +10,7 @@ I use `sunk` to interact with subsonic, and `serenity`/`poise` to interact with
You need `rustc` >= 1.70 to compile this crate. Use `rustup` to get it.
The only crate with non-rust dependencies is `audiopus_sys`, this means you need `libopus` installed to run this. If building, you'll also need `cmake` and `pkg-config`. Consult your distro's documentation on how to get these.
The only crate with non-rust dependencies is `audiopus_sys`, this means you need `libopus` installed to run this. If building, you'll also need `pkg-config`. Consult your distro's documentation on how to get these.
You can quickly get everything you need with nix: