-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (51 loc) · 1.52 KB
/
Cargo.toml
File metadata and controls
55 lines (51 loc) · 1.52 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
[package]
name = "symphony-memory-guard"
version = "1.1.0"
edition = "2024"
authors = ["Symphony"]
description = "A high-performance, lightweight anti-crash and system stability tool for Windows that manages system-wide memory commitment."
repository = "https://github.com/Symphony/symphony-memory-guard"
license = "MIT OR Apache-2.0"
[dependencies]
windows = { version = "0.62.2", features = [
"Win32_Foundation",
"Win32_System_SystemInformation",
"Win32_System_ProcessStatus",
"Win32_System_Threading",
"Win32_System_Memory",
"Win32_Security",
"Win32_System_Diagnostics_ToolHelp",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
"Gaming_Preview_GamesEnumeration",
"Foundation_Collections",
"Foundation",
"Win32_System_WinRT",
"Win32_System_Console",
"Win32_Storage_FileSystem",
] }
anyhow = "1.0"
log = "0.4"
env_logger = "0.11"
clap = { version = "4.5", features = ["derive"] }
csv = "1.3"
serde = { version = "1.0", features = ["derive"] }
chrono = "0.4"
tray-icon = "0.21.3"
notify-rust = { version = "4.11", optional = true }
safe_arch = "1.0.0"
cfg-if = "1.0"
simdutf8 = { version = "0.1.5", default-features = false }
utf16-simd = "0.1"
winreg = "0.55.0"
[features]
default = ["notify"]
notify = ["dep:notify-rust"]
[profile.release]
opt-level = 3 # Maximize performance
lto = true # Link Time Optimization
codegen-units = 1 # Better optimization
panic = "abort" # Reduce binary size
strip = true # Strip symbols
[build-dependencies]
winres = "0.1.12"