add ghost-core with basic process enumeration

This commit is contained in:
Adir Shitrit
2025-11-07 18:02:30 +02:00
parent 55a8a90ce9
commit 8b55344d9b
3 changed files with 107 additions and 0 deletions

24
ghost-core/Cargo.toml Normal file
View File

@@ -0,0 +1,24 @@
[package]
name = "ghost-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
[dependencies]
anyhow.workspace = true
thiserror.workspace = true
log.workspace = true
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
"Win32_System_Memory",
"Win32_Security",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"