Merge pull request #1298 from yubiuser/update/deps

Update/deps
This commit is contained in:
Roderick van Domburg 2024-06-10 22:39:08 +02:00 committed by GitHub
commit 6fb3572951
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 760 additions and 503 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG debian_version=slim-bookworm ARG debian_version=slim-bookworm
ARG rust_version=1.71.0 ARG rust_version=1.73.0
FROM rust:${rust_version}-${debian_version} FROM rust:${rust_version}-${debian_version}
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive

View file

@ -109,7 +109,7 @@ jobs:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
toolchain: toolchain:
- "1.71" # MSRV (Minimum supported rust version) - "1.73" # MSRV (Minimum supported rust version)
- stable - stable
experimental: [false] experimental: [false]
# Ignore failures in beta # Ignore failures in beta
@ -163,7 +163,7 @@ jobs:
matrix: matrix:
os: [windows-latest] os: [windows-latest]
toolchain: toolchain:
- "1.71" # MSRV (Minimum supported rust version) - "1.73" # MSRV (Minimum supported rust version)
- stable - stable
steps: steps:
- name: Checkout code - name: Checkout code
@ -206,7 +206,7 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
target: [armv7-unknown-linux-gnueabihf] target: [armv7-unknown-linux-gnueabihf]
toolchain: toolchain:
- "1.71" # MSRV (Minimum supported rust version) - "1.73" # MSRV (Minimum supported rust version)
- stable - stable
steps: steps:
- name: Checkout code - name: Checkout code

View file

@ -41,7 +41,7 @@ https://github.com/librespot-org/librespot
configurations. configurations.
- [audio] Files are now downloaded over the HTTPS CDN (breaking) - [audio] Files are now downloaded over the HTTPS CDN (breaking)
- [audio] Improve file opening and seeking performance (breaking) - [audio] Improve file opening and seeking performance (breaking)
- [core] MSRV is now 1.71 (breaking) - [core] MSRV is now 1.73 (breaking)
- [connect] `DeviceType` moved out of `connect` into `core` (breaking) - [connect] `DeviceType` moved out of `connect` into `core` (breaking)
- [connect] Update and expose all `spirc` context fields (breaking) - [connect] Update and expose all `spirc` context fields (breaking)
- [connect] Add `Clone, Defaut` traits to `spirc` contexts - [connect] Add `Clone, Defaut` traits to `spirc` contexts

1225
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
[package] [package]
name = "librespot" name = "librespot"
version = "0.5.0-dev" version = "0.5.0-dev"
rust-version = "1.71" rust-version = "1.73"
authors = ["Librespot Org"] authors = ["Librespot Org"]
license = "MIT" license = "MIT"
description = "An open source client library for Spotify, with support for Spotify Connect" description = "An open source client library for Spotify, with support for Spotify Connect"

View file

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

View file

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

View file

@ -29,7 +29,7 @@ RUN apt-get install -y curl git build-essential crossbuild-essential-arm64 cross
RUN apt-get install -y libasound2-dev libasound2-dev:arm64 libasound2-dev:armel libasound2-dev:armhf libasound2-dev:mipsel RUN apt-get install -y libasound2-dev libasound2-dev:arm64 libasound2-dev:armel libasound2-dev:armhf libasound2-dev:mipsel
RUN apt-get install -y libpulse0 libpulse0:arm64 libpulse0:armel libpulse0:armhf RUN apt-get install -y libpulse0 libpulse0:arm64 libpulse0:armel libpulse0:armhf
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.71 -y RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.73 -y
ENV PATH="/root/.cargo/bin/:${PATH}" ENV PATH="/root/.cargo/bin/:${PATH}"
RUN rustup target add aarch64-unknown-linux-gnu RUN rustup target add aarch64-unknown-linux-gnu
RUN rustup target add arm-unknown-linux-gnueabi RUN rustup target add arm-unknown-linux-gnueabi

View file

@ -1,7 +1,7 @@
[package] [package]
name = "librespot-core" name = "librespot-core"
version = "0.5.0-dev" version = "0.5.0-dev"
rust-version = "1.71" rust-version = "1.73"
authors = ["Paul Lietar <paul@lietar.net>"] authors = ["Paul Lietar <paul@lietar.net>"]
build = "build.rs" build = "build.rs"
description = "The core functionality provided by librespot" description = "The core functionality provided by librespot"
@ -15,7 +15,7 @@ version = "0.5.0-dev"
[dependencies] [dependencies]
aes = "0.8" aes = "0.8"
base64 = "0.21" base64 = "0.22"
byteorder = "1.4" byteorder = "1.4"
bytes = "1" bytes = "1"
dns-sd = { version = "0.1", optional = true } dns-sd = { version = "0.1", optional = true }
@ -40,9 +40,9 @@ num-traits = "0.2"
once_cell = "1" once_cell = "1"
parking_lot = { version = "0.12", features = ["deadlock_detection"] } parking_lot = { version = "0.12", features = ["deadlock_detection"] }
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] } pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
priority-queue = "1.2" priority-queue = "2.0"
protobuf = "3" protobuf = "3"
quick-xml = { version = "0.31", features = ["serialize"] } quick-xml = { version = "0.32", features = ["serialize"] }
rand = "0.8" rand = "0.8"
rsa = "0.9.2" rsa = "0.9.2"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }

View file

@ -1,7 +1,7 @@
[package] [package]
name = "librespot-discovery" name = "librespot-discovery"
version = "0.5.0-dev" version = "0.5.0-dev"
rust-version = "1.71" rust-version = "1.73"
authors = ["Paul Lietar <paul@lietar.net>"] authors = ["Paul Lietar <paul@lietar.net>"]
description = "The discovery logic for librespot" description = "The discovery logic for librespot"
license = "MIT" license = "MIT"
@ -10,7 +10,7 @@ edition = "2021"
[dependencies] [dependencies]
aes = "0.8" aes = "0.8"
base64 = "0.21" base64 = "0.22"
bytes = "1" bytes = "1"
cfg-if = "1.0" cfg-if = "1.0"
ctr = "0.9" ctr = "0.9"

View file

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

View file

@ -1,7 +1,7 @@
[package] [package]
name = "librespot-playback" name = "librespot-playback"
version = "0.5.0-dev" version = "0.5.0-dev"
rust-version = "1.71" rust-version = "1.73"
authors = ["Sasha Hilton <sashahilton00@gmail.com>"] authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
description = "The audio playback logic for librespot" description = "The audio playback logic for librespot"
license = "MIT" license = "MIT"
@ -43,7 +43,7 @@ gstreamer-audio = { version = "0.22.0", optional = true }
glib = { version = "0.19.2", optional = true } glib = { version = "0.19.2", optional = true }
# Rodio dependencies # Rodio dependencies
rodio = { version = "0.17.1", optional = true, default-features = false } rodio = { version = "0.18.1", optional = true, default-features = false }
cpal = { version = "0.15.1", optional = true } cpal = { version = "0.15.1", optional = true }
# Container and audio decoder # Container and audio decoder

View file

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