# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "hook_king"
version = "0.1.3"
authors = ["Ken Masters <GameHackingDojo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level automated hooking library with detours, trampolines, and memory management. Supports internal/external process hooking with optional original code preservation."
documentation = "https://docs.rs/hook_king"
readme = "README.md"
keywords = [
    "hook",
    "detour",
    "trampoline",
    "assembly",
    "code-injection",
]
categories = [
    "memory-management",
    "os",
    "development-tools::debugging",
    "api-bindings",
]
license = "GPL-3.0"
license-file = "LICENSE"
repository = "https://github.com/GameHackingDojo/hook_king"

[lib]
name = "hook_king"
path = "src/lib.rs"

[[test]]
name = "test_exe"
path = "tests/test_exe.rs"
harness = false

[dependencies.dashmap]
version = "=6.1.0"

[dependencies.iced-x86]
version = "1.21.0"
features = ["code_asm"]

[dependencies.paste]
version = "1.0.15"

[dependencies.winapi]
version = "0.3.9"
features = [
    "consoleapi",
    "wincon",
    "processthreadsapi",
    "libloaderapi",
    "memoryapi",
    "wow64apiset",
]

[dev-dependencies]
