-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (39 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
49 lines (39 loc) · 1.21 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
[package]
name = "rust_cat"
version = "2.3.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
trayicon = "0.4.0"
flate2 = "1.1"
[target.'cfg(windows)'.dependencies]
winreg = "0.55.0"
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-app-kit = { version = "0.3" }
objc2-foundation = { version = "0.3" }
dirs = "6.0"
dispatch = "0.2.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
"Win32_System_Threading",
"Win32_System_SystemInformation"
]
[profile.release]
opt-level = "z" # Optimize for size
strip = true # Strip debug symbols
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce code generation units
panic = "abort" # Reduce panic code size
[build-dependencies]
flate2 = "1.1"
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[package.metadata.winres]
OriginalFilename = "rust_cat.exe"
FileDescription = "💻 => 🐈😺😸😹😻😼😽🐈⬛"
LegalCopyright = "Copyright © 2021 Bearice Ren <https://github.com/bearice/RustCat>"