mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
commit
6fb3572951
13 changed files with 760 additions and 503 deletions
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
ARG debian_version=slim-bookworm
|
||||
ARG rust_version=1.71.0
|
||||
ARG rust_version=1.73.0
|
||||
FROM rust:${rust_version}-${debian_version}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -109,7 +109,7 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
toolchain:
|
||||
- "1.71" # MSRV (Minimum supported rust version)
|
||||
- "1.73" # MSRV (Minimum supported rust version)
|
||||
- stable
|
||||
experimental: [false]
|
||||
# Ignore failures in beta
|
||||
|
@ -163,7 +163,7 @@ jobs:
|
|||
matrix:
|
||||
os: [windows-latest]
|
||||
toolchain:
|
||||
- "1.71" # MSRV (Minimum supported rust version)
|
||||
- "1.73" # MSRV (Minimum supported rust version)
|
||||
- stable
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -206,7 +206,7 @@ jobs:
|
|||
os: [ubuntu-latest]
|
||||
target: [armv7-unknown-linux-gnueabihf]
|
||||
toolchain:
|
||||
- "1.71" # MSRV (Minimum supported rust version)
|
||||
- "1.73" # MSRV (Minimum supported rust version)
|
||||
- stable
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
|
@ -41,7 +41,7 @@ https://github.com/librespot-org/librespot
|
|||
configurations.
|
||||
- [audio] Files are now downloaded over the HTTPS CDN (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] Update and expose all `spirc` context fields (breaking)
|
||||
- [connect] Add `Clone, Defaut` traits to `spirc` contexts
|
||||
|
|
1225
Cargo.lock
generated
1225
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Librespot Org"]
|
||||
license = "MIT"
|
||||
description = "An open source client library for Spotify, with support for Spotify Connect"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-audio"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Lietar <paul@lietar.net>"]
|
||||
description = "The audio fetching logic for librespot"
|
||||
license = "MIT"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-connect"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Lietar <paul@lietar.net>"]
|
||||
description = "The discovery and Spotify Connect logic for librespot"
|
||||
license = "MIT"
|
||||
|
|
|
@ -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 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}"
|
||||
RUN rustup target add aarch64-unknown-linux-gnu
|
||||
RUN rustup target add arm-unknown-linux-gnueabi
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-core"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Lietar <paul@lietar.net>"]
|
||||
build = "build.rs"
|
||||
description = "The core functionality provided by librespot"
|
||||
|
@ -15,7 +15,7 @@ version = "0.5.0-dev"
|
|||
|
||||
[dependencies]
|
||||
aes = "0.8"
|
||||
base64 = "0.21"
|
||||
base64 = "0.22"
|
||||
byteorder = "1.4"
|
||||
bytes = "1"
|
||||
dns-sd = { version = "0.1", optional = true }
|
||||
|
@ -40,9 +40,9 @@ num-traits = "0.2"
|
|||
once_cell = "1"
|
||||
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
||||
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
||||
priority-queue = "1.2"
|
||||
priority-queue = "2.0"
|
||||
protobuf = "3"
|
||||
quick-xml = { version = "0.31", features = ["serialize"] }
|
||||
quick-xml = { version = "0.32", features = ["serialize"] }
|
||||
rand = "0.8"
|
||||
rsa = "0.9.2"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-discovery"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Lietar <paul@lietar.net>"]
|
||||
description = "The discovery logic for librespot"
|
||||
license = "MIT"
|
||||
|
@ -10,7 +10,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
aes = "0.8"
|
||||
base64 = "0.21"
|
||||
base64 = "0.22"
|
||||
bytes = "1"
|
||||
cfg-if = "1.0"
|
||||
ctr = "0.9"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-metadata"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Lietar <paul@lietar.net>"]
|
||||
description = "The metadata logic for librespot"
|
||||
license = "MIT"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-playback"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Sasha Hilton <sashahilton00@gmail.com>"]
|
||||
description = "The audio playback logic for librespot"
|
||||
license = "MIT"
|
||||
|
@ -43,7 +43,7 @@ gstreamer-audio = { version = "0.22.0", optional = true }
|
|||
glib = { version = "0.19.2", optional = true }
|
||||
|
||||
# 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 }
|
||||
|
||||
# Container and audio decoder
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "librespot-protocol"
|
||||
version = "0.5.0-dev"
|
||||
rust-version = "1.71"
|
||||
rust-version = "1.73"
|
||||
authors = ["Paul Liétar <paul@lietar.net>"]
|
||||
build = "build.rs"
|
||||
description = "The protobuf logic for communicating with Spotify servers"
|
||||
|
|
Loading…
Reference in a new issue