From e0d366b720fcdd651fd7c31da94ecb0e95e393fd Mon Sep 17 00:00:00 2001 From: donpat1to Date: Fri, 1 Aug 2025 22:56:31 +0200 Subject: [PATCH] moving imports trough die gegend --- WatcherAgent/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index 4c813cf..309e070 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -10,7 +10,6 @@ use sysinfo::{Components, Disks, System}; use tokio::time::{interval, sleep, Instant}; // Windows specific imports -use systemstat::{Platform, System as SysStat}; // Data structures matching the C# DTOs #[derive(Serialize, Debug)] @@ -441,6 +440,7 @@ fn get_cpu_temp() -> Option { } #[cfg(target_os = "windows")] + use systemstat::{Platform, System as SysStat}; { let sys = SysStat::new();