mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-21 14:55:43 +00:00
chore(audio): declare windows Power/WindowsAndMessaging features in psysonic-audio (#1111)
power_notify_win.rs imports windows::Win32::System::Power and UI::WindowsAndMessaging, but the crate only declared Foundation/Com/Threading. It compiled solely via workspace feature unification (the root src-tauri crate enables them), so building or testing psysonic-audio in isolation on Windows (cargo check/test -p psysonic-audio) failed with E0432 unresolved imports. Declare the two features the crate actually uses so it builds standalone. No behaviour change; workspace/release builds already had these features.
This commit is contained in:
@@ -40,6 +40,8 @@ windows = { version = "0.62", features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Com",
|
||||
"Win32_System_Threading",
|
||||
"Win32_System_Power",
|
||||
"Win32_UI_WindowsAndMessaging",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
Reference in New Issue
Block a user