reallink-cli 0.1.14 → 0.1.15
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/package.json +1 -1
- package/prebuilt/win32-x64/reallink-cli.exe +0 -0
- package/rust/Cargo.lock +173 -7
- package/rust/Cargo.toml +7 -2
- package/rust/src/logs.rs +277 -277
- package/rust/src/main.rs +7157 -6377
- package/rust/src/unreal.rs +316 -266
package/package.json
CHANGED
|
Binary file
|
package/rust/Cargo.lock
CHANGED
|
@@ -106,6 +106,12 @@ version = "3.20.2"
|
|
|
106
106
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
107
|
checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
|
|
108
108
|
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "byteorder"
|
|
111
|
+
version = "1.5.0"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
114
|
+
|
|
109
115
|
[[package]]
|
|
110
116
|
name = "bytes"
|
|
111
117
|
version = "1.11.1"
|
|
@@ -246,6 +252,12 @@ dependencies = [
|
|
|
246
252
|
"typenum",
|
|
247
253
|
]
|
|
248
254
|
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "data-encoding"
|
|
257
|
+
version = "2.10.0"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea"
|
|
260
|
+
|
|
249
261
|
[[package]]
|
|
250
262
|
name = "derive_arbitrary"
|
|
251
263
|
version = "1.4.2"
|
|
@@ -305,6 +317,16 @@ version = "1.0.2"
|
|
|
305
317
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
318
|
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
307
319
|
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "errno"
|
|
322
|
+
version = "0.3.14"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
325
|
+
dependencies = [
|
|
326
|
+
"libc",
|
|
327
|
+
"windows-sys 0.61.2",
|
|
328
|
+
]
|
|
329
|
+
|
|
308
330
|
[[package]]
|
|
309
331
|
name = "find-msvc-tools"
|
|
310
332
|
version = "0.1.9"
|
|
@@ -345,6 +367,23 @@ version = "0.3.32"
|
|
|
345
367
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
368
|
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
347
369
|
|
|
370
|
+
[[package]]
|
|
371
|
+
name = "futures-macro"
|
|
372
|
+
version = "0.3.32"
|
|
373
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
374
|
+
checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
|
|
375
|
+
dependencies = [
|
|
376
|
+
"proc-macro2",
|
|
377
|
+
"quote",
|
|
378
|
+
"syn",
|
|
379
|
+
]
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "futures-sink"
|
|
383
|
+
version = "0.3.32"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
|
|
386
|
+
|
|
348
387
|
[[package]]
|
|
349
388
|
name = "futures-task"
|
|
350
389
|
version = "0.3.32"
|
|
@@ -358,6 +397,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
358
397
|
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
359
398
|
dependencies = [
|
|
360
399
|
"futures-core",
|
|
400
|
+
"futures-macro",
|
|
401
|
+
"futures-sink",
|
|
361
402
|
"futures-task",
|
|
362
403
|
"pin-project-lite",
|
|
363
404
|
"slab",
|
|
@@ -412,6 +453,17 @@ version = "0.5.0"
|
|
|
412
453
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
413
454
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
414
455
|
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "hostname"
|
|
458
|
+
version = "0.4.2"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"cfg-if",
|
|
463
|
+
"libc",
|
|
464
|
+
"windows-link",
|
|
465
|
+
]
|
|
466
|
+
|
|
415
467
|
[[package]]
|
|
416
468
|
name = "http"
|
|
417
469
|
version = "1.4.0"
|
|
@@ -486,7 +538,7 @@ dependencies = [
|
|
|
486
538
|
"tokio",
|
|
487
539
|
"tokio-rustls",
|
|
488
540
|
"tower-service",
|
|
489
|
-
"webpki-roots",
|
|
541
|
+
"webpki-roots 1.0.6",
|
|
490
542
|
]
|
|
491
543
|
|
|
492
544
|
[[package]]
|
|
@@ -921,7 +973,7 @@ dependencies = [
|
|
|
921
973
|
"bytes",
|
|
922
974
|
"getrandom 0.3.4",
|
|
923
975
|
"lru-slab",
|
|
924
|
-
"rand",
|
|
976
|
+
"rand 0.9.2",
|
|
925
977
|
"ring",
|
|
926
978
|
"rustc-hash",
|
|
927
979
|
"rustls",
|
|
@@ -962,14 +1014,35 @@ version = "5.3.0"
|
|
|
962
1014
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
963
1015
|
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
964
1016
|
|
|
1017
|
+
[[package]]
|
|
1018
|
+
name = "rand"
|
|
1019
|
+
version = "0.8.5"
|
|
1020
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1021
|
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
1022
|
+
dependencies = [
|
|
1023
|
+
"libc",
|
|
1024
|
+
"rand_chacha 0.3.1",
|
|
1025
|
+
"rand_core 0.6.4",
|
|
1026
|
+
]
|
|
1027
|
+
|
|
965
1028
|
[[package]]
|
|
966
1029
|
name = "rand"
|
|
967
1030
|
version = "0.9.2"
|
|
968
1031
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
969
1032
|
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
|
|
970
1033
|
dependencies = [
|
|
971
|
-
"rand_chacha",
|
|
972
|
-
"rand_core",
|
|
1034
|
+
"rand_chacha 0.9.0",
|
|
1035
|
+
"rand_core 0.9.5",
|
|
1036
|
+
]
|
|
1037
|
+
|
|
1038
|
+
[[package]]
|
|
1039
|
+
name = "rand_chacha"
|
|
1040
|
+
version = "0.3.1"
|
|
1041
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1042
|
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
1043
|
+
dependencies = [
|
|
1044
|
+
"ppv-lite86",
|
|
1045
|
+
"rand_core 0.6.4",
|
|
973
1046
|
]
|
|
974
1047
|
|
|
975
1048
|
[[package]]
|
|
@@ -979,7 +1052,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
979
1052
|
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
980
1053
|
dependencies = [
|
|
981
1054
|
"ppv-lite86",
|
|
982
|
-
"rand_core",
|
|
1055
|
+
"rand_core 0.9.5",
|
|
1056
|
+
]
|
|
1057
|
+
|
|
1058
|
+
[[package]]
|
|
1059
|
+
name = "rand_core"
|
|
1060
|
+
version = "0.6.4"
|
|
1061
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1062
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
1063
|
+
dependencies = [
|
|
1064
|
+
"getrandom 0.2.17",
|
|
983
1065
|
]
|
|
984
1066
|
|
|
985
1067
|
[[package]]
|
|
@@ -993,17 +1075,22 @@ dependencies = [
|
|
|
993
1075
|
|
|
994
1076
|
[[package]]
|
|
995
1077
|
name = "reallink-cli"
|
|
996
|
-
version = "0.1.
|
|
1078
|
+
version = "0.1.15"
|
|
997
1079
|
dependencies = [
|
|
998
1080
|
"anyhow",
|
|
999
1081
|
"clap",
|
|
1000
1082
|
"dirs",
|
|
1083
|
+
"futures-util",
|
|
1084
|
+
"hostname",
|
|
1001
1085
|
"json5",
|
|
1002
1086
|
"reqwest",
|
|
1003
1087
|
"serde",
|
|
1004
1088
|
"serde_json",
|
|
1005
1089
|
"sha2",
|
|
1006
1090
|
"tokio",
|
|
1091
|
+
"tokio-tungstenite",
|
|
1092
|
+
"urlencoding",
|
|
1093
|
+
"walkdir",
|
|
1007
1094
|
"webbrowser",
|
|
1008
1095
|
"zip",
|
|
1009
1096
|
]
|
|
@@ -1054,7 +1141,7 @@ dependencies = [
|
|
|
1054
1141
|
"wasm-bindgen",
|
|
1055
1142
|
"wasm-bindgen-futures",
|
|
1056
1143
|
"web-sys",
|
|
1057
|
-
"webpki-roots",
|
|
1144
|
+
"webpki-roots 1.0.6",
|
|
1058
1145
|
]
|
|
1059
1146
|
|
|
1060
1147
|
[[package]]
|
|
@@ -1188,6 +1275,17 @@ dependencies = [
|
|
|
1188
1275
|
"serde",
|
|
1189
1276
|
]
|
|
1190
1277
|
|
|
1278
|
+
[[package]]
|
|
1279
|
+
name = "sha1"
|
|
1280
|
+
version = "0.10.6"
|
|
1281
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1282
|
+
checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
|
|
1283
|
+
dependencies = [
|
|
1284
|
+
"cfg-if",
|
|
1285
|
+
"cpufeatures",
|
|
1286
|
+
"digest",
|
|
1287
|
+
]
|
|
1288
|
+
|
|
1191
1289
|
[[package]]
|
|
1192
1290
|
name = "sha2"
|
|
1193
1291
|
version = "0.10.9"
|
|
@@ -1205,6 +1303,16 @@ version = "1.3.0"
|
|
|
1205
1303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1206
1304
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
1207
1305
|
|
|
1306
|
+
[[package]]
|
|
1307
|
+
name = "signal-hook-registry"
|
|
1308
|
+
version = "1.4.8"
|
|
1309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1310
|
+
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
|
|
1311
|
+
dependencies = [
|
|
1312
|
+
"errno",
|
|
1313
|
+
"libc",
|
|
1314
|
+
]
|
|
1315
|
+
|
|
1208
1316
|
[[package]]
|
|
1209
1317
|
name = "simd-adler32"
|
|
1210
1318
|
version = "0.3.8"
|
|
@@ -1357,6 +1465,7 @@ dependencies = [
|
|
|
1357
1465
|
"libc",
|
|
1358
1466
|
"mio",
|
|
1359
1467
|
"pin-project-lite",
|
|
1468
|
+
"signal-hook-registry",
|
|
1360
1469
|
"socket2",
|
|
1361
1470
|
"tokio-macros",
|
|
1362
1471
|
"windows-sys 0.61.2",
|
|
@@ -1383,6 +1492,22 @@ dependencies = [
|
|
|
1383
1492
|
"tokio",
|
|
1384
1493
|
]
|
|
1385
1494
|
|
|
1495
|
+
[[package]]
|
|
1496
|
+
name = "tokio-tungstenite"
|
|
1497
|
+
version = "0.24.0"
|
|
1498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1499
|
+
checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9"
|
|
1500
|
+
dependencies = [
|
|
1501
|
+
"futures-util",
|
|
1502
|
+
"log",
|
|
1503
|
+
"rustls",
|
|
1504
|
+
"rustls-pki-types",
|
|
1505
|
+
"tokio",
|
|
1506
|
+
"tokio-rustls",
|
|
1507
|
+
"tungstenite",
|
|
1508
|
+
"webpki-roots 0.26.11",
|
|
1509
|
+
]
|
|
1510
|
+
|
|
1386
1511
|
[[package]]
|
|
1387
1512
|
name = "tower"
|
|
1388
1513
|
version = "0.5.3"
|
|
@@ -1453,6 +1578,26 @@ version = "0.2.5"
|
|
|
1453
1578
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1454
1579
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
1455
1580
|
|
|
1581
|
+
[[package]]
|
|
1582
|
+
name = "tungstenite"
|
|
1583
|
+
version = "0.24.0"
|
|
1584
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1585
|
+
checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a"
|
|
1586
|
+
dependencies = [
|
|
1587
|
+
"byteorder",
|
|
1588
|
+
"bytes",
|
|
1589
|
+
"data-encoding",
|
|
1590
|
+
"http",
|
|
1591
|
+
"httparse",
|
|
1592
|
+
"log",
|
|
1593
|
+
"rand 0.8.5",
|
|
1594
|
+
"rustls",
|
|
1595
|
+
"rustls-pki-types",
|
|
1596
|
+
"sha1",
|
|
1597
|
+
"thiserror 1.0.69",
|
|
1598
|
+
"utf-8",
|
|
1599
|
+
]
|
|
1600
|
+
|
|
1456
1601
|
[[package]]
|
|
1457
1602
|
name = "typenum"
|
|
1458
1603
|
version = "1.19.0"
|
|
@@ -1489,6 +1634,18 @@ dependencies = [
|
|
|
1489
1634
|
"serde",
|
|
1490
1635
|
]
|
|
1491
1636
|
|
|
1637
|
+
[[package]]
|
|
1638
|
+
name = "urlencoding"
|
|
1639
|
+
version = "2.1.3"
|
|
1640
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1641
|
+
checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
|
|
1642
|
+
|
|
1643
|
+
[[package]]
|
|
1644
|
+
name = "utf-8"
|
|
1645
|
+
version = "0.7.6"
|
|
1646
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1647
|
+
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
|
1648
|
+
|
|
1492
1649
|
[[package]]
|
|
1493
1650
|
name = "utf8_iter"
|
|
1494
1651
|
version = "1.0.4"
|
|
@@ -1636,6 +1793,15 @@ dependencies = [
|
|
|
1636
1793
|
"web-sys",
|
|
1637
1794
|
]
|
|
1638
1795
|
|
|
1796
|
+
[[package]]
|
|
1797
|
+
name = "webpki-roots"
|
|
1798
|
+
version = "0.26.11"
|
|
1799
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1800
|
+
checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
|
|
1801
|
+
dependencies = [
|
|
1802
|
+
"webpki-roots 1.0.6",
|
|
1803
|
+
]
|
|
1804
|
+
|
|
1639
1805
|
[[package]]
|
|
1640
1806
|
name = "webpki-roots"
|
|
1641
1807
|
version = "1.0.6"
|
package/rust/Cargo.toml
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "reallink-cli"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.15"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
description = "CLI for Reallink auth and token workflows"
|
|
6
6
|
license = "MIT"
|
|
7
7
|
|
|
8
8
|
[dependencies]
|
|
9
9
|
anyhow = "1.0"
|
|
10
|
+
hostname = "0.4"
|
|
10
11
|
clap = { version = "4.5", features = ["derive"] }
|
|
11
12
|
dirs = "5.0"
|
|
12
13
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
@@ -14,6 +15,10 @@ serde = { version = "1.0", features = ["derive"] }
|
|
|
14
15
|
serde_json = "1.0"
|
|
15
16
|
json5 = "0.4"
|
|
16
17
|
sha2 = "0.10"
|
|
17
|
-
tokio = { version = "1.42", features = ["macros", "rt-multi-thread", "time", "fs", "io-util"] }
|
|
18
|
+
tokio = { version = "1.42", features = ["macros", "rt-multi-thread", "time", "fs", "io-util", "signal"] }
|
|
19
|
+
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
|
|
20
|
+
futures-util = "0.3"
|
|
21
|
+
walkdir = "2.5"
|
|
18
22
|
webbrowser = "1.0"
|
|
23
|
+
urlencoding = "2.1"
|
|
19
24
|
zip = { version = "2.2", default-features = false, features = ["deflate"] }
|