win-auto-utils 0.2.1

Universal Windows automation utilities with memory, window, input, and color operations
# 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 = "2021"
name = "win-auto-utils"
version = "0.2.1"
authors = ["CC"]
build = false
exclude = [
    ".git/*",
    ".github/*",
    "target/*",
    "docs/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal Windows automation utilities with memory, window, input, and color operations"
documentation = "https://docs.rs/win-auto-utils"
readme = "README.md"
keywords = [
    "windows",
    "automation",
    "memory",
    "input",
    "hook",
]
categories = [
    "os::windows-apis",
    "development-tools",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/creayhx/win-auto-utils"

[features]
clipboard = [
    "dep:windows",
    "windows/Win32_System_DataExchange",
    "windows/Win32_System_Memory",
]
color_finder = ["dxgi"]
color_picker = [
    "dep:windows",
    "windows/Win32_Graphics_Gdi",
]
default = ["standard"]
dll_injector = [
    "snapshot",
    "dep:windows",
    "windows/Win32_Foundation",
    "windows/Win32_System_LibraryLoader",
    "windows/Win32_System_Memory",
    "windows/Win32_System_Threading",
    "windows/Win32_System_Diagnostics_Debug",
    "windows/Win32_Security",
]
dxgi = [
    "dep:windows",
    "windows/Win32_Graphics_Dxgi",
    "windows/Win32_Graphics_Dxgi_Common",
    "windows/Win32_Graphics_Direct3D",
    "windows/Win32_Graphics_Direct3D11",
    "windows/Win32_Foundation",
    "windows/Win32_Graphics_Gdi",
]
full = [
    "standard",
    "template_matcher",
]
handle = [
    "dep:windows",
    "windows/Win32_Foundation",
    "windows/Win32_System_Threading",
]
hdc = [
    "dep:windows",
    "windows/Win32_Graphics_Gdi",
    "windows/Win32_UI_WindowsAndMessaging",
]
hwnd = [
    "dep:windows",
    "windows/Win32_UI_WindowsAndMessaging",
    "windows/Win32_Foundation",
]
keyboard = [
    "dep:windows",
    "utils_key_code",
    "utils_thread",
    "windows/Win32_UI_Input_KeyboardAndMouse",
    "windows/Win32_UI_WindowsAndMessaging",
]
memory = [
    "dep:windows",
    "windows/Win32_Foundation",
    "windows/Win32_System_Diagnostics_Debug",
    "windows/Win32_System_Threading",
]
memory_aobscan = [
    "memory",
    "snapshot",
    "dep:memchr",
    "dep:rayon",
]
memory_hook = [
    "memory",
    "dep:windows",
    "windows/Win32_Foundation",
    "windows/Win32_System_Memory",
    "windows/Win32_System_Threading",
]
memory_register_extractor = ["memory_hook"]
memory_resolver = [
    "memory",
    "snapshot",
]
mouse = [
    "dep:windows",
    "utils_thread",
    "windows/Win32_UI_Input_KeyboardAndMouse",
    "windows/Win32_UI_WindowsAndMessaging",
]
process = [
    "dep:windows",
    "hwnd",
    "hdc",
    "snapshot",
    "handle",
]
script_engine = []
script_process_context = [
    "dep:windows",
    "windows/Win32_Foundation",
    "windows/Win32_Graphics_Gdi",
]
scripts_builtin = [
    "scripts_control_flow",
    "scripts_mode",
    "scripts_keyboard",
    "scripts_mouse",
    "scripts_timing",
    "scripts_terminator",
    "scripts_window",
]
scripts_control_flow = [
    "script_engine",
    "scripts_terminator",
]
scripts_keyboard = [
    "script_engine",
    "keyboard",
]
scripts_keyboard_with_post = [
    "scripts_keyboard",
    "script_process_context",
]
scripts_mode = ["script_engine"]
scripts_mouse = [
    "script_engine",
    "mouse",
]
scripts_mouse_with_post = [
    "scripts_mouse",
    "script_process_context",
]
scripts_terminator = []
scripts_timing = [
    "script_engine",
    "scripts_terminator",
    "utils_thread",
]
scripts_window = [
    "script_engine",
    "script_process_context",
    "window",
]
snapshot = [
    "dep:windows",
    "utils_chars",
    "windows/Win32_System_Threading",
    "windows/Win32_System_Diagnostics_ToolHelp",
]
standard = [
    "process",
    "hwnd",
    "window",
    "snapshot",
    "handle",
    "hdc",
    "keyboard",
    "mouse",
    "clipboard",
    "dxgi",
    "color_picker",
    "color_finder",
    "memory",
    "memory_resolver",
    "memory_aobscan",
    "memory_hook",
    "memory_register_extractor",
    "dll_injector",
    "script_engine",
    "script_process_context",
    "scripts_builtin",
    "scripts_keyboard_with_post",
    "scripts_mouse_with_post",
    "utils",
]
template_matcher = [
    "dxgi",
    "dep:image",
    "image?/png",
    "image?/jpeg",
    "image?/rayon",
    "dep:imageproc",
    "imageproc?/rayon",
]
utils = [
    "utils_key_code",
    "utils_chars",
    "utils_thread",
]
utils_chars = []
utils_key_code = []
utils_thread = []
window = [
    "dep:windows",
    "utils_chars",
    "windows/Win32_UI_WindowsAndMessaging",
    "windows/Win32_Graphics_Gdi",
]

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

[[example]]
name = "active_instruction"
path = "examples/active_instruction.rs"

[[example]]
name = "aobscan_64bit_bytecode"
path = "examples/aobscan_64bit_bytecode.rs"

[[example]]
name = "clipboard_usage"
path = "examples/clipboard_usage.rs"

[[example]]
name = "color_conversion"
path = "examples/color_conversion.rs"

[[example]]
name = "color_reexports"
path = "examples/color_reexports.rs"

[[example]]
name = "custom_init_flags"
path = "examples/custom_init_flags.rs"

[[example]]
name = "dll_injection"
path = "examples/dll_injection.rs"
required-features = [
    "dll_injector",
    "snapshot",
]

[[example]]
name = "dxgi_capture"
path = "examples/dxgi_capture.rs"

[[example]]
name = "dxgi_performance_comparison"
path = "examples/dxgi_performance_comparison.rs"

[[example]]
name = "process_manager_example"
path = "examples/process_manager_example.rs"

[[example]]
name = "script_engine"
path = "examples/script_engine.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.image]
version = "0.25"
optional = true
default-features = false

[dependencies.imageproc]
version = "0.25"
optional = true
default-features = false

[dependencies.memchr]
version = "2.8"
optional = true

[dependencies.rayon]
version = "1.12"
optional = true

[dependencies.windows]
version = "0.62"
optional = true
default-features = false