Cargo: use rust-version from workspace (#1375)

Make it easier to check and update.
This commit is contained in:
Guillaume Desmottes 2024-10-17 11:01:56 -04:00 committed by GitHub
parent 09e4c3e12b
commit 1912065248
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 8 deletions

View file

@ -98,3 +98,6 @@ assets = [
["contrib/librespot.service", "lib/systemd/system/", "644"],
["contrib/librespot.user.service", "lib/systemd/user/", "644"]
]
[workspace.package]
rust-version = "1.74"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-audio"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Lietar <paul@lietar.net>"]
description = "The audio fetching logic for librespot"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-connect"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Lietar <paul@lietar.net>"]
description = "The discovery and Spotify Connect logic for librespot"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-core"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Lietar <paul@lietar.net>"]
build = "build.rs"
description = "The core functionality provided by librespot"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-discovery"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Lietar <paul@lietar.net>"]
description = "The discovery logic for librespot"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-metadata"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Lietar <paul@lietar.net>"]
description = "The metadata logic for librespot"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-oauth"
version = "0.5.0"
rust-version = "1.73"
rust-version.workspace = true
authors = ["Nick Steel <nick@nsteel.co.uk>"]
description = "OAuth authorization code flow with PKCE for obtaining a Spotify access token"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-playback"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
description = "The audio playback logic for librespot"
license = "MIT"

View file

@ -1,7 +1,7 @@
[package]
name = "librespot-protocol"
version = "0.5.0"
rust-version = "1.74"
rust-version.workspace = true
authors = ["Paul Liétar <paul@lietar.net>"]
build = "build.rs"
description = "The protobuf logic for communicating with Spotify servers"