-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
108 lines (94 loc) · 2.84 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
[package]
name = "Capter"
version = "3.0.1"
description = "Cross-Platform Screen Capture and Annotation Tool"
edition = "2024"
authors = ["decipher"]
build = "build.rs"
[dependencies]
anyhow = "*"
arboard = { version = "*", features = [
"wayland-data-control",
"wl-clipboard-rs",
] }
chrono = { version = "*", default-features = false, features = ["clock"] }
dirs = "*"
edit-xml = "*"
iced = { git = "https://github.com/iced-rs/iced.git", branch = "master", default-features = false, features = [
"advanced",
"canvas",
"image",
"lazy",
"tokio",
] }
iced_anim = { git = "https://github.com/Brady-Simon/iced_anim.git", branch = "iced/master", features = [
"derive",
] }
interprocess = { version = "*", features = ["tokio"] }
mouse_position = "*"
opener = "*"
rdev = { git = "https://github.com/rustdesk-org/rdev", branch = "master" }
resvg = { version = "*", default-features = false, features = ["text"] }
rfd = "*"
serde = { version = "*", features = ["derive"] }
tokio = { version = "*", default-features = false, features = ["time"] }
toml = { version = "*" }
tray-icon = "*"
xcap = { version = "*", default-features = false }
[target.'cfg( target_os = "windows" )'.dependencies]
win32_notif = "*"
[target.'cfg( target_os = "linux" )'.dependencies]
gtk = "0.18"
notify-rust = { version = "*", features = ["images"] }
[target.'cfg( target_os = "macos")'.dependencies]
notify-rust = { version = "*", features = ["images"] }
[target.'cfg( target_os = "windows" )'.build-dependencies]
winresource = "*"
[package.metadata.winresource]
ProductName = "Capter"
FileDescription = "Capter"
[package.metadata.packager]
product-name = "Capter"
identifier = "io.github.decipher.capter"
authors = ["decipher"]
publisher = "decipher"
category = "Utility"
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"
[package.metadata.packager.deb]
depends = [
"libgtk-3-dev",
"libxdo-dev",
"libayatana-appindicator3-dev",
"libxcb1",
"libxrandr2",
"libdbus-1-3",
]
[package.metadata.packager.pacman]
source = [
"${pkgname}-${pkgver}.tar.gz::https://github.com/decipher3114/Capter/releases/latest/download/capter_${pkgver}_x86_64.tar.gz",
]
depends = [
"gtk3",
"xdotool",
"libayatana-appindicator",
"libxcb",
"libxrandr",
"dbus",
]