-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
154 lines (146 loc) · 4.14 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[package]
name = "webapps"
version = "1.0.1"
edition = "2021"
description = "Web applications at your fingertips"
authors = ["hepp3n", "cosmic-utils"]
license = "GPL-3.0-only"
repository = "https://github.com/cosmic-utils/web-apps"
[[bin]]
path = "src/main.rs"
name = "quick-webapps"
[profile.dev]
opt-level = 1
[build-dependencies]
vergen = { version = "8", features = ["git", "gitcl"] }
[dependencies]
anyhow = "1"
ashpd = { version = "0.10", features = ["wayland"] }
base64 = "0.22"
bytes = "1.9"
dirs = "6.0"
freedesktop-desktop-entry = { git = "https://github.com/pop-os/freedesktop-desktop-entry" }
futures-util = "0.3"
i18n-embed-fl = "0.9"
i18n-embed = { version = "0.15", features = ["fluent-system", "desktop-requester"]}
image = "0.25"
lazy_static = "1.5"
once_cell = "1.2"
open = "5.3"
rand = "0.9"
reqwest = { version = "0.12", features = ["blocking", "json"] }
ron = "0.9.0-alpha.1"
rust-embed = "8.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
strum = "0.26"
strum_macros = "0.26"
svg = "0.18"
tokio = { version = "1.4", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = [
"std",
"fmt",
"env-filter",
] }
url = "2.5"
urlencoding = "2.1"
usvg = "0.44"
walkdir = "2.5"
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
features = [
# Accessibility support
"a11y",
# Uses cosmic-settings-daemon to watch for config file changes
"dbus-config",
# Support creating additional application windows.
"multi-window",
# On app startup, focuses an existing instance if the app is already open
"single-instance",
# Uses tokio as the executor for the runtime
"tokio",
# Windowing support for X11, Windows, Mac, & Redox
"winit",
# Add Wayland support to winit
"wayland",
# GPU-accelerated rendering
"wgpu",
]
# Packaging for Deb #
[package.metadata.deb]
license-file = "LICENSE"
assets = [
[
"target/release/quick-webapps",
"usr/bin/",
"755",
],
[
"res/io.github.elevenhsoft.WebApps.desktop",
"usr/share/applications/",
"644",
],
[
"res/io.github.elevenhsoft.WebApps.metainfo.xml",
"usr/share/metainfo/",
"644",
],
[
"res/icons/hicolor/**/*",
"usr/share/icons/hicolor/",
"644",
],
]
# Packaging for RPM #
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/quick-webapps", dest = "/usr/bin/", mode = "755" },
{ source = "LICENSE", dest = "/usr/share/doc/wizard/LICENSE", doc = true, mode = "644" },
{ source = "res/*.desktop", dest = "/usr/share/applications/", mode = "644" },
{ source = "res/icons/hicolor/**/*", dest = "/usr/share/icons/hicolor/", mode = "644" },
]
# Packaging for Aur #
[package.metadata.aur]
files = [
[
"res/io.github.elevenhsoft.WebApps.desktop",
"/usr/share/applications/io.github.elevenhsoft.WebApps.desktop",
],
[
"res/io.github.elevenhsoft.WebApps.metainfo.xml",
"/usr/share/metainfo/io.github.elevenhsoft.WebApps.metainfo.xml",
],
[
"LICENSE",
"/usr/share/doc/quick-webapps/LICENSE",
],
[
"res/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/16x16/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/24x24/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/32x32/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/48x48/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/64x64/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/128x128/apps/io.github.elevenhsoft.WebApps.png",
],
[
"res/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.png",
"/usr/share/icons/hicolor/256x256/apps/io.github.elevenhsoft.WebApps.png",
],
]