diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index affa0c7..4c813cf 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -10,15 +10,7 @@ use sysinfo::{Components, Disks, System}; use tokio::time::{interval, sleep, Instant}; // Windows specific imports -use std::ffi::OsStr; -use std::os::windows::ffi::OsStrExt; -use std::ptr; use systemstat::{Platform, System as SysStat}; -use winapi::shared::winerror::ERROR_SUCCESS; -use winapi::um::pdh::PDH_FMT_COUNTERVALUE; -use winapi::um::pdh::{ - PdhAddCounterW, PdhCollectQueryData, PdhGetFormattedCounterValue, PdhOpenQueryW, PDH_FMT_DOUBLE, -}; // Data structures matching the C# DTOs #[derive(Serialize, Debug)]