diff --git a/WatcherAgent/Cargo.toml b/WatcherAgent/Cargo.toml index e653915..35c2b05 100644 --- a/WatcherAgent/Cargo.toml +++ b/WatcherAgent/Cargo.toml @@ -26,4 +26,8 @@ com = "0.2" widestring = "0.5" [target.'cfg(unix)'.dependencies] -glob = "0.3" \ No newline at end of file +glob = "0.3" +libloading = "0.8" + +[build-dependencies] +pkg-config = { version = "0.3", optional = true } # Für Library-Detektion \ No newline at end of file diff --git a/WatcherAgent/src/hardware/mod.rs b/WatcherAgent/src/hardware/mod.rs index f629912..4f20a62 100644 --- a/WatcherAgent/src/hardware/mod.rs +++ b/WatcherAgent/src/hardware/mod.rs @@ -1,10 +1,10 @@ //use anyhow::Result; use std::error::Error; -mod cpu; -mod disk; -mod gpu; -mod memory; +pub(crate) mod cpu; +pub(crate) mod disk; +pub(crate) mod gpu; +pub(crate) mod memory; pub(crate) mod network; pub use cpu::get_cpu_info;