hudhook 0.5.0

A graphics API hook with dear imgui render loop. Supports DirectX 9, 11, 12, and OpenGL 3.
[[example]]
crate-type = ["cdylib"]
name = "dx9_hook"

[[example]]
crate-type = ["cdylib"]
name = "dx11_hook"

[[example]]
crate-type = ["cdylib"]
name = "dx12_hook"

[[example]]
crate-type = ["cdylib"]
name = "opengl3_hook"

[[example]]
crate-type = ["cdylib"]
name = "dummy_hook"

[[example]]
crate-type = ["bin"]
name = "dx11_host"

[[example]]
crate-type = ["bin"]
name = "renderer-dx9"
path = "examples/renderers/dx9.rs"

[[example]]
crate-type = ["bin"]
name = "renderer-dx11"
path = "examples/renderers/dx11.rs"

[[example]]
crate-type = ["bin"]
name = "renderer-dx12"
path = "examples/renderers/dx12.rs"
[build-dependencies.cc]
version = "1.0.72"
[dependencies.imgui]
version = "0.11"

[dependencies.imgui-opengl]
version = "0.1"

[dependencies.memoffset]
version = "0.9.0"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.tracing]
features = ["log"]
version = "0.1"

[dependencies.windows]
features = ["Win32_Devices_HumanInterfaceDevice", "Win32_Foundation", "Foundation_Numerics", "Win32_Security", "Win32_System_Console", "Win32_System_Diagnostics_Debug", "Win32_System_Diagnostics_ToolHelp", "Win32_System_LibraryLoader", "Win32_System_Memory", "Win32_System_ProcessStatus", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_WindowsProgramming", "Win32_Graphics_Dxgi", "Win32_Graphics_Dxgi_Common", "Win32_Graphics_Direct3D9", "Win32_Graphics_Direct3D11", "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D_Fxc", "Win32_Graphics_Direct3D", "Win32_Graphics_Gdi", "Win32_Graphics_OpenGL", "Win32_UI_Input", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging"]
version = "0.51.0"
[dev-dependencies.tracing-subscriber]
version = "0.3"

[features]
default = ["dx9", "dx11", "dx12", "opengl3", "inject"]
dx11 = []
dx12 = []
dx9 = []
inject = []
opengl3 = []

[package]
authors = ["Andrea Venuta <venutawebdesign@gmail.com>"]
description = "A graphics API hook with dear imgui render loop. Supports DirectX 9, 11, 12, and OpenGL 3."
documentation = "https://veeenu.github.io/hudhook"
edition = "2021"
homepage = "https://github.com/veeenu/hudhook"
license-file = "LICENSE"
name = "hudhook"
readme = "README.md"
repository = "https://github.com/veeenu/hudhook"
version = "0.5.0"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
[profile.test]
lto = "thin"
opt-level = 3
overflow-checks = false