Merge pull request #1224 from yubiuser/update/dependencies

Update/dependencies
This commit is contained in:
Roderick van Domburg 2023-11-15 20:38:11 +01:00 committed by GitHub
commit a8fcd99eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 460 additions and 485 deletions

930
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -61,6 +61,7 @@ sysinfo = { version = "0.29", default-features = false }
thiserror = "1.0" thiserror = "1.0"
tokio = { version = "1", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] } tokio = { version = "1", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] }
url = "2.2" url = "2.2"
webpki = "0.22.4"
[features] [features]
alsa-backend = ["librespot-playback/alsa-backend"] alsa-backend = ["librespot-playback/alsa-backend"]

View file

@ -41,7 +41,7 @@ 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 = "1.2"
protobuf = "3" protobuf = "3"
quick-xml = { version = "0.30", features = ["serialize"] } quick-xml = { version = "0.31", 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

@ -28,18 +28,18 @@ parking_lot = { version = "0.12", features = ["deadlock_detection"] }
shell-words = "1.1" shell-words = "1.1"
thiserror = "1" thiserror = "1"
tokio = { version = "1", features = ["parking_lot", "rt", "rt-multi-thread", "sync"] } tokio = { version = "1", features = ["parking_lot", "rt", "rt-multi-thread", "sync"] }
zerocopy = "0.6" zerocopy = { version = "0.7.26", features = ["derive"] }
# Backends # Backends
alsa = { version = "0.7", optional = true } alsa = { version = "0.8.1", optional = true }
portaudio-rs = { version = "0.3", optional = true } portaudio-rs = { version = "0.3", optional = true }
libpulse-binding = { version = "2", optional = true, default-features = false } libpulse-binding = { version = "2", optional = true, default-features = false }
libpulse-simple-binding = { version = "2", optional = true, default-features = false } libpulse-simple-binding = { version = "2", optional = true, default-features = false }
jack = { version = "0.11", optional = true } jack = { version = "0.11", optional = true }
sdl2 = { version = "0.35", optional = true } sdl2 = { version = "0.35", optional = true }
gstreamer = { version = "0.20", optional = true } gstreamer = { version = "0.21.2", optional = true }
gstreamer-app = { version = "0.20", optional = true } gstreamer-app = { version = "0.21.2", optional = true }
gstreamer-audio = { version = "0.20", optional = true } gstreamer-audio = { version = "0.21.2", optional = true }
glib = { version = "0.18.1", optional = true } glib = { version = "0.18.1", optional = true }
# Rodio dependencies # Rodio dependencies

View file

@ -47,7 +47,7 @@ impl Open for GstreamerSink {
let sample_size = format.size(); let sample_size = format.size();
let gst_bytes = NUM_CHANNELS as usize * 2048 * sample_size; let gst_bytes = NUM_CHANNELS as usize * 2048 * sample_size;
let pipeline = gst::Pipeline::new(None); let pipeline = gst::Pipeline::new();
let appsrc = gst::ElementFactory::make("appsrc") let appsrc = gst::ElementFactory::make("appsrc")
.build() .build()
.expect("Failed to create GStreamer appsrc element") .expect("Failed to create GStreamer appsrc element")