chore(deps): upgrade alsa crate 0.9 -> 0.10
Remove dead alsa dependency from src-tauri/Cargo.toml (code lives in qbz-audio since V2 migration) and bump qbz-audio to alsa 0.10. Eliminates duplicate alsa versions in Cargo.lock. Breaking changes in 0.10 (Format/ChmapPosition reorder) do not affect QBZ — we use catch-all matches and never rely on PartialOrd. Closes #260 cc
This commit is contained in:
3 files changed
+3
-19
No files matched your search
@@ -38,7 +38,7 @@ dirs = "5"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
# ALSA for direct hardware access (bit-perfect)
|
||||
alsa = "0.9"
|
||||
alsa = "0.10"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
# CoreAudio for device probing, sample rate switching, and (future) hog mode / exclusive mode
|
||||
|
||||
Generated
+2
-15
@@ -79,18 +79,6 @@ dependencies = [
|
||||
"alloc-no-stdlib",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alsa"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ed7572b7ba83a31e20d1b48970ee402d2e3e0537dcfe0a3ff4d6eb7508617d43"
|
||||
dependencies = [
|
||||
"alsa-sys",
|
||||
"bitflags 2.11.0",
|
||||
"cfg-if",
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alsa"
|
||||
version = "0.10.0"
|
||||
@@ -1115,7 +1103,7 @@ version = "0.17.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b1f9c7312f19fc2fa12fd7acaf38de54e8320ba10d1a02dcbe21038def51ccb"
|
||||
dependencies = [
|
||||
"alsa 0.10.0",
|
||||
"alsa",
|
||||
"coreaudio-rs 0.13.0",
|
||||
"dasp_sample",
|
||||
"jni",
|
||||
@@ -4645,7 +4633,7 @@ checksum = "b5a041e753da8b807c9255f28de81879c78c876392ff2469cde94799b2896b9d"
|
||||
name = "qbz-audio"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"alsa 0.9.1",
|
||||
"alsa",
|
||||
"async-trait",
|
||||
"coreaudio-rs 0.14.1",
|
||||
"dirs 5.0.1",
|
||||
@@ -4753,7 +4741,6 @@ name = "qbz-nix"
|
||||
version = "1.2.2"
|
||||
dependencies = [
|
||||
"aes-gcm",
|
||||
"alsa 0.9.1",
|
||||
"anyhow",
|
||||
"ashpd",
|
||||
"async-trait",
|
||||
|
||||
@@ -147,9 +147,6 @@ tauri-plugin-dialog = { version = "2.6.0" }
|
||||
ashpd = { version = "0.13", default-features = false, features = ["tokio", "notification", "inhibit"] }
|
||||
mupdf = { version = "0.6", features = ["sys-lib-zlib", "sys-lib-harfbuzz", "sys-lib-freetype"] }
|
||||
|
||||
# Direct ALSA access for bit-perfect playback (bypasses CPAL limitations)
|
||||
alsa = "0.9"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
tauri-plugin-dialog = { version = "2.6.0" }
|
||||
notify-rust = "4.13.0"
|
||||
|
||||
Reference in new issue
Block a user