pake-cli 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -22
- package/dist/cli.js +8 -2
- package/package.json +2 -1
- package/src-tauri/Cargo.lock +219 -97
- package/src-tauri/Cargo.toml +3 -8
- package/src-tauri/icons/poe.icns +0 -0
- package/src-tauri/png/poe_256.ico +0 -0
- package/src-tauri/png/poe_32.ico +0 -0
- package/src-tauri/png/poe_512.png +0 -0
- package/src-tauri/src/app/menu.rs +1 -0
- package/src-tauri/src/inject/event.js +33 -4
- package/src-tauri/src/inject/style.js +16 -5
- package/src-tauri/src/main.rs +4 -1
package/README.md
CHANGED
|
@@ -51,15 +51,31 @@
|
|
|
51
51
|
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x64.msi">Windows</a>
|
|
52
52
|
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x86_64.deb">Linux</a>
|
|
53
53
|
</td>
|
|
54
|
+
<td>Poe
|
|
55
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Poe.dmg">Mac</a>
|
|
56
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Poe_x64.msi">Windows</a>
|
|
57
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Poe_x86_64.deb">Linux</a>
|
|
58
|
+
</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td><img src=https://cdn.fliggy.com/upic/0khyI4.png width=600/></td>
|
|
62
|
+
<td><img src=https://cdn.fliggy.com/upic/7QUfi3.png width=600/></td>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
54
65
|
<td>LiZhi
|
|
55
66
|
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi.dmg">Mac</a>
|
|
56
67
|
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x64.msi">Windows</a>
|
|
57
68
|
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x86_64.deb">Linux</a>
|
|
58
69
|
</td>
|
|
70
|
+
<td>ProgramMusic
|
|
71
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic.dmg">Mac</a>
|
|
72
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x64.msi">Windows</a>
|
|
73
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ProgramMusic_x86_64.deb">Linux</a>
|
|
74
|
+
</td>
|
|
59
75
|
</tr>
|
|
60
76
|
<tr>
|
|
61
|
-
<td><img src=https://cdn.fliggy.com/upic/0khyI4.png width=600/></td>
|
|
62
77
|
<td><img src=https://cdn.fliggy.com/upic/nYEKqN.jpg width=600/></td>
|
|
78
|
+
<td><img src=https://cdn.fliggy.com/upic/0C9lju.jpg width=600/></td>
|
|
63
79
|
</tr>
|
|
64
80
|
<tr>
|
|
65
81
|
<td>YouTube
|
|
@@ -78,41 +94,41 @@
|
|
|
78
94
|
<td><img src=https://cdn.fliggy.com/upic/sKN5Bn.png width=600/></td>
|
|
79
95
|
</tr>
|
|
80
96
|
<tr>
|
|
81
|
-
<td>
|
|
82
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
83
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
84
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
97
|
+
<td>Flomo
|
|
98
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo.dmg">Mac</a>
|
|
99
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x64.msi">Windows</a>
|
|
100
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x86_64.deb">Linux</a>
|
|
85
101
|
</td>
|
|
86
|
-
<td>
|
|
87
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
88
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
89
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
102
|
+
<td>Qwerty
|
|
103
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty.dmg">Mac</a>
|
|
104
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x64.msi">Windows</a>
|
|
105
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x86_64.deb">Linux</a>
|
|
90
106
|
</td>
|
|
91
107
|
</tr>
|
|
92
108
|
<tr>
|
|
93
|
-
<td><img src=https://
|
|
94
|
-
<td><img src=https://cdn.fliggy.com/upic/
|
|
109
|
+
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
|
110
|
+
<td><img src=https://cdn.fliggy.com/upic/i2eg6G.png width=600/></td>
|
|
95
111
|
</tr>
|
|
96
112
|
<tr>
|
|
97
|
-
<td>
|
|
98
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
99
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
100
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
113
|
+
<td>Reference
|
|
114
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference.dmg">Mac</a>
|
|
115
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x64.msi">Windows</a>
|
|
116
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x86_64.deb">Linux</a>
|
|
101
117
|
</td>
|
|
102
|
-
<td>
|
|
103
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
104
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
105
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
118
|
+
<td>CodeRunner
|
|
119
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner.dmg">Mac</a>
|
|
120
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x64.msi">Windows</a>
|
|
121
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/CodeRunner_x86_64.deb">Linux</a>
|
|
106
122
|
</td>
|
|
107
123
|
</tr>
|
|
108
124
|
<tr>
|
|
109
|
-
<td><img src=https://
|
|
110
|
-
<td><img src=https://cdn.fliggy.com/upic/
|
|
125
|
+
<td><img src=https://cdn.fliggy.com/upic/SPGMRY.png width=600/></td>
|
|
126
|
+
<td><img src=https://cdn.fliggy.com/upic/fS1lVi.jpg width=600/></td>
|
|
111
127
|
</tr>
|
|
112
128
|
</table>
|
|
113
129
|
|
|
114
130
|
<details>
|
|
115
|
-
<summary>🏂 You can download more applications
|
|
131
|
+
<summary>🏂 You can download more applications from <a href="https://github.com/tw93/Pake/releases">Releases</a>. <b>Click here to expand the shortcuts reference!</b></summary>
|
|
116
132
|
|
|
117
133
|
<br/>
|
|
118
134
|
|
package/dist/cli.js
CHANGED
|
@@ -1767,7 +1767,12 @@ function mergeTauriConfig(url, options, tauriConf) {
|
|
|
1767
1767
|
if (process.platform === "linux") {
|
|
1768
1768
|
delete tauriConf.tauri.bundle.deb.files;
|
|
1769
1769
|
if (["all", "deb", "appimage"].includes(options.targets)) {
|
|
1770
|
-
|
|
1770
|
+
if (options.targets === "all") {
|
|
1771
|
+
tauriConf.tauri.bundle.targets = ["deb", "appimage"];
|
|
1772
|
+
}
|
|
1773
|
+
else {
|
|
1774
|
+
tauriConf.tauri.bundle.targets = [options.targets];
|
|
1775
|
+
}
|
|
1771
1776
|
}
|
|
1772
1777
|
else {
|
|
1773
1778
|
logger.warn("targets must be 'all', 'deb', 'appimage', we will use default 'all'");
|
|
@@ -2518,7 +2523,7 @@ class BuilderFactory {
|
|
|
2518
2523
|
}
|
|
2519
2524
|
|
|
2520
2525
|
var name = "pake-cli";
|
|
2521
|
-
var version = "2.0.
|
|
2526
|
+
var version = "2.0.2";
|
|
2522
2527
|
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
|
2523
2528
|
var engines = {
|
|
2524
2529
|
node: ">=16.0.0"
|
|
@@ -2554,6 +2559,7 @@ var scripts = {
|
|
|
2554
2559
|
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
|
|
2555
2560
|
"build:all-unix": "chmod +x ./script/build.sh && ./script/build.sh",
|
|
2556
2561
|
"build:all-windows": "pwsh ./script/build.ps1",
|
|
2562
|
+
analyze: "cd src-tauri && cargo bloat --release --crates",
|
|
2557
2563
|
tauri: "tauri",
|
|
2558
2564
|
cli: "rollup -c rollup.config.js --watch",
|
|
2559
2565
|
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pake-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
|
|
37
37
|
"build:all-unix": "chmod +x ./script/build.sh && ./script/build.sh",
|
|
38
38
|
"build:all-windows": "pwsh ./script/build.ps1",
|
|
39
|
+
"analyze": "cd src-tauri && cargo bloat --release --crates",
|
|
39
40
|
"tauri": "tauri",
|
|
40
41
|
"cli": "rollup -c rollup.config.js --watch",
|
|
41
42
|
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
package/src-tauri/Cargo.lock
CHANGED
|
@@ -17,6 +17,15 @@ dependencies = [
|
|
|
17
17
|
"memchr",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "aho-corasick"
|
|
22
|
+
version = "1.0.1"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04"
|
|
25
|
+
dependencies = [
|
|
26
|
+
"memchr",
|
|
27
|
+
]
|
|
28
|
+
|
|
20
29
|
[[package]]
|
|
21
30
|
name = "alloc-no-stdlib"
|
|
22
31
|
version = "2.0.4"
|
|
@@ -34,14 +43,15 @@ dependencies = [
|
|
|
34
43
|
|
|
35
44
|
[[package]]
|
|
36
45
|
name = "anyhow"
|
|
37
|
-
version = "1.0.
|
|
46
|
+
version = "1.0.71"
|
|
38
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "
|
|
48
|
+
checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"
|
|
40
49
|
|
|
41
50
|
[[package]]
|
|
42
51
|
name = "app"
|
|
43
52
|
version = "0.1.0"
|
|
44
53
|
dependencies = [
|
|
54
|
+
"cargo-bloat",
|
|
45
55
|
"download_rs",
|
|
46
56
|
"serde",
|
|
47
57
|
"serde_json",
|
|
@@ -71,7 +81,7 @@ dependencies = [
|
|
|
71
81
|
"glib-sys",
|
|
72
82
|
"gobject-sys",
|
|
73
83
|
"libc",
|
|
74
|
-
"system-deps 6.0.
|
|
84
|
+
"system-deps 6.0.5",
|
|
75
85
|
]
|
|
76
86
|
|
|
77
87
|
[[package]]
|
|
@@ -117,6 +127,12 @@ dependencies = [
|
|
|
117
127
|
"serde",
|
|
118
128
|
]
|
|
119
129
|
|
|
130
|
+
[[package]]
|
|
131
|
+
name = "binfarce"
|
|
132
|
+
version = "0.2.1"
|
|
133
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
134
|
+
checksum = "18464ccbb85e5dede30d70cc7676dc9950a0fb7dbf595a43d765be9123c616a2"
|
|
135
|
+
|
|
120
136
|
[[package]]
|
|
121
137
|
name = "bitflags"
|
|
122
138
|
version = "1.3.2"
|
|
@@ -125,9 +141,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
125
141
|
|
|
126
142
|
[[package]]
|
|
127
143
|
name = "bitflags"
|
|
128
|
-
version = "2.1
|
|
144
|
+
version = "2.2.1"
|
|
129
145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
-
checksum = "
|
|
146
|
+
checksum = "24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813"
|
|
131
147
|
|
|
132
148
|
[[package]]
|
|
133
149
|
name = "block"
|
|
@@ -177,9 +193,9 @@ dependencies = [
|
|
|
177
193
|
|
|
178
194
|
[[package]]
|
|
179
195
|
name = "bumpalo"
|
|
180
|
-
version = "3.12.
|
|
196
|
+
version = "3.12.1"
|
|
181
197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
-
checksum = "
|
|
198
|
+
checksum = "9b1ce199063694f33ffb7dd4e0ee620741495c32833cde5aa08f02a0bf96f0c8"
|
|
183
199
|
|
|
184
200
|
[[package]]
|
|
185
201
|
name = "bytemuck"
|
|
@@ -226,7 +242,23 @@ checksum = "3c55d429bef56ac9172d25fecb85dc8068307d17acd74b377866b7a1ef25d3c8"
|
|
|
226
242
|
dependencies = [
|
|
227
243
|
"glib-sys",
|
|
228
244
|
"libc",
|
|
229
|
-
"system-deps 6.0.
|
|
245
|
+
"system-deps 6.0.5",
|
|
246
|
+
]
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "cargo-bloat"
|
|
250
|
+
version = "0.11.1"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "ac0d2f3bae7849957392be201f47a0f70409a2e1b335b17a7c85e3ce48a6e092"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"binfarce",
|
|
255
|
+
"json",
|
|
256
|
+
"memmap2",
|
|
257
|
+
"multimap",
|
|
258
|
+
"pdb",
|
|
259
|
+
"pico-args",
|
|
260
|
+
"regex",
|
|
261
|
+
"term_size",
|
|
230
262
|
]
|
|
231
263
|
|
|
232
264
|
[[package]]
|
|
@@ -272,11 +304,12 @@ dependencies = [
|
|
|
272
304
|
|
|
273
305
|
[[package]]
|
|
274
306
|
name = "cfg-expr"
|
|
275
|
-
version = "0.
|
|
307
|
+
version = "0.15.1"
|
|
276
308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
277
|
-
checksum = "
|
|
309
|
+
checksum = "c8790cf1286da485c72cf5fc7aeba308438800036ec67d89425924c4807268c9"
|
|
278
310
|
dependencies = [
|
|
279
311
|
"smallvec",
|
|
312
|
+
"target-lexicon",
|
|
280
313
|
]
|
|
281
314
|
|
|
282
315
|
[[package]]
|
|
@@ -400,9 +433,9 @@ dependencies = [
|
|
|
400
433
|
|
|
401
434
|
[[package]]
|
|
402
435
|
name = "cpufeatures"
|
|
403
|
-
version = "0.2.
|
|
436
|
+
version = "0.2.7"
|
|
404
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
405
|
-
checksum = "
|
|
438
|
+
checksum = "3e4c1eaa2012c47becbbad2ab175484c2a84d1185b566fb2cc5b8707343dfe58"
|
|
406
439
|
dependencies = [
|
|
407
440
|
"libc",
|
|
408
441
|
]
|
|
@@ -418,9 +451,9 @@ dependencies = [
|
|
|
418
451
|
|
|
419
452
|
[[package]]
|
|
420
453
|
name = "crossbeam-channel"
|
|
421
|
-
version = "0.5.
|
|
454
|
+
version = "0.5.8"
|
|
422
455
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
-
checksum = "
|
|
456
|
+
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
|
|
424
457
|
dependencies = [
|
|
425
458
|
"cfg-if 1.0.0",
|
|
426
459
|
"crossbeam-utils",
|
|
@@ -606,9 +639,9 @@ dependencies = [
|
|
|
606
639
|
|
|
607
640
|
[[package]]
|
|
608
641
|
name = "dunce"
|
|
609
|
-
version = "1.0.
|
|
642
|
+
version = "1.0.4"
|
|
610
643
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
611
|
-
checksum = "
|
|
644
|
+
checksum = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b"
|
|
612
645
|
|
|
613
646
|
[[package]]
|
|
614
647
|
name = "embed_plist"
|
|
@@ -652,6 +685,12 @@ dependencies = [
|
|
|
652
685
|
"libc",
|
|
653
686
|
]
|
|
654
687
|
|
|
688
|
+
[[package]]
|
|
689
|
+
name = "fallible-iterator"
|
|
690
|
+
version = "0.2.0"
|
|
691
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
692
|
+
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
693
|
+
|
|
655
694
|
[[package]]
|
|
656
695
|
name = "fastrand"
|
|
657
696
|
version = "1.9.0"
|
|
@@ -661,6 +700,15 @@ dependencies = [
|
|
|
661
700
|
"instant",
|
|
662
701
|
]
|
|
663
702
|
|
|
703
|
+
[[package]]
|
|
704
|
+
name = "fdeflate"
|
|
705
|
+
version = "0.3.0"
|
|
706
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
707
|
+
checksum = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
|
|
708
|
+
dependencies = [
|
|
709
|
+
"simd-adler32",
|
|
710
|
+
]
|
|
711
|
+
|
|
664
712
|
[[package]]
|
|
665
713
|
name = "field-offset"
|
|
666
714
|
version = "0.3.5"
|
|
@@ -685,9 +733,9 @@ dependencies = [
|
|
|
685
733
|
|
|
686
734
|
[[package]]
|
|
687
735
|
name = "flate2"
|
|
688
|
-
version = "1.0.
|
|
736
|
+
version = "1.0.26"
|
|
689
737
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
690
|
-
checksum = "
|
|
738
|
+
checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
|
|
691
739
|
dependencies = [
|
|
692
740
|
"crc32fast",
|
|
693
741
|
"miniz_oxide",
|
|
@@ -789,7 +837,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
|
|
|
789
837
|
dependencies = [
|
|
790
838
|
"proc-macro2",
|
|
791
839
|
"quote",
|
|
792
|
-
"syn 2.0.
|
|
840
|
+
"syn 2.0.15",
|
|
793
841
|
]
|
|
794
842
|
|
|
795
843
|
[[package]]
|
|
@@ -868,7 +916,7 @@ dependencies = [
|
|
|
868
916
|
"glib-sys",
|
|
869
917
|
"gobject-sys",
|
|
870
918
|
"libc",
|
|
871
|
-
"system-deps 6.0.
|
|
919
|
+
"system-deps 6.0.5",
|
|
872
920
|
]
|
|
873
921
|
|
|
874
922
|
[[package]]
|
|
@@ -885,7 +933,7 @@ dependencies = [
|
|
|
885
933
|
"libc",
|
|
886
934
|
"pango-sys",
|
|
887
935
|
"pkg-config",
|
|
888
|
-
"system-deps 6.0.
|
|
936
|
+
"system-deps 6.0.5",
|
|
889
937
|
]
|
|
890
938
|
|
|
891
939
|
[[package]]
|
|
@@ -897,21 +945,21 @@ dependencies = [
|
|
|
897
945
|
"gdk-sys",
|
|
898
946
|
"glib-sys",
|
|
899
947
|
"libc",
|
|
900
|
-
"system-deps 6.0.
|
|
948
|
+
"system-deps 6.0.5",
|
|
901
949
|
"x11",
|
|
902
950
|
]
|
|
903
951
|
|
|
904
952
|
[[package]]
|
|
905
953
|
name = "generator"
|
|
906
|
-
version = "0.7.
|
|
954
|
+
version = "0.7.4"
|
|
907
955
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
908
|
-
checksum = "
|
|
956
|
+
checksum = "f3e123d9ae7c02966b4d892e550bdc32164f05853cd40ab570650ad600596a8a"
|
|
909
957
|
dependencies = [
|
|
910
958
|
"cc",
|
|
911
959
|
"libc",
|
|
912
960
|
"log",
|
|
913
961
|
"rustversion",
|
|
914
|
-
"windows 0.
|
|
962
|
+
"windows 0.48.0",
|
|
915
963
|
]
|
|
916
964
|
|
|
917
965
|
[[package]]
|
|
@@ -972,7 +1020,7 @@ dependencies = [
|
|
|
972
1020
|
"glib-sys",
|
|
973
1021
|
"gobject-sys",
|
|
974
1022
|
"libc",
|
|
975
|
-
"system-deps 6.0.
|
|
1023
|
+
"system-deps 6.0.5",
|
|
976
1024
|
"winapi 0.3.9",
|
|
977
1025
|
]
|
|
978
1026
|
|
|
@@ -1018,7 +1066,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1018
1066
|
checksum = "ef4b192f8e65e9cf76cbf4ea71fa8e3be4a0e18ffe3d68b8da6836974cc5bad4"
|
|
1019
1067
|
dependencies = [
|
|
1020
1068
|
"libc",
|
|
1021
|
-
"system-deps 6.0.
|
|
1069
|
+
"system-deps 6.0.5",
|
|
1022
1070
|
]
|
|
1023
1071
|
|
|
1024
1072
|
[[package]]
|
|
@@ -1033,7 +1081,7 @@ version = "0.4.10"
|
|
|
1033
1081
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1034
1082
|
checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc"
|
|
1035
1083
|
dependencies = [
|
|
1036
|
-
"aho-corasick",
|
|
1084
|
+
"aho-corasick 0.7.20",
|
|
1037
1085
|
"bstr",
|
|
1038
1086
|
"fnv",
|
|
1039
1087
|
"log",
|
|
@@ -1048,7 +1096,7 @@ checksum = "0d57ce44246becd17153bd035ab4d32cfee096a657fc01f2231c9278378d1e0a"
|
|
|
1048
1096
|
dependencies = [
|
|
1049
1097
|
"glib-sys",
|
|
1050
1098
|
"libc",
|
|
1051
|
-
"system-deps 6.0.
|
|
1099
|
+
"system-deps 6.0.5",
|
|
1052
1100
|
]
|
|
1053
1101
|
|
|
1054
1102
|
[[package]]
|
|
@@ -1089,7 +1137,7 @@ dependencies = [
|
|
|
1089
1137
|
"gobject-sys",
|
|
1090
1138
|
"libc",
|
|
1091
1139
|
"pango-sys",
|
|
1092
|
-
"system-deps 6.0.
|
|
1140
|
+
"system-deps 6.0.5",
|
|
1093
1141
|
]
|
|
1094
1142
|
|
|
1095
1143
|
[[package]]
|
|
@@ -1439,6 +1487,12 @@ dependencies = [
|
|
|
1439
1487
|
"wasm-bindgen",
|
|
1440
1488
|
]
|
|
1441
1489
|
|
|
1490
|
+
[[package]]
|
|
1491
|
+
name = "json"
|
|
1492
|
+
version = "0.12.4"
|
|
1493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1494
|
+
checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd"
|
|
1495
|
+
|
|
1442
1496
|
[[package]]
|
|
1443
1497
|
name = "json-patch"
|
|
1444
1498
|
version = "0.2.7"
|
|
@@ -1504,15 +1558,15 @@ dependencies = [
|
|
|
1504
1558
|
|
|
1505
1559
|
[[package]]
|
|
1506
1560
|
name = "libc"
|
|
1507
|
-
version = "0.2.
|
|
1561
|
+
version = "0.2.142"
|
|
1508
1562
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1509
|
-
checksum = "
|
|
1563
|
+
checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317"
|
|
1510
1564
|
|
|
1511
1565
|
[[package]]
|
|
1512
1566
|
name = "libdbus-sys"
|
|
1513
|
-
version = "0.2.
|
|
1567
|
+
version = "0.2.5"
|
|
1514
1568
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1515
|
-
checksum = "
|
|
1569
|
+
checksum = "06085512b750d640299b79be4bad3d2fa90a9c00b1fd9e1b46364f66f0485c72"
|
|
1516
1570
|
dependencies = [
|
|
1517
1571
|
"pkg-config",
|
|
1518
1572
|
]
|
|
@@ -1538,9 +1592,9 @@ dependencies = [
|
|
|
1538
1592
|
|
|
1539
1593
|
[[package]]
|
|
1540
1594
|
name = "linux-raw-sys"
|
|
1541
|
-
version = "0.3.
|
|
1595
|
+
version = "0.3.6"
|
|
1542
1596
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1543
|
-
checksum = "
|
|
1597
|
+
checksum = "b64f40e5e03e0d54f03845c8197d0291253cdbedfb1cb46b13c2c117554a9f4c"
|
|
1544
1598
|
|
|
1545
1599
|
[[package]]
|
|
1546
1600
|
name = "lock_api"
|
|
@@ -1639,6 +1693,15 @@ version = "2.5.0"
|
|
|
1639
1693
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1640
1694
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
|
1641
1695
|
|
|
1696
|
+
[[package]]
|
|
1697
|
+
name = "memmap2"
|
|
1698
|
+
version = "0.5.10"
|
|
1699
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1700
|
+
checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
|
|
1701
|
+
dependencies = [
|
|
1702
|
+
"libc",
|
|
1703
|
+
]
|
|
1704
|
+
|
|
1642
1705
|
[[package]]
|
|
1643
1706
|
name = "memoffset"
|
|
1644
1707
|
version = "0.8.0"
|
|
@@ -1666,11 +1729,12 @@ dependencies = [
|
|
|
1666
1729
|
|
|
1667
1730
|
[[package]]
|
|
1668
1731
|
name = "miniz_oxide"
|
|
1669
|
-
version = "0.
|
|
1732
|
+
version = "0.7.1"
|
|
1670
1733
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1671
|
-
checksum = "
|
|
1734
|
+
checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
|
|
1672
1735
|
dependencies = [
|
|
1673
1736
|
"adler",
|
|
1737
|
+
"simd-adler32",
|
|
1674
1738
|
]
|
|
1675
1739
|
|
|
1676
1740
|
[[package]]
|
|
@@ -1736,6 +1800,12 @@ dependencies = [
|
|
|
1736
1800
|
"winapi 0.3.9",
|
|
1737
1801
|
]
|
|
1738
1802
|
|
|
1803
|
+
[[package]]
|
|
1804
|
+
name = "multimap"
|
|
1805
|
+
version = "0.8.3"
|
|
1806
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1807
|
+
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
|
|
1808
|
+
|
|
1739
1809
|
[[package]]
|
|
1740
1810
|
name = "native-tls"
|
|
1741
1811
|
version = "0.2.11"
|
|
@@ -1951,9 +2021,9 @@ dependencies = [
|
|
|
1951
2021
|
|
|
1952
2022
|
[[package]]
|
|
1953
2023
|
name = "openssl"
|
|
1954
|
-
version = "0.10.
|
|
2024
|
+
version = "0.10.52"
|
|
1955
2025
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1956
|
-
checksum = "
|
|
2026
|
+
checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56"
|
|
1957
2027
|
dependencies = [
|
|
1958
2028
|
"bitflags 1.3.2",
|
|
1959
2029
|
"cfg-if 1.0.0",
|
|
@@ -1972,7 +2042,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
|
|
1972
2042
|
dependencies = [
|
|
1973
2043
|
"proc-macro2",
|
|
1974
2044
|
"quote",
|
|
1975
|
-
"syn 2.0.
|
|
2045
|
+
"syn 2.0.15",
|
|
1976
2046
|
]
|
|
1977
2047
|
|
|
1978
2048
|
[[package]]
|
|
@@ -1983,9 +2053,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
|
|
1983
2053
|
|
|
1984
2054
|
[[package]]
|
|
1985
2055
|
name = "openssl-sys"
|
|
1986
|
-
version = "0.9.
|
|
2056
|
+
version = "0.9.87"
|
|
1987
2057
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1988
|
-
checksum = "
|
|
2058
|
+
checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e"
|
|
1989
2059
|
dependencies = [
|
|
1990
2060
|
"cc",
|
|
1991
2061
|
"libc",
|
|
@@ -2006,12 +2076,12 @@ dependencies = [
|
|
|
2006
2076
|
|
|
2007
2077
|
[[package]]
|
|
2008
2078
|
name = "os_pipe"
|
|
2009
|
-
version = "1.1.
|
|
2079
|
+
version = "1.1.4"
|
|
2010
2080
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2011
|
-
checksum = "
|
|
2081
|
+
checksum = "0ae859aa07428ca9a929b936690f8b12dc5f11dd8c6992a18ca93919f28bc177"
|
|
2012
2082
|
dependencies = [
|
|
2013
2083
|
"libc",
|
|
2014
|
-
"windows-sys 0.
|
|
2084
|
+
"windows-sys 0.48.0",
|
|
2015
2085
|
]
|
|
2016
2086
|
|
|
2017
2087
|
[[package]]
|
|
@@ -2042,7 +2112,7 @@ dependencies = [
|
|
|
2042
2112
|
"glib-sys",
|
|
2043
2113
|
"gobject-sys",
|
|
2044
2114
|
"libc",
|
|
2045
|
-
"system-deps 6.0.
|
|
2115
|
+
"system-deps 6.0.5",
|
|
2046
2116
|
]
|
|
2047
2117
|
|
|
2048
2118
|
[[package]]
|
|
@@ -2080,6 +2150,17 @@ version = "0.2.1"
|
|
|
2080
2150
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2081
2151
|
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
|
|
2082
2152
|
|
|
2153
|
+
[[package]]
|
|
2154
|
+
name = "pdb"
|
|
2155
|
+
version = "0.7.0"
|
|
2156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2157
|
+
checksum = "13f4d162ecaaa1467de5afbe62d597757b674b51da8bb4e587430c5fdb2af7aa"
|
|
2158
|
+
dependencies = [
|
|
2159
|
+
"fallible-iterator",
|
|
2160
|
+
"scroll",
|
|
2161
|
+
"uuid 0.8.2",
|
|
2162
|
+
]
|
|
2163
|
+
|
|
2083
2164
|
[[package]]
|
|
2084
2165
|
name = "percent-encoding"
|
|
2085
2166
|
version = "2.2.0"
|
|
@@ -2184,6 +2265,12 @@ dependencies = [
|
|
|
2184
2265
|
"siphasher",
|
|
2185
2266
|
]
|
|
2186
2267
|
|
|
2268
|
+
[[package]]
|
|
2269
|
+
name = "pico-args"
|
|
2270
|
+
version = "0.5.0"
|
|
2271
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2272
|
+
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
|
|
2273
|
+
|
|
2187
2274
|
[[package]]
|
|
2188
2275
|
name = "pin-project"
|
|
2189
2276
|
version = "1.0.12"
|
|
@@ -2237,19 +2324,20 @@ dependencies = [
|
|
|
2237
2324
|
"base64 0.21.0",
|
|
2238
2325
|
"indexmap",
|
|
2239
2326
|
"line-wrap",
|
|
2240
|
-
"quick-xml 0.28.
|
|
2327
|
+
"quick-xml 0.28.2",
|
|
2241
2328
|
"serde",
|
|
2242
2329
|
"time",
|
|
2243
2330
|
]
|
|
2244
2331
|
|
|
2245
2332
|
[[package]]
|
|
2246
2333
|
name = "png"
|
|
2247
|
-
version = "0.17.
|
|
2334
|
+
version = "0.17.8"
|
|
2248
2335
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2249
|
-
checksum = "
|
|
2336
|
+
checksum = "aaeebc51f9e7d2c150d3f3bfeb667f2aa985db5ef1e3d212847bdedb488beeaa"
|
|
2250
2337
|
dependencies = [
|
|
2251
2338
|
"bitflags 1.3.2",
|
|
2252
2339
|
"crc32fast",
|
|
2340
|
+
"fdeflate",
|
|
2253
2341
|
"flate2",
|
|
2254
2342
|
"miniz_oxide",
|
|
2255
2343
|
]
|
|
@@ -2326,9 +2414,9 @@ dependencies = [
|
|
|
2326
2414
|
|
|
2327
2415
|
[[package]]
|
|
2328
2416
|
name = "quick-xml"
|
|
2329
|
-
version = "0.28.
|
|
2417
|
+
version = "0.28.2"
|
|
2330
2418
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2331
|
-
checksum = "
|
|
2419
|
+
checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"
|
|
2332
2420
|
dependencies = [
|
|
2333
2421
|
"memchr",
|
|
2334
2422
|
]
|
|
@@ -2460,13 +2548,13 @@ dependencies = [
|
|
|
2460
2548
|
|
|
2461
2549
|
[[package]]
|
|
2462
2550
|
name = "regex"
|
|
2463
|
-
version = "1.
|
|
2551
|
+
version = "1.8.1"
|
|
2464
2552
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2465
|
-
checksum = "
|
|
2553
|
+
checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370"
|
|
2466
2554
|
dependencies = [
|
|
2467
|
-
"aho-corasick",
|
|
2555
|
+
"aho-corasick 1.0.1",
|
|
2468
2556
|
"memchr",
|
|
2469
|
-
"regex-syntax",
|
|
2557
|
+
"regex-syntax 0.7.1",
|
|
2470
2558
|
]
|
|
2471
2559
|
|
|
2472
2560
|
[[package]]
|
|
@@ -2475,7 +2563,7 @@ version = "0.1.10"
|
|
|
2475
2563
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2476
2564
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
|
2477
2565
|
dependencies = [
|
|
2478
|
-
"regex-syntax",
|
|
2566
|
+
"regex-syntax 0.6.29",
|
|
2479
2567
|
]
|
|
2480
2568
|
|
|
2481
2569
|
[[package]]
|
|
@@ -2484,6 +2572,12 @@ version = "0.6.29"
|
|
|
2484
2572
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2485
2573
|
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
|
2486
2574
|
|
|
2575
|
+
[[package]]
|
|
2576
|
+
name = "regex-syntax"
|
|
2577
|
+
version = "0.7.1"
|
|
2578
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2579
|
+
checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c"
|
|
2580
|
+
|
|
2487
2581
|
[[package]]
|
|
2488
2582
|
name = "reqwest"
|
|
2489
2583
|
version = "0.10.10"
|
|
@@ -2554,9 +2648,9 @@ dependencies = [
|
|
|
2554
2648
|
|
|
2555
2649
|
[[package]]
|
|
2556
2650
|
name = "rustix"
|
|
2557
|
-
version = "0.37.
|
|
2651
|
+
version = "0.37.18"
|
|
2558
2652
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2559
|
-
checksum = "
|
|
2653
|
+
checksum = "8bbfc1d1c7c40c01715f47d71444744a81669ca84e8b63e25a55e169b1f86433"
|
|
2560
2654
|
dependencies = [
|
|
2561
2655
|
"bitflags 1.3.2",
|
|
2562
2656
|
"errno",
|
|
@@ -2614,6 +2708,12 @@ version = "1.1.0"
|
|
|
2614
2708
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2615
2709
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
|
2616
2710
|
|
|
2711
|
+
[[package]]
|
|
2712
|
+
name = "scroll"
|
|
2713
|
+
version = "0.10.2"
|
|
2714
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2715
|
+
checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec"
|
|
2716
|
+
|
|
2617
2717
|
[[package]]
|
|
2618
2718
|
name = "security-framework"
|
|
2619
2719
|
version = "2.8.2"
|
|
@@ -2668,29 +2768,29 @@ dependencies = [
|
|
|
2668
2768
|
|
|
2669
2769
|
[[package]]
|
|
2670
2770
|
name = "serde"
|
|
2671
|
-
version = "1.0.
|
|
2771
|
+
version = "1.0.160"
|
|
2672
2772
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2673
|
-
checksum = "
|
|
2773
|
+
checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c"
|
|
2674
2774
|
dependencies = [
|
|
2675
2775
|
"serde_derive",
|
|
2676
2776
|
]
|
|
2677
2777
|
|
|
2678
2778
|
[[package]]
|
|
2679
2779
|
name = "serde_derive"
|
|
2680
|
-
version = "1.0.
|
|
2780
|
+
version = "1.0.160"
|
|
2681
2781
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2682
|
-
checksum = "
|
|
2782
|
+
checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df"
|
|
2683
2783
|
dependencies = [
|
|
2684
2784
|
"proc-macro2",
|
|
2685
2785
|
"quote",
|
|
2686
|
-
"syn 2.0.
|
|
2786
|
+
"syn 2.0.15",
|
|
2687
2787
|
]
|
|
2688
2788
|
|
|
2689
2789
|
[[package]]
|
|
2690
2790
|
name = "serde_json"
|
|
2691
|
-
version = "1.0.
|
|
2791
|
+
version = "1.0.96"
|
|
2692
2792
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2693
|
-
checksum = "
|
|
2793
|
+
checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
|
|
2694
2794
|
dependencies = [
|
|
2695
2795
|
"itoa 1.0.6",
|
|
2696
2796
|
"ryu",
|
|
@@ -2705,7 +2805,7 @@ checksum = "bcec881020c684085e55a25f7fd888954d56609ef363479dc5a1305eb0d40cab"
|
|
|
2705
2805
|
dependencies = [
|
|
2706
2806
|
"proc-macro2",
|
|
2707
2807
|
"quote",
|
|
2708
|
-
"syn 2.0.
|
|
2808
|
+
"syn 2.0.15",
|
|
2709
2809
|
]
|
|
2710
2810
|
|
|
2711
2811
|
[[package]]
|
|
@@ -2822,6 +2922,12 @@ dependencies = [
|
|
|
2822
2922
|
"libc",
|
|
2823
2923
|
]
|
|
2824
2924
|
|
|
2925
|
+
[[package]]
|
|
2926
|
+
name = "simd-adler32"
|
|
2927
|
+
version = "0.3.5"
|
|
2928
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2929
|
+
checksum = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"
|
|
2930
|
+
|
|
2825
2931
|
[[package]]
|
|
2826
2932
|
name = "siphasher"
|
|
2827
2933
|
version = "0.3.10"
|
|
@@ -2963,9 +3069,9 @@ dependencies = [
|
|
|
2963
3069
|
|
|
2964
3070
|
[[package]]
|
|
2965
3071
|
name = "syn"
|
|
2966
|
-
version = "2.0.
|
|
3072
|
+
version = "2.0.15"
|
|
2967
3073
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2968
|
-
checksum = "
|
|
3074
|
+
checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
|
|
2969
3075
|
dependencies = [
|
|
2970
3076
|
"proc-macro2",
|
|
2971
3077
|
"quote",
|
|
@@ -2987,11 +3093,11 @@ dependencies = [
|
|
|
2987
3093
|
|
|
2988
3094
|
[[package]]
|
|
2989
3095
|
name = "system-deps"
|
|
2990
|
-
version = "6.0.
|
|
3096
|
+
version = "6.0.5"
|
|
2991
3097
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2992
|
-
checksum = "
|
|
3098
|
+
checksum = "d0fe581ad25d11420b873cf9aedaca0419c2b411487b134d4d21065f3d092055"
|
|
2993
3099
|
dependencies = [
|
|
2994
|
-
"cfg-expr 0.
|
|
3100
|
+
"cfg-expr 0.15.1",
|
|
2995
3101
|
"heck 0.4.1",
|
|
2996
3102
|
"pkg-config",
|
|
2997
3103
|
"toml 0.7.3",
|
|
@@ -3040,7 +3146,7 @@ dependencies = [
|
|
|
3040
3146
|
"scopeguard",
|
|
3041
3147
|
"serde",
|
|
3042
3148
|
"unicode-segmentation",
|
|
3043
|
-
"uuid 1.3.
|
|
3149
|
+
"uuid 1.3.2",
|
|
3044
3150
|
"windows 0.39.0",
|
|
3045
3151
|
"windows-implement",
|
|
3046
3152
|
"x11-dl",
|
|
@@ -3057,6 +3163,12 @@ dependencies = [
|
|
|
3057
3163
|
"xattr",
|
|
3058
3164
|
]
|
|
3059
3165
|
|
|
3166
|
+
[[package]]
|
|
3167
|
+
name = "target-lexicon"
|
|
3168
|
+
version = "0.12.7"
|
|
3169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3170
|
+
checksum = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5"
|
|
3171
|
+
|
|
3060
3172
|
[[package]]
|
|
3061
3173
|
name = "tauri"
|
|
3062
3174
|
version = "1.2.4"
|
|
@@ -3102,9 +3214,9 @@ dependencies = [
|
|
|
3102
3214
|
"tauri-utils",
|
|
3103
3215
|
"tempfile",
|
|
3104
3216
|
"thiserror",
|
|
3105
|
-
"tokio 1.
|
|
3217
|
+
"tokio 1.28.0",
|
|
3106
3218
|
"url",
|
|
3107
|
-
"uuid 1.3.
|
|
3219
|
+
"uuid 1.3.2",
|
|
3108
3220
|
"webkit2gtk",
|
|
3109
3221
|
"webview2-com",
|
|
3110
3222
|
"windows 0.39.0",
|
|
@@ -3148,7 +3260,7 @@ dependencies = [
|
|
|
3148
3260
|
"tauri-utils",
|
|
3149
3261
|
"thiserror",
|
|
3150
3262
|
"time",
|
|
3151
|
-
"uuid 1.3.
|
|
3263
|
+
"uuid 1.3.2",
|
|
3152
3264
|
"walkdir",
|
|
3153
3265
|
]
|
|
3154
3266
|
|
|
@@ -3169,10 +3281,10 @@ dependencies = [
|
|
|
3169
3281
|
[[package]]
|
|
3170
3282
|
name = "tauri-plugin-window-state"
|
|
3171
3283
|
version = "0.1.0"
|
|
3172
|
-
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=dev#
|
|
3284
|
+
source = "git+https://github.com/tauri-apps/plugins-workspace?branch=dev#8de442113f51bf0016fd8cddb71eeba354d3e6d9"
|
|
3173
3285
|
dependencies = [
|
|
3174
3286
|
"bincode",
|
|
3175
|
-
"bitflags 2.1
|
|
3287
|
+
"bitflags 2.2.1",
|
|
3176
3288
|
"log",
|
|
3177
3289
|
"serde",
|
|
3178
3290
|
"serde_json",
|
|
@@ -3195,7 +3307,7 @@ dependencies = [
|
|
|
3195
3307
|
"serde_json",
|
|
3196
3308
|
"tauri-utils",
|
|
3197
3309
|
"thiserror",
|
|
3198
|
-
"uuid 1.3.
|
|
3310
|
+
"uuid 1.3.2",
|
|
3199
3311
|
"webview2-com",
|
|
3200
3312
|
"windows 0.39.0",
|
|
3201
3313
|
]
|
|
@@ -3213,7 +3325,7 @@ dependencies = [
|
|
|
3213
3325
|
"raw-window-handle",
|
|
3214
3326
|
"tauri-runtime",
|
|
3215
3327
|
"tauri-utils",
|
|
3216
|
-
"uuid 1.3.
|
|
3328
|
+
"uuid 1.3.2",
|
|
3217
3329
|
"webkit2gtk",
|
|
3218
3330
|
"webview2-com",
|
|
3219
3331
|
"windows 0.39.0",
|
|
@@ -3283,6 +3395,16 @@ dependencies = [
|
|
|
3283
3395
|
"utf-8",
|
|
3284
3396
|
]
|
|
3285
3397
|
|
|
3398
|
+
[[package]]
|
|
3399
|
+
name = "term_size"
|
|
3400
|
+
version = "0.3.2"
|
|
3401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3402
|
+
checksum = "1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9"
|
|
3403
|
+
dependencies = [
|
|
3404
|
+
"libc",
|
|
3405
|
+
"winapi 0.3.9",
|
|
3406
|
+
]
|
|
3407
|
+
|
|
3286
3408
|
[[package]]
|
|
3287
3409
|
name = "thin-slice"
|
|
3288
3410
|
version = "0.1.1"
|
|
@@ -3306,7 +3428,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
|
|
|
3306
3428
|
dependencies = [
|
|
3307
3429
|
"proc-macro2",
|
|
3308
3430
|
"quote",
|
|
3309
|
-
"syn 2.0.
|
|
3431
|
+
"syn 2.0.15",
|
|
3310
3432
|
]
|
|
3311
3433
|
|
|
3312
3434
|
[[package]]
|
|
@@ -3387,15 +3509,15 @@ dependencies = [
|
|
|
3387
3509
|
|
|
3388
3510
|
[[package]]
|
|
3389
3511
|
name = "tokio"
|
|
3390
|
-
version = "1.
|
|
3512
|
+
version = "1.28.0"
|
|
3391
3513
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3392
|
-
checksum = "
|
|
3514
|
+
checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f"
|
|
3393
3515
|
dependencies = [
|
|
3394
3516
|
"autocfg",
|
|
3395
3517
|
"bytes 1.4.0",
|
|
3396
3518
|
"num_cpus",
|
|
3397
3519
|
"pin-project-lite 0.2.9",
|
|
3398
|
-
"windows-sys 0.
|
|
3520
|
+
"windows-sys 0.48.0",
|
|
3399
3521
|
]
|
|
3400
3522
|
|
|
3401
3523
|
[[package]]
|
|
@@ -3497,13 +3619,13 @@ dependencies = [
|
|
|
3497
3619
|
|
|
3498
3620
|
[[package]]
|
|
3499
3621
|
name = "tracing-attributes"
|
|
3500
|
-
version = "0.1.
|
|
3622
|
+
version = "0.1.24"
|
|
3501
3623
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3502
|
-
checksum = "
|
|
3624
|
+
checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74"
|
|
3503
3625
|
dependencies = [
|
|
3504
3626
|
"proc-macro2",
|
|
3505
3627
|
"quote",
|
|
3506
|
-
"syn
|
|
3628
|
+
"syn 2.0.15",
|
|
3507
3629
|
]
|
|
3508
3630
|
|
|
3509
3631
|
[[package]]
|
|
@@ -3539,9 +3661,9 @@ dependencies = [
|
|
|
3539
3661
|
|
|
3540
3662
|
[[package]]
|
|
3541
3663
|
name = "tracing-subscriber"
|
|
3542
|
-
version = "0.3.
|
|
3664
|
+
version = "0.3.17"
|
|
3543
3665
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3544
|
-
checksum = "
|
|
3666
|
+
checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77"
|
|
3545
3667
|
dependencies = [
|
|
3546
3668
|
"matchers",
|
|
3547
3669
|
"nu-ansi-term",
|
|
@@ -3644,9 +3766,9 @@ checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
|
|
3644
3766
|
|
|
3645
3767
|
[[package]]
|
|
3646
3768
|
name = "uuid"
|
|
3647
|
-
version = "1.3.
|
|
3769
|
+
version = "1.3.2"
|
|
3648
3770
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3649
|
-
checksum = "
|
|
3771
|
+
checksum = "4dad5567ad0cf5b760e5665964bec1b47dfd077ba8a2544b513f3556d3d239a2"
|
|
3650
3772
|
dependencies = [
|
|
3651
3773
|
"getrandom 0.2.9",
|
|
3652
3774
|
]
|
|
@@ -3835,7 +3957,7 @@ dependencies = [
|
|
|
3835
3957
|
"pango-sys",
|
|
3836
3958
|
"pkg-config",
|
|
3837
3959
|
"soup2-sys",
|
|
3838
|
-
"system-deps 6.0.
|
|
3960
|
+
"system-deps 6.0.5",
|
|
3839
3961
|
]
|
|
3840
3962
|
|
|
3841
3963
|
[[package]]
|
|
@@ -3948,11 +4070,11 @@ dependencies = [
|
|
|
3948
4070
|
|
|
3949
4071
|
[[package]]
|
|
3950
4072
|
name = "windows"
|
|
3951
|
-
version = "0.
|
|
4073
|
+
version = "0.48.0"
|
|
3952
4074
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3953
|
-
checksum = "
|
|
4075
|
+
checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
|
|
3954
4076
|
dependencies = [
|
|
3955
|
-
"windows-targets 0.
|
|
4077
|
+
"windows-targets 0.48.0",
|
|
3956
4078
|
]
|
|
3957
4079
|
|
|
3958
4080
|
[[package]]
|
|
@@ -4196,9 +4318,9 @@ checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
|
|
|
4196
4318
|
|
|
4197
4319
|
[[package]]
|
|
4198
4320
|
name = "winnow"
|
|
4199
|
-
version = "0.4.
|
|
4321
|
+
version = "0.4.4"
|
|
4200
4322
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4201
|
-
checksum = "
|
|
4323
|
+
checksum = "5617da7e1f97bf363947d767b91aaf3c2bbc19db7fda9c65af1278713d58e0a2"
|
|
4202
4324
|
dependencies = [
|
|
4203
4325
|
"memchr",
|
|
4204
4326
|
]
|
package/src-tauri/Cargo.toml
CHANGED
|
@@ -21,6 +21,9 @@ tauri = { version = "1.2.4", features = ["api-all", "system-tray"] }
|
|
|
21
21
|
download_rs = { version = "0.2.0", features = ["sync_download"] }
|
|
22
22
|
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
|
|
23
23
|
|
|
24
|
+
[dev-dependencies]
|
|
25
|
+
cargo-bloat = "0.11.1"
|
|
26
|
+
|
|
24
27
|
[features]
|
|
25
28
|
# by default Tauri runs in production mode
|
|
26
29
|
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
|
|
@@ -28,11 +31,3 @@ default = ["custom-protocol"]
|
|
|
28
31
|
# this feature is used used for production builds where `devPath` points to the filesystem
|
|
29
32
|
# DO NOT remove this
|
|
30
33
|
custom-protocol = ["tauri/custom-protocol"]
|
|
31
|
-
|
|
32
|
-
# Pay attention to the code size during optimization in order to generate smaller binary files.
|
|
33
|
-
# [profile.release]
|
|
34
|
-
# panic = "abort" # Strip expensive panic clean-up logic
|
|
35
|
-
# codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
36
|
-
# lto = true # Enables link to optimizations
|
|
37
|
-
# opt-level = "s" # Optimize for binary size
|
|
38
|
-
# strip = true # Remove debug symbols
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -38,6 +38,7 @@ pub fn get_menu() -> Menu {
|
|
|
38
38
|
pub fn menu_event_handle(event: WindowMenuEvent) {
|
|
39
39
|
if event.menu_item_id() == "close" {
|
|
40
40
|
event.window().minimize().expect("can't minimize window");
|
|
41
|
+
event.window().eval("toggleVideoPlayback(true);").unwrap();
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
if event.menu_item_id() == "goto_url" {
|
|
@@ -116,14 +116,20 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
116
116
|
const absoluteUrl = hrefUrl.href;
|
|
117
117
|
|
|
118
118
|
// Handling external link redirection.
|
|
119
|
-
if (
|
|
119
|
+
if (
|
|
120
|
+
window.location.host !== hrefUrl.host &&
|
|
121
|
+
(target === '_blank' || target === '_new')
|
|
122
|
+
) {
|
|
120
123
|
e.preventDefault();
|
|
121
124
|
invoke('open_browser', { url: absoluteUrl });
|
|
122
125
|
return;
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
// Process download links for Rust to handle.
|
|
126
|
-
if (
|
|
129
|
+
if (
|
|
130
|
+
/\.[a-zA-Z0-9]+$/i.test(removeUrlParameters(absoluteUrl)) &&
|
|
131
|
+
!externalDownLoadLink()
|
|
132
|
+
) {
|
|
127
133
|
e.preventDefault();
|
|
128
134
|
invoke('download_file', {
|
|
129
135
|
params: {
|
|
@@ -135,8 +141,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
135
141
|
}
|
|
136
142
|
});
|
|
137
143
|
|
|
138
|
-
setDefaultZoom();
|
|
139
|
-
|
|
140
144
|
// Rewrite the window.open function.
|
|
141
145
|
const originalWindowOpen = window.open;
|
|
142
146
|
window.open = function (url, name, specs) {
|
|
@@ -153,6 +157,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
153
157
|
// Call the original window.open function to maintain its normal functionality.
|
|
154
158
|
return originalWindowOpen.call(window, url, name, specs);
|
|
155
159
|
};
|
|
160
|
+
|
|
161
|
+
// Set the default zoom, There are problems with Loop without using try-catch.
|
|
162
|
+
try {
|
|
163
|
+
setDefaultZoom();
|
|
164
|
+
} catch (e) {
|
|
165
|
+
console.log(e);
|
|
166
|
+
}
|
|
156
167
|
});
|
|
157
168
|
|
|
158
169
|
function setDefaultZoom() {
|
|
@@ -173,3 +184,21 @@ function removeUrlParameters(url) {
|
|
|
173
184
|
parsedUrl.search = '';
|
|
174
185
|
return parsedUrl.toString();
|
|
175
186
|
}
|
|
187
|
+
|
|
188
|
+
// No need to go to the download link.
|
|
189
|
+
function externalDownLoadLink() {
|
|
190
|
+
return ['quickref.me'].indexOf(location.hostname) > -1;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Toggle video playback when the window is hidden.
|
|
194
|
+
function toggleVideoPlayback(pause) {
|
|
195
|
+
const videos = document.getElementsByTagName('video');
|
|
196
|
+
for (const video of videos) {
|
|
197
|
+
if (pause) {
|
|
198
|
+
video.pause();
|
|
199
|
+
} else {
|
|
200
|
+
video.play();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
@@ -17,7 +17,10 @@ window.addEventListener('DOMContentLoaded', (_event) => {
|
|
|
17
17
|
#root > div > div.fixed.top-0.left-0.w-64.h-screen.p-10.pb-0.flex.flex-col.justify-between > div > div.space-y-4 > a:nth-child(3),
|
|
18
18
|
#app > div.layout > div.main-container > div.side-bar > div,
|
|
19
19
|
#app > div.layout > div.main-container > div.side-bar > li.divider,
|
|
20
|
-
#Rightbar > div:nth-child(6) > div.sidebar_compliance
|
|
20
|
+
#Rightbar > div:nth-child(6) > div.sidebar_compliance,
|
|
21
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > a.ChatPageFollowTwitterLink_followLink__Gl2tt,
|
|
22
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > a.Button_buttonBase__0QP_m.Button_primary__pIDjn.ChatPageDownloadLinks_downloadButton__amBRh,
|
|
23
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside > div > div > section a[href*="/contact"] {
|
|
21
24
|
display: none !important;
|
|
22
25
|
}
|
|
23
26
|
|
|
@@ -31,12 +34,19 @@ window.addEventListener('DOMContentLoaded', (_event) => {
|
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
#page .main_header, .cb-layout-basic--navbar,
|
|
34
|
-
#app .splitpanes.splitpanes--horizontal.no-splitter header
|
|
37
|
+
#app .splitpanes.splitpanes--horizontal.no-splitter header,
|
|
38
|
+
.fui-FluentProvider .fui-Button[data-testid="HomeButton"],
|
|
39
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside .ChatPageSidebar_logo__9PIXq {
|
|
35
40
|
padding-top: 20px;
|
|
36
41
|
}
|
|
37
42
|
|
|
38
|
-
.
|
|
39
|
-
|
|
43
|
+
#__next .PageWithSidebarLayout_mainSection__i1yOg {
|
|
44
|
+
width: 100%;
|
|
45
|
+
max-width: 1000px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > aside{
|
|
49
|
+
min-width: 260px;
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
.chakra-ui-light #app .chakra-heading,
|
|
@@ -44,7 +54,8 @@ window.addEventListener('DOMContentLoaded', (_event) => {
|
|
|
44
54
|
.chakra-ui-light #app .chakra-stack,
|
|
45
55
|
.chakra-ui-dark #app .chakra-stack,
|
|
46
56
|
.app-main .sidebar-mouse-in-out,
|
|
47
|
-
.chakra-modal__content-container .chakra-modal__header > div > div
|
|
57
|
+
.chakra-modal__content-container .chakra-modal__header > div > div,
|
|
58
|
+
#__next > div.PageWithSidebarLayout_centeringDiv___L9br > section > header {
|
|
48
59
|
padding-top: 10px;
|
|
49
60
|
}
|
|
50
61
|
|
package/src-tauri/src/main.rs
CHANGED
|
@@ -56,7 +56,10 @@ pub fn run_app() {
|
|
|
56
56
|
.on_window_event(|event| {
|
|
57
57
|
if let tauri::WindowEvent::CloseRequested { api, .. } = event.event() {
|
|
58
58
|
#[cfg(target_os = "macos")]
|
|
59
|
-
|
|
59
|
+
{
|
|
60
|
+
event.window().minimize().unwrap();
|
|
61
|
+
event.window().eval("toggleVideoPlayback(true);").unwrap();
|
|
62
|
+
}
|
|
60
63
|
|
|
61
64
|
#[cfg(not(target_os = "macos"))]
|
|
62
65
|
event.window().close().unwrap();
|