moving imports trough die gegend

This commit is contained in:
2025-08-01 22:56:31 +02:00
parent 39298079e5
commit e0d366b720

View File

@@ -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<f32> {
}
#[cfg(target_os = "windows")]
use systemstat::{Platform, System as SysStat};
{
let sys = SysStat::new();