-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
50 lines (44 loc) · 1.29 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
[package]
name = "tray-item"
version = "0.10.0"
authors = ["Edwin Svensson <trayitemrs@olback.net>"]
edition = "2021"
description = "Super simple API to make tray icons/menus on Windows, Mac & Linux"
homepage = "https://github.com/olback/tray-item-rs"
repository = "https://github.com/olback/tray-item-rs"
readme = "README.md"
keywords = ["gui", "tray", "desktop", "tray-item"]
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
ksni = ["dep:ksni"]
libappindicator = ["dep:libappindicator", "dep:gtk"]
[dependencies]
ksni = { version = "0.2.0", optional = true }
libappindicator = { version = "0.9", optional = true } # Tray icon
gtk = { version = "0.18", optional = true }
[target.'cfg(target_os="windows")'.dependencies]
padlock = "0.2"
[target.'cfg(target_os="windows")'.dependencies.windows-sys]
version = "0.52.0"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[target.'cfg(target_os="macos")'.dependencies]
cocoa = "0.25"
objc = "0.2"
core-graphics = "0.23"
objc-foundation = "0.1"
objc_id = "0.1"
libc = "0.2"
[profile.release]
strip = true
opt-level = "z"
lto = true
incremental = false
codegen-units = 1
panic = "abort"