From 8b4c67fb0a65d87212f0acec1c4534f002dbba09 Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Mon, 12 Jun 2023 00:26:52 -0300 Subject: [PATCH] fix msrv, bump edition --- Cargo.toml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3901c72..e6ad6dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,9 +3,10 @@ name = "disconic" description = "Discord bot for interacting with subsonic music libraries" version = "1.0.0" authors = [ "Gabriel Fontes " ] -edition = "2018" +edition = "2021" homepage = "https://misterio.me" license = "AGPL-3.0-or-later" +rust-version = "1.70.0" [patch.crates-io.sunk] diff --git a/README.md b/README.md index 9ae88ec..bf5b1d3 100644 --- a/README.md +++ b/README.md @@ -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: