From 133163d3d917be8dfdf7dcae04b176b241f3d060 Mon Sep 17 00:00:00 2001 From: coso Date: Tue, 10 Feb 2026 10:46:28 +0800 Subject: [PATCH] fix: add winapi/winreg dependencies to services crate for Windows machine_id_service.rs uses winreg and winapi for Windows registry access but these were only declared in the main package, not in the proxycast-services crate where the code now lives. --- src-tauri/Cargo.lock | 2 ++ src-tauri/crates/services/Cargo.toml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index a356c9267..6a67eb092 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -7007,6 +7007,8 @@ dependencies = [ "uuid", "voice-core", "whoami", + "winapi", + "winreg 0.52.0", "zip", ] diff --git a/src-tauri/crates/services/Cargo.toml b/src-tauri/crates/services/Cargo.toml index bbaca607d..069a9f53f 100644 --- a/src-tauri/crates/services/Cargo.toml +++ b/src-tauri/crates/services/Cargo.toml @@ -64,3 +64,7 @@ rusqlite.workspace = true [dev-dependencies] tempfile.workspace = true proptest.workspace = true + +[target.'cfg(windows)'.dependencies] +winapi.workspace = true +winreg.workspace = true