mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 14:55:43 +00:00
fix(build): enable zbus async-io feature on linux (#738)
Without async-io (or tokio), zbus 5.15 with default-features = false fails to compile (`Either "async-io" (default) or "tokio" must be enabled`), which in turn broke `psysonic-audio` and the root `psysonic` crate on clean rebuilds. Workspace `cargo --workspace` builds happened to succeed because feature unification masked the gap; standalone clean builds did not.
This commit is contained in:
@@ -77,7 +77,7 @@ dasp_sample = "0.11.0"
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
zbus = { version = "5.15", default-features = false, features = ["blocking-api"] }
|
||||
zbus = { version = "5.15", default-features = false, features = ["blocking-api", "async-io"] }
|
||||
# Match wry/tauri’s WebKitGTK stack — used only to turn off kinetic wheel scrolling.
|
||||
webkit2gtk = { version = "2.0", default-features = false, features = ["v2_40"] }
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ id3 = "1.16.4"
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
zbus = { version = "5.15", default-features = false, features = ["blocking-api"] }
|
||||
zbus = { version = "5.15", default-features = false, features = ["blocking-api", "async-io"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.62", features = [
|
||||
|
||||
Reference in New Issue
Block a user