min_hook_rs 2.2.0

A Rust implementation of MinHook library for Windows x64 function hooking with simplified but reliable instruction decoding
Documentation
# 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 = "min_hook_rs"
version = "2.2.0"
authors = ["Rukkhadevata123 <rukkhadevata@foxmail.com>"]
build = false
exclude = [
    "examples/",
    "minhook/",
    ".github/",
    "*.exe",
    "*.dll",
    "target/",
    ".vscode/",
    "Cargo.lock",
    "gs_bilibili/",
    "fpsunlock/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of MinHook library for Windows x64 function hooking with simplified but reliable instruction decoding"
homepage = "https://github.com/Rukkhadevata123/min_hook_rs"
documentation = "https://docs.rs/min_hook_rs"
readme = "README.md"
keywords = [
    "hook",
    "windows",
    "x64",
    "function",
    "detour",
]
categories = [
    "os::windows-apis",
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/Rukkhadevata123/min_hook_rs"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]

[lib]
name = "min_hook_rs"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.serde_json]
version = "1.0"

[dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
    "Win32_System_Environment",
    "Win32_System_Memory",
    "Win32_System_Kernel",
    "Win32_System_ProcessStatus",
    "Win32_System_SystemInformation",
    "Win32_System_IO",
    "Win32_System_SystemServices",
    "Win32_System_Diagnostics_Debug",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_LibraryLoader",
    "Win32_System_Threading",
    "Win32_System_Console",
    "Win32_Security",
    "Win32_Storage",
    "Win32_Storage_FileSystem",
]

[profile.release]
opt-level = "z"
lto = true
panic = "abort"