-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
129 lines (120 loc) · 3.41 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
[package]
name = "webapps"
version = "0.5.3"
edition = "2021"
description = "Web applications at your fingertips"
authors = ["cosmic-utils"]
license = "GPL-3.0-only"
repository = "https://github.com/cosmic-utils/web-apps.git"
[[bin]]
path = "src/main.rs"
name = "quick-webapps"
[profile.dev]
opt-level = 1
overflow-checks = false
[dependencies]
anyhow = "1"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
tokio = { version = "1.40", features = ["full"] }
reqwest = { version = "0.12", features = ["blocking", "json"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.8.5"
url = "2.5"
walkdir = "2.5"
dirs = "5.0"
once_cell = "1.20"
image = "0.25"
usvg = "0.44"
lazy_static = "1.5"
rust-embed = "8.5"
i18n-embed-fl = "0.9"
bytes = "1.8"
svg = "0.18"
base64 = "0.22"
ashpd = { version = "0.10", features = ["wayland"] }
freedesktop-desktop-entry = "0.7"
[dependencies.i18n-embed]
version = "0.15"
features = ["fluent-system", "desktop-requester"]
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic"
default-features = false
features = ["tokio", "winit", "wgpu", "multi-window"]
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
[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",
],
]
[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" },
]
[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",
],
]