Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (60 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (60 loc) · 1.57 KB
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
[package]
name = "nock"
version = "0.10.2"
ed
6962
ition = "2021"
description = "A tiny native notch and top bar for Windows, written in Rust"
[features]
default = ["media"]
# Now-playing via the Windows media session API (SMTC). Needs the WinRT bindings.
media = [
"windows/Media_Control",
"windows/Storage_Streams",
"windows/Foundation",
"windows/Foundation_Collections",
"windows/Devices_Radios","windows/Devices_Bluetooth","windows/Devices_Enumeration",
]
[dependencies]
windows-numerics = "0.3"
windows-core = "0.62"
windows = { version = "0.62.2", features = [
"Win32_Foundation",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct2D_Common",
"Win32_Graphics_DirectWrite",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_Graphics_Imaging",
"Win32_Media_Audio",
"Win32_Media_Audio_Endpoints",
"Win32_Storage_FileSystem",
"Win32_Security",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Variant",
"Win32_System_DataExchange",
"Win32_System_Diagnostics_Debug",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
"Win32_System_Ole",
"Win32_System_Registry",
"Win32_System_Shutdown",
"Win32_System_SystemInformation",
"Win32_System_Threading",
"Win32_System_Power",
"Win32_Devices_Bluetooth",
"Win32_System_IO",
"Win32_UI_Accessibility",
"Win32_UI_HiDpi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Shell",
"Win32_UI_Shell_Common",
"Win32_UI_WindowsAndMessaging",
] }
[build-dependencies]
winresource = "0.1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true