-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
Copy pathCargo.toml
171 lines (161 loc) · 6.78 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
cargo-features = ["profile-rustflags", "codegen-backend"]
[package]
name = "seelen-ui"
version = "2.1.9"
description = "Seelen UI Background"
authors = ["eythaann"]
license = "Polyform Strict License"
repository = "https://github.com/eythaann/seelen-ui.git"
default-run = "seelen-ui"
edition = "2021"
rust-version = "1.70"
build = "scripts/build.rs"
[[bin]]
name = "seelen-ui"
path = "src/background/main.rs"
[[bin]]
name = "slu-service"
path = "src/service/main.rs"
[profile.dev]
debug = "full"
strip = "symbols"
incremental = true
rustflags = ["-Z", "threads=8", "-C", "link-arg=-fuse-ld=lld"]
[profile.release]
debug = "limited"
strip = "symbols"
opt-level = "z"
lto = true
codegen-units = 1
rustflags = ["-Z", "threads=8", "-C", "link-arg=-fuse-ld=lld"]
[build-dependencies]
tauri-build = { version = "2.0.0", features = [] }
[dependencies]
tauri = { version = "2.0.0", features = [
"protocol-asset",
"tray-icon",
"image-png",
] }
tauri-plugin-fs = "2.0.0"
tauri-plugin-dialog = "2.0.0"
tauri-plugin-autostart = "2.0.0"
tauri-plugin-shell = "2.0.0"
tauri-plugin-process = "2.0.0"
tauri-plugin-log = "2.0.0"
tauri-plugin-updater = "2.0.0"
tauri-plugin-deep-link = "2.0.0"
tauri-plugin-http = "2.0.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9.34"
lazy_static = "1.4.0"
parking_lot = "0.12.1"
log = "0.4"
uuid = "1.8.0"
image = { version = "0.25.5", features = ["ico"] }
widestring = "1.0.2"
itertools = "0.12.1"
clap = { version = "4.5.4", features = ["derive", "string"] }
os_info = "3.9.2"
crossbeam-channel = "0.5.12"
regex = "1.11.1"
getset = "0.1.3"
phf = "0.11.2"
sysinfo = "0.30.12"
battery = "0.7.8"
winvd = { git = "https://github.com/eythaann/virtualdesktopaccessor.git" }
winreg = "0.52.0"
windows-core = "0.59.0" # windows-rs already depends and reexports this, but we need it as a direct dependency (implement macro)
win-screenshot = "4.0.8"
base64 = "0.22.1"
arc-swap = "1.7.1"
notify-debouncer-full = "0.3.1"
encoding_rs = "0.8.35"
evalexpr = "=11.3.0"
quick-xml = { version = "0.36.2", features = ["serialize", "encoding"] }
backtrace = "0.3.71"
owo-colors = "4.1.0"
rust-i18n = "3.1.2"
[dependencies.seelen-core]
git = "https://github.com/Seelen-Inc/slu-lib.git" # for release/pre-release/nightly
# path = "../slu-lib" # for local development
[dependencies.windows]
version = "0.59.0"
features = [
"Win32_Foundation",
"ApplicationModel",
"ApplicationModel_Core", # uwp apps
"ApplicationModel_Background", # background taks
"Foundation_Collections", # uwp apps
"Management_Deployment", # uwp apps
"Win32_Globalization",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_Accessibility",
"Win32_UI_Controls",
"Win32_Graphics_Dwm",
"Win32_Graphics_Gdi",
"Win32_UI_HiDpi",
"Win32_System_Ole",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_Variant",
"Win32_System_LibraryLoader",
"Win32_System_SystemInformation",
"Win32_System_Console", # required to attach to console on cli mode
"Win32_System_Registry", # required for system tray icon module
"Win32_Security", # required for power management (shutdown, reboot)
"Win32_Security_Authorization", # required to change security on services
"Win32_System_Kernel",
"Win32_System_IO", # Input/Output devices
"Win32_System_Services",
"Win32_System_EventLog", # needed for logger on service
"Win32_System_TaskScheduler",
"Win32_System_Threading",
"Win32_System_WinRT", # uwp apps
"Win32_System_StationsAndDesktops",
"Win32_System_RemoteDesktop",
"Win32_System_ProcessStatus",
"Wdk_System_Threading", # required to get system info (NtQueryInformationProcess)
"Wdk_System_SystemInformation", # required to get system info (NtQuerySystemInformation)
"Wdk_System_SystemServices", # required to get system info (PROCESS_EXTENDED_BASIC_INFORMATION)
"Win32_System_Power", # required for power management (battery - AC)
"Win32_System_Shutdown", # required for power management (shutdown)
"Win32_Storage_FileSystem", # PKEYS and Devices/Storage/etc
"Win32_Storage_EnhancedStorage", # PKEYS and Devices/Storage/etc
"Win32_Storage_Packaging_Appx", # UWP apps
"Win32_Security_Authentication_Identity",
"Win32_Media_KernelStreaming", # required for audio module
"Win32_Media_Audio_Endpoints", # required for audio module
"Win32_Media_Audio_Apo", # required for audio module
"Win32_Media_DeviceManager", # required for audio module
"Media", # required for audio module
"Media_Audio", # required for audio module
"Media_Render", # required for audio module
"Media_Capture", # required for audio module
"Media_Effects", # required for audio module
"Media_Control", # required for audio module
"Storage_Streams", # required for audio module
"Win32_Devices_Display", # required for display (brightness, etc)
"Win32_Devices_FunctionDiscovery", # PKEYS for Devices
"Devices_Custom",
"UI_Core",
"UI_Notifications_Management", # required for notifications
"UI_ViewManagement", # required for colors UISettings
"deprecated", # (UI_ViewManagement) https://github.com/microsoft/windows-rs/issues/3425 remove on update to ^0.60.0
"Win32_NetworkManagement_IpHelper", # required for network manager
"Win32_NetworkManagement_Ndis", # required for network manager
"Win32_Networking_WinSock", # required for network manager
"Win32_Networking_NetworkListManager", # required for network manager // events
"Win32_NetworkManagement_WiFi", # required for network manager // wifi
"Devices_Bluetooth", # required for bluetooth handling // bluetooth
"Devices_Enumeration", # required for bluetooth handling // bluetooth
"Devices_Radios", # required for bluetooth handling // bluetooth
]
[features]
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
custom-protocol = ["tauri/custom-protocol"]
devtools = ["tauri/devtools"]