From d09ee4206c9192e026158ed72cd8707e6eea60f1 Mon Sep 17 00:00:00 2001 From: sqozz Date: Mon, 1 Aug 2022 13:10:39 +0200 Subject: [PATCH] Add minimum rust version --- COMPILING.md | 2 -- Cargo.toml | 1 + audio/Cargo.toml | 1 + connect/Cargo.toml | 1 + core/Cargo.toml | 1 + discovery/Cargo.toml | 1 + metadata/Cargo.toml | 1 + playback/Cargo.toml | 1 + protocol/Cargo.toml | 1 + 9 files changed, 8 insertions(+), 2 deletions(-) diff --git a/COMPILING.md b/COMPILING.md index 527be464..d5b94b0e 100644 --- a/COMPILING.md +++ b/COMPILING.md @@ -7,8 +7,6 @@ In order to compile librespot, you will first need to set up a suitable Rust bui ### Install Rust The easiest, and recommended way to get Rust is to use [rustup](https://rustup.rs). Once that’s installed, Rust's standard tools should be set up and ready to use. -*Note: The current minimum supported Rust version at the time of writing is 1.61.* - #### Additional Rust tools - `rustfmt` To ensure a consistent codebase, we utilise [`rustfmt`](https://github.com/rust-lang/rustfmt) and [`clippy`](https://github.com/rust-lang/rust-clippy), which are installed by default with `rustup` these days, else they can be installed manually with: ```bash diff --git a/Cargo.toml b/Cargo.toml index ffa3d6f1..e02c6990 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Librespot Org"] license = "MIT" description = "An open source client library for Spotify, with support for Spotify Connect" diff --git a/audio/Cargo.toml b/audio/Cargo.toml index 43d15b87..e6649b20 100644 --- a/audio/Cargo.toml +++ b/audio/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-audio" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Lietar "] description = "The audio fetching logic for librespot" license = "MIT" diff --git a/connect/Cargo.toml b/connect/Cargo.toml index 1a41b3bb..2caa9f33 100644 --- a/connect/Cargo.toml +++ b/connect/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-connect" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Lietar "] description = "The discovery and Spotify Connect logic for librespot" license = "MIT" diff --git a/core/Cargo.toml b/core/Cargo.toml index cc319c99..d64590c2 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-core" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Lietar "] build = "build.rs" description = "The core functionality provided by librespot" diff --git a/discovery/Cargo.toml b/discovery/Cargo.toml index c8b0e08f..ebbfb809 100644 --- a/discovery/Cargo.toml +++ b/discovery/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-discovery" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Lietar "] description = "The discovery logic for librespot" license = "MIT" diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index f57159e3..0d86cd29 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-metadata" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Lietar "] description = "The metadata logic for librespot" license = "MIT" diff --git a/playback/Cargo.toml b/playback/Cargo.toml index 89237108..39e87261 100644 --- a/playback/Cargo.toml +++ b/playback/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-playback" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Sasha Hilton "] description = "The audio playback logic for librespot" license = "MIT" diff --git a/protocol/Cargo.toml b/protocol/Cargo.toml index 00b97bb5..aa5f4496 100644 --- a/protocol/Cargo.toml +++ b/protocol/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "librespot-protocol" version = "0.5.0-dev" +rust-version = "1.61" authors = ["Paul Liétar "] build = "build.rs" description = "The protobuf logic for communicating with Spotify servers"