Skip to content

Commit dcd592b

Browse files
committed
Update MSRV to 1.74.0 and sysinfo to 0.31.3
Signed-off-by: yubiuser <[email protected]>
1 parent 2ea7436 commit dcd592b

14 files changed

Lines changed: 22 additions & 23 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22
ARG debian_version=slim-bookworm
3-
ARG rust_version=1.73.0
3+
ARG rust_version=1.74.0
44
FROM rust:${rust_version}-${debian_version}
55

66
ARG DEBIAN_FRONTEND=noninteractive

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
matrix:
110110
os: [ubuntu-latest]
111111
toolchain:
112-
- "1.73" # MSRV (Minimum supported rust version)
112+
- "1.74" # MSRV (Minimum supported rust version)
113113
- stable
114114
experimental: [false]
115115
# Ignore failures in beta
@@ -163,7 +163,7 @@ jobs:
163163
matrix:
164164
os: [windows-latest]
165165
toolchain:
166-
- "1.73" # MSRV (Minimum supported rust version)
166+
- "1.74" # MSRV (Minimum supported rust version)
167167
- stable
168168
steps:
169169
- name: Checkout code
@@ -206,7 +206,7 @@ jobs:
206206
os: [ubuntu-latest]
207207
target: [armv7-unknown-linux-gnueabihf]
208208
toolchain:
209-
- "1.73" # MSRV (Minimum supported rust version)
209+
- "1.74" # MSRV (Minimum supported rust version)
210210
- stable
211211
steps:
212212
- name: Checkout code

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ https://github.com/librespot-org/librespot
4141
configurations.
4242
- [audio] Files are now downloaded over the HTTPS CDN (breaking)
4343
- [audio] Improve file opening and seeking performance (breaking)
44-
- [core] MSRV is now 1.73 (breaking)
44+
- [core] MSRV is now 1.74 (breaking)
4545
- [connect] `DeviceType` moved out of `connect` into `core` (breaking)
4646
- [connect] Update and expose all `spirc` context fields (breaking)
4747
- [connect] Add `Clone, Defaut` traits to `spirc` contexts

Cargo.lock

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot"
33
version = "0.5.0-dev"
4-
rust-version = "1.73"
4+
rust-version = "1.74"
55
authors = ["Librespot Org"]
66
license = "MIT"
77
description = "An open source client library for Spotify, with support for Spotify Connect"
@@ -57,7 +57,7 @@ getopts = "0.2"
5757
log = "0.4"
5858
rpassword = "7.0"
5959
sha1 = "0.10"
60-
sysinfo = { version = "0.30.5", default-features = false }
60+
sysinfo = { version = "0.31.3", default-features = false, features = ["system"] }
6161
thiserror = "1.0"
6262
tokio = { version = "1", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] }
6363
url = "2.2"

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-dev"
4-
rust-version = "1.73"
4+
rust-version = "1.74"
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-dev"
4-
rust-version = "1.73"
4+
rust-version = "1.74"
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The discovery and Spotify Connect logic for librespot"
77
license = "MIT"

contrib/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN apt-get install -y curl git build-essential crossbuild-essential-arm64 cross
2828
RUN apt-get install -y libasound2-dev libasound2-dev:arm64 libasound2-dev:armel libasound2-dev:armhf
2929
RUN apt-get install -y libpulse0 libpulse0:arm64 libpulse0:armel libpulse0:armhf
3030

31-
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.73 -y
31+
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.74 -y
3232
ENV PATH="/root/.cargo/bin/:${PATH}"
3333
RUN rustup target add aarch64-unknown-linux-gnu
3434
RUN rustup target add arm-unknown-linux-gnueabi

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "librespot-core"
33
version = "0.5.0-dev"
4-
rust-version = "1.73"
4+
rust-version = "1.74"
55
authors = ["Paul Lietar <[email protected]>"]
66
build = "build.rs"
77
description = "The core functionality provided by librespot"
@@ -49,7 +49,7 @@ serde = { version = "1.0", features = ["derive"] }
4949
serde_json = "1.0"
5050
sha1 = { version = "0.10", features = ["oid"] }
5151
shannon = "0.2"
52-
sysinfo = { version = "0.30.5", default-features = false }
52+
sysinfo = { version = "0.31.3", default-features = false, features = ["system"] }
5353
thiserror = "1.0"
5454
time = { version = "0.3", features = ["formatting", "parsing"] }
5555
tokio = { version = "1", features = ["io-util", "macros", "net", "parking_lot", "rt", "sync", "time"] }

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-dev"
4-
rust-version = "1.73"
4+
rust-version = "1.74"
55
authors = ["Paul Lietar <[email protected]>"]
66
description = "The discovery logic for librespot"
77
license = "MIT"

0 commit comments

Comments
 (0)