-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
128 lines (112 loc) · 2.65 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[package]
name = "winapi-easy"
version = "0.2.0"
edition = "2021"
authors = ["Rolf Karp <rolf.karp@gmail.com>"]
license = "MIT OR Apache-2.0"
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"]
[package.metadata.docs.rs]
targets = ["x86_64-pc-windows-msvc"]
all-features = true
[dependencies]
base64 = { version = "0.22.1", optional = true}
ntapi = "0.4.1"
num_enum = "0.7.2"
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 = "0.3.1"
[build-dependencies]
rustversion = "1.0.17"
[features]
default = [
"clipboard",
"fs",
"hooking",
"input",
"media",
"process",
"shell",
"ui",
]
clipboard = [
"windows/Win32_System_DataExchange",
"windows/Win32_System_Ole",
]
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",
]
[[example]]
name = "flash_window"
required-features = ["ui"]
[[example]]
name = "get_clipboard_file_list"
required-features = ["clipboard"]
[[example]]
name = "get_window_infos"
required-features = ["ui"]
[[example]]
name = "global_hotkeys"
required-features = ["input", "ui"]
[[example]]
name = "input_log"
required-features = ["hooking"]
[[example]]
name = "list_audio_devices"
required-features = ["media"]
[[example]]
name = "new_window"
required-features = ["ui"]
[[example]]
name = "refresh_icon_cache"
required-features = ["shell"]
[[example]]
name = "set_io_priority"
required-features = ["input", "ui"]