mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #1224 from yubiuser/update/dependencies
Update/dependencies
This commit is contained in:
commit
a8fcd99eb9
5 changed files with 460 additions and 485 deletions
930
Cargo.lock
generated
930
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -61,6 +61,7 @@ sysinfo = { version = "0.29", default-features = false }
|
|||
thiserror = "1.0"
|
||||
tokio = { version = "1", features = ["rt", "macros", "signal", "sync", "parking_lot", "process"] }
|
||||
url = "2.2"
|
||||
webpki = "0.22.4"
|
||||
|
||||
[features]
|
||||
alsa-backend = ["librespot-playback/alsa-backend"]
|
||||
|
|
|
@ -41,7 +41,7 @@ parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
|||
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
||||
priority-queue = "1.2"
|
||||
protobuf = "3"
|
||||
quick-xml = { version = "0.30", features = ["serialize"] }
|
||||
quick-xml = { version = "0.31", features = ["serialize"] }
|
||||
rand = "0.8"
|
||||
rsa = "0.9.2"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
|
|
@ -28,18 +28,18 @@ parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
|||
shell-words = "1.1"
|
||||
thiserror = "1"
|
||||
tokio = { version = "1", features = ["parking_lot", "rt", "rt-multi-thread", "sync"] }
|
||||
zerocopy = "0.6"
|
||||
zerocopy = { version = "0.7.26", features = ["derive"] }
|
||||
|
||||
# Backends
|
||||
alsa = { version = "0.7", optional = true }
|
||||
alsa = { version = "0.8.1", optional = true }
|
||||
portaudio-rs = { version = "0.3", optional = true }
|
||||
libpulse-binding = { version = "2", optional = true, default-features = false }
|
||||
libpulse-simple-binding = { version = "2", optional = true, default-features = false }
|
||||
jack = { version = "0.11", optional = true }
|
||||
sdl2 = { version = "0.35", optional = true }
|
||||
gstreamer = { version = "0.20", optional = true }
|
||||
gstreamer-app = { version = "0.20", optional = true }
|
||||
gstreamer-audio = { version = "0.20", optional = true }
|
||||
gstreamer = { version = "0.21.2", optional = true }
|
||||
gstreamer-app = { version = "0.21.2", optional = true }
|
||||
gstreamer-audio = { version = "0.21.2", optional = true }
|
||||
glib = { version = "0.18.1", optional = true }
|
||||
|
||||
# Rodio dependencies
|
||||
|
|
|
@ -47,7 +47,7 @@ impl Open for GstreamerSink {
|
|||
let sample_size = format.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")
|
||||
.build()
|
||||
.expect("Failed to create GStreamer appsrc element")
|
||||
|
|
Loading…
Reference in a new issue