From 97957df310e0c2fba7c313607b552d48a08fb6ce Mon Sep 17 00:00:00 2001 From: cucadmuh <49571317+cucadmuh@users.noreply.github.com> Date: Sat, 16 May 2026 23:17:48 +0300 Subject: [PATCH] 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. --- src-tauri/Cargo.toml | 2 +- src-tauri/crates/psysonic-audio/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 275dec50..cb363f50 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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"] } diff --git a/src-tauri/crates/psysonic-audio/Cargo.toml b/src-tauri/crates/psysonic-audio/Cargo.toml index 8e7bbcf8..898812d1 100644 --- a/src-tauri/crates/psysonic-audio/Cargo.toml +++ b/src-tauri/crates/psysonic-audio/Cargo.toml @@ -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 = [