Files
ghost/ghost-core/Cargo.toml
Adir Shitrit bcf934fac2 Add YARA dependency and implement rule compilation
- Added yara crate v0.28 to ghost-core dependencies
- Implemented real YARA rule compilation from .yar/.yara files
- Added recursive rule file discovery in rules directory
- Implemented memory scanning with compiled YARA rules
- Added proper error handling for rule compilation and scanning
- Cross-platform memory reading support (Windows, Linux, macOS stub)

Generated with [Claude Code](https://claude.com/claude-code)
2025-11-21 00:35:37 +02:00

35 lines
844 B
TOML

[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
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
toml = "0.8"
chrono = "0.4"
yara = "0.28"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Diagnostics_Debug",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
"Win32_System_Memory",
"Win32_System_LibraryLoader",
"Win32_Security",
"Win32_UI_WindowsAndMessaging",
] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"