From 39298079e5cee67b7c06b9beb05f30a52e0843da Mon Sep 17 00:00:00 2001 From: donpat1to Date: Fri, 1 Aug 2025 22:53:10 +0200 Subject: [PATCH] removed somehting --- WatcherAgent/src/main.rs | 8 -------- 1 file changed, 8 deletions(-) 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)]