-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (88 loc) · 2.58 KB
/
Copy pathCargo.toml
File metadata and controls
100 lines (88 loc) · 2.58 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
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
[package]
name = "capter"
version = "4.0.1"
edition = "2024"
description = "Cross-Platform Screen Capture and Annotation Tool"
readme = "README.md"
license = "Apache-2.0"
categories = ["Utility"]
build = "build.rs"
[package.metadata.winresource]
ProductName = "capter"
FileDescription = "capter"
[package.metadata.packager]
product-name = "Capter"
identifier = "io.github.decipher.capter"
authors = ["decipher"]
publisher = "decipher"
category = "Utility"
license-file = "LICENSE"
copyright = "Copyright © decipher"
before-packaging-command = "cargo build --release"
icons = [
"assets/resources/windows/icon.ico",
"assets/resources/macos/icon.icns",
"assets/resources/linux/hicolor/*/apps/capter.png",
]
out-dir = "target/packages"
[package.metadata.packager.wix]
banner-path = "assets/images/wix_banner.png"
dialog-image-path = "assets/images/dialog_image.png"
[package.metadata.packager.windows]
digest-algorithim = "SHA256"
certificate-thumbprint = "07a9c417660868a4420fe9e2f8b6ac2e1a33228a"
tsp = true
timestamp-url = "http://timestamp.digicert.com"
[package.metadata.packager.macos]
minimum-system-version = "10.13"
[dependencies]
anyhow = "1.0"
arboard = { version = "3.6", features = [
"wayland-data-control",
"wl-clipboard-rs",
] }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
dark-light = "2.0"
dirs = "6.0"
edit-xml = "0.1"
iced = { git = "https://github.com/iced-rs/iced.git", branch = "master", features = [
"advanced",
"canvas",
"image",
"lazy",
"tokio",
] }
interprocess = { version = "2.2", features = ["tokio"] }
mouse_position = "0.1"
opener = "0.8"
rdev = { git = "https://github.com/rustdesk-org/rdev", branch = "master" }
resvg = { version = "0.45", default-features = false, features = ["text"] }
rfd = "0.15"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.47", default-features = false, features = ["time"] }
toml = { version = "0.9" }
tray-icon = "0.21"
xcap = { version = "0.7", default-features = false }
[target.'cfg( target_os = "linux" )'.dependencies]
gtk = "0.18"
notify-rust = { version = "4.11", features = ["images"] }
[target.'cfg( target_os = "macos")'.dependencies]
notify-rust = { version = "4.11", features = ["images"] }
[target.'cfg( target_os = "windows" )'.dependencies]
win32_notif = "0.7"
[target.'cfg( target_os = "windows" )'.build-dependencies]
winresource = "0.1"
[profile.dev]
opt-level = 0
debug = false
overflow-checks = true
panic = "unwind"
incremental = true
codegen-units = 256
[profile.release]
opt-level = 3
strip = "symbols"
overflow-checks = false
lto = true
panic = "abort"
codegen-units = 1