# 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 = "winapi-easy" version = "0.2.0" authors = ["Rolf Karp "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A safe interface to various winapi functionality" homepage = "https://github.com/rkarp/winapi-easy" documentation = "https://docs.rs/winapi-easy" readme = "README.md" keywords = [ "windows", "hotkey", "process", "taskbar", ] categories = [ "os::windows-apis", "api-bindings", "gui", ] license = "MIT OR Apache-2.0" [package.metadata.docs.rs] all-features = true targets = ["x86_64-pc-windows-msvc"] [lib] name = "winapi_easy" path = "src/lib.rs" [[example]] name = "flash_window" path = "examples/flash_window.rs" required-features = ["ui"] [[example]] name = "get_clipboard_file_list" path = "examples/get_clipboard_file_list.rs" required-features = ["clipboard"] [[example]] name = "get_window_infos" path = "examples/get_window_infos.rs" required-features = ["ui"] [[example]] name = "global_hotkeys" path = "examples/global_hotkeys.rs" required-features = [ "input", "ui", ] [[example]] name = "input_log" path = "examples/input_log.rs" required-features = ["hooking"] [[example]] name = "list_audio_devices" path = "examples/list_audio_devices.rs" required-features = ["media"] [[example]] name = "new_window" path = "examples/new_window.rs" required-features = ["ui"] [[example]] name = "refresh_icon_cache" path = "examples/refresh_icon_cache.rs" required-features = ["shell"] [[example]] name = "set_io_priority" path = "examples/set_io_priority.rs" required-features = [ "input", "ui", ] [dependencies.base64] version = "0.22.1" optional = true [dependencies.ntapi] version = "0.4.1" [dependencies.num_enum] version = "0.7.2" [dependencies.uuid] version = "1.9.1" features = [ "v4", "fast-rng", ] optional = true [dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_System_Com", "Win32_System_Memory", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", ] [dev-dependencies.more-asserts] version = "0.3.1" [build-dependencies.rustversion] version = "1.0.17" [features] clipboard = [ "windows/Win32_System_DataExchange", "windows/Win32_System_Ole", ] default = [ "clipboard", "fs", "hooking", "input", "media", "process", "shell", "ui", ] fs = [ "windows/Win32_Storage_FileSystem", "windows/Win32_System_WindowsProgramming", ] hooking = ["input"] input = [ "windows/Win32_System_Threading", "windows/Win32_UI_Input_KeyboardAndMouse", ] media = [ "windows/Win32_Devices_FunctionDiscovery", "windows/Win32_Graphics_Gdi", "windows/Win32_Media_Audio", "windows/Win32_UI_ColorSystem", "windows/Win32_UI_Shell_PropertiesSystem", "windows/Win32_System_Variant", ] process = [ "windows/Wdk_System_Threading", "windows/Win32_System_Diagnostics_ToolHelp", "windows/Win32_System_LibraryLoader", "windows/Win32_System_Threading", ] shell = [ "ui", "windows/Win32_UI_Shell_Common", ] ui = [ "base64", "uuid", "windows/Win32_Graphics_Gdi", "windows/Win32_System_Console", "windows/Win32_System_Shutdown", "windows/Win32_UI_Input_KeyboardAndMouse", ]