bhook 0.1.2

Lightweight hook crate with no_std support that works on x86, x86_64, arm and aarch64
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 = "bhook"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight hook crate with no_std support that works on x86, x86_64, arm and aarch64"
readme = "README.md"
keywords = [
    "hooking",
    "detour",
    "function",
    "nostd",
    "intercept",
]
categories = ["no-std"]
license = "CC0-1.0"
repository = "https://github.com/mcbegamerxx954/bhook"

[features]
cache_cleaning = ["dep:clear-cache"]
default = [
    "std",
    "cache_cleaning",
]
std = ["dep:region"]

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

[[test]]
name = "hooktest"
path = "tests/hooktest.rs"

[dependencies.clear-cache]
version = "0.1.2"
optional = true

[dependencies.region]
version = "3.0.2"
optional = true