Skip to content

Commit 1912065

Browse files
authored
Cargo: use rust-version from workspace (#1375)
Make it easier to check and update.
1 parent 09e4c3e commit 1912065

9 files changed

Lines changed: 11 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ assets = [
9898
["contrib/librespot.service", "lib/systemd/system/", "644"],
9999
["contrib/librespot.user.service", "lib/systemd/user/", "644"]
100100
]
101+
102+
[workspace.package]
103+
rust-version = "1.74"

audio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-audio"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The audio fetching logic for librespot"
77
license = "MIT"

connect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-connect"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The discovery and Spotify Connect logic for librespot"
77
license = "MIT"

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-core"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Lietar <[email protected]>"]
66
build = "build.rs"
77
description = "The core functionality provided by librespot"

discovery/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-discovery"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The discovery logic for librespot"
77
license = "MIT"

metadata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-metadata"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The metadata logic for librespot"
77
license = "MIT"

oauth/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-oauth"
33
version = "0.5.0"
4-
rust-version = "1.73"
4+
rust-version.workspace = true
55
authors = ["Nick Steel <[email protected]>"]
66
description = "OAuth authorization code flow with PKCE for obtaining a Spotify access token"
77
license = "MIT"

playback/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-playback"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Sasha Hilton <[email protected]>"]
66
description = "The audio playback logic for librespot"
77
license = "MIT"

protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-protocol"
33
version = "0.5.0"
4-
rust-version = "1.74"
4+
rust-version.workspace = true
55
authors = ["Paul Liétar <[email protected]>"]
66
build = "build.rs"
77
description = "The protobuf logic for communicating with Spotify servers"

0 commit comments

Comments
 (0)