[package]
edition = "2024"
name = "winhook"
version = "0.1.2"
authors = ["Dasaav"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "x86_64 function hooking library for Windows and Wine"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Dasaav-dsv/WinHook"
[package.metadata.docs.rs]
targets = ["x86_64-pc-windows-msvc"]
[lib]
name = "winhook"
path = "src/lib.rs"
[dependencies.closure-ffi]
version = "5.0"
[dependencies.closure-ffi-iced-x86]
version = "1.21.0-commit50066fb"
features = [
"decoder",
"block_encoder",
"no_std",
"exhaustive_enums",
"instr_info",
]
default-features = false
[dependencies.fxhash]
version = "0.2.1"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.smallvec]
version = "1.15.1"
features = [
"const_generics",
"const_new",
"union",
]
[dependencies.thiserror]
version = "2.0.16"
[dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_System_Diagnostics_Debug",
"Win32_System_Kernel",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
"Win32_System_ProcessStatus",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Wdk_Storage_FileSystem",
]