reallink-cli 0.1.0 → 0.1.5
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 +34 -1
- package/package.json +1 -1
- package/rust/Cargo.lock +329 -1
- package/rust/Cargo.toml +3 -1
- package/rust/src/main.rs +1298 -25
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# reallink-cli
|
|
2
2
|
|
|
3
|
-
Rust-based CLI for Reallink authentication and
|
|
3
|
+
Rust-based CLI for Reallink authentication, token workflows, and workspace file CRUD.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -12,14 +12,47 @@ npm install -g reallink-cli
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
reallink login --base-url https://api.real-agent.link
|
|
15
|
+
reallink login --force # replace current saved session
|
|
15
16
|
reallink whoami
|
|
16
17
|
reallink logout
|
|
17
18
|
|
|
19
|
+
reallink project list --org-id org_xxx
|
|
20
|
+
reallink project create --org-id org_xxx --name "new project" --description "optional"
|
|
21
|
+
reallink project get --project-id prj_xxx
|
|
22
|
+
reallink project update --project-id prj_xxx --name "renamed project"
|
|
23
|
+
reallink project update --project-id prj_xxx --clear-description
|
|
24
|
+
reallink project delete --project-id prj_xxx
|
|
25
|
+
|
|
18
26
|
reallink token list
|
|
19
27
|
reallink token create --name "ci-token" --scope trace:read --scope trace:write
|
|
20
28
|
reallink token revoke --token-id tok_xxx
|
|
29
|
+
|
|
30
|
+
reallink file list --project-id prj_xxx
|
|
31
|
+
reallink file get --asset-id ast_xxx
|
|
32
|
+
reallink file upload --project-id prj_xxx --source ./local/report.json --path reports/daily
|
|
33
|
+
reallink file mkdir --project-id prj_xxx --path reports/archive
|
|
34
|
+
reallink file move --asset-id ast_xxx --file-name reports/archive/report.json
|
|
35
|
+
reallink file remove --asset-id ast_xxx
|
|
36
|
+
|
|
37
|
+
reallink tool list
|
|
38
|
+
reallink tool register --manifest ./spec/tools/trace-placeholder.tool.jsonc
|
|
39
|
+
reallink tool enable --tool-id trace.placeholder --project-id prj_xxx
|
|
40
|
+
reallink tool enable --tool-id trace.placeholder --user-id usr_xxx
|
|
41
|
+
reallink tool run --tool-id trace.placeholder --project-id prj_xxx --input-file ./run-input.jsonc --idempotency-key run-001
|
|
42
|
+
reallink tool runs --project-id prj_xxx
|
|
43
|
+
reallink tool get-run --run-id trun_xxx
|
|
21
44
|
```
|
|
22
45
|
|
|
46
|
+
`tool register`, `tool enable/disable` metadata, and `tool run --input-file` accept JSONC.
|
|
47
|
+
|
|
48
|
+
## Session Behavior
|
|
49
|
+
|
|
50
|
+
- Login stores a local session at:
|
|
51
|
+
- Windows: `%APPDATA%\\reallink\\session.json`
|
|
52
|
+
- Linux/macOS: `${XDG_CONFIG_HOME:-~/.config}/reallink/session.json`
|
|
53
|
+
- You only need to log in again when the saved session is invalid/expired or you explicitly run `reallink logout`.
|
|
54
|
+
- `reallink logout` revokes the current server session (`/auth/logout`) and clears the local session file.
|
|
55
|
+
|
|
23
56
|
## Requirements
|
|
24
57
|
|
|
25
58
|
- Rust toolchain (`cargo`) must be installed.
|
package/package.json
CHANGED
package/rust/Cargo.lock
CHANGED
|
@@ -76,6 +76,15 @@ version = "2.11.0"
|
|
|
76
76
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
77
|
checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
|
|
78
78
|
|
|
79
|
+
[[package]]
|
|
80
|
+
name = "block-buffer"
|
|
81
|
+
version = "0.10.4"
|
|
82
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
84
|
+
dependencies = [
|
|
85
|
+
"generic-array",
|
|
86
|
+
]
|
|
87
|
+
|
|
79
88
|
[[package]]
|
|
80
89
|
name = "bumpalo"
|
|
81
90
|
version = "3.20.2"
|
|
@@ -98,6 +107,12 @@ dependencies = [
|
|
|
98
107
|
"shlex",
|
|
99
108
|
]
|
|
100
109
|
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "cesu8"
|
|
112
|
+
version = "1.1.0"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
|
|
115
|
+
|
|
101
116
|
[[package]]
|
|
102
117
|
name = "cfg-if"
|
|
103
118
|
version = "1.0.4"
|
|
@@ -156,6 +171,61 @@ version = "1.0.4"
|
|
|
156
171
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
172
|
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
|
|
158
173
|
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "combine"
|
|
176
|
+
version = "4.6.7"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
|
|
179
|
+
dependencies = [
|
|
180
|
+
"bytes",
|
|
181
|
+
"memchr",
|
|
182
|
+
]
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "core-foundation"
|
|
186
|
+
version = "0.10.1"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
|
|
189
|
+
dependencies = [
|
|
190
|
+
"core-foundation-sys",
|
|
191
|
+
"libc",
|
|
192
|
+
]
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "core-foundation-sys"
|
|
196
|
+
version = "0.8.7"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "cpufeatures"
|
|
202
|
+
version = "0.2.17"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"libc",
|
|
207
|
+
]
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "crypto-common"
|
|
211
|
+
version = "0.1.7"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"generic-array",
|
|
216
|
+
"typenum",
|
|
217
|
+
]
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "digest"
|
|
221
|
+
version = "0.10.7"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
224
|
+
dependencies = [
|
|
225
|
+
"block-buffer",
|
|
226
|
+
"crypto-common",
|
|
227
|
+
]
|
|
228
|
+
|
|
159
229
|
[[package]]
|
|
160
230
|
name = "dirs"
|
|
161
231
|
version = "5.0.1"
|
|
@@ -236,6 +306,16 @@ dependencies = [
|
|
|
236
306
|
"slab",
|
|
237
307
|
]
|
|
238
308
|
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "generic-array"
|
|
311
|
+
version = "0.14.7"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"typenum",
|
|
316
|
+
"version_check",
|
|
317
|
+
]
|
|
318
|
+
|
|
239
319
|
[[package]]
|
|
240
320
|
name = "getrandom"
|
|
241
321
|
version = "0.2.17"
|
|
@@ -499,6 +579,28 @@ version = "1.0.17"
|
|
|
499
579
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
580
|
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
|
|
501
581
|
|
|
582
|
+
[[package]]
|
|
583
|
+
name = "jni"
|
|
584
|
+
version = "0.21.1"
|
|
585
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
586
|
+
checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
|
|
587
|
+
dependencies = [
|
|
588
|
+
"cesu8",
|
|
589
|
+
"cfg-if",
|
|
590
|
+
"combine",
|
|
591
|
+
"jni-sys",
|
|
592
|
+
"log",
|
|
593
|
+
"thiserror 1.0.69",
|
|
594
|
+
"walkdir",
|
|
595
|
+
"windows-sys 0.45.0",
|
|
596
|
+
]
|
|
597
|
+
|
|
598
|
+
[[package]]
|
|
599
|
+
name = "jni-sys"
|
|
600
|
+
version = "0.3.0"
|
|
601
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
+
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
|
|
603
|
+
|
|
502
604
|
[[package]]
|
|
503
605
|
name = "js-sys"
|
|
504
606
|
version = "0.3.91"
|
|
@@ -509,6 +611,17 @@ dependencies = [
|
|
|
509
611
|
"wasm-bindgen",
|
|
510
612
|
]
|
|
511
613
|
|
|
614
|
+
[[package]]
|
|
615
|
+
name = "json5"
|
|
616
|
+
version = "0.4.1"
|
|
617
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
+
checksum = "96b0db21af676c1ce64250b5f40f3ce2cf27e4e47cb91ed91eb6fe9350b430c1"
|
|
619
|
+
dependencies = [
|
|
620
|
+
"pest",
|
|
621
|
+
"pest_derive",
|
|
622
|
+
"serde",
|
|
623
|
+
]
|
|
624
|
+
|
|
512
625
|
[[package]]
|
|
513
626
|
name = "libc"
|
|
514
627
|
version = "0.2.182"
|
|
@@ -559,6 +672,37 @@ dependencies = [
|
|
|
559
672
|
"windows-sys 0.61.2",
|
|
560
673
|
]
|
|
561
674
|
|
|
675
|
+
[[package]]
|
|
676
|
+
name = "ndk-context"
|
|
677
|
+
version = "0.1.1"
|
|
678
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
679
|
+
checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
|
|
680
|
+
|
|
681
|
+
[[package]]
|
|
682
|
+
name = "objc2"
|
|
683
|
+
version = "0.6.4"
|
|
684
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
685
|
+
checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f"
|
|
686
|
+
dependencies = [
|
|
687
|
+
"objc2-encode",
|
|
688
|
+
]
|
|
689
|
+
|
|
690
|
+
[[package]]
|
|
691
|
+
name = "objc2-encode"
|
|
692
|
+
version = "4.1.0"
|
|
693
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
694
|
+
checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
|
|
695
|
+
|
|
696
|
+
[[package]]
|
|
697
|
+
name = "objc2-foundation"
|
|
698
|
+
version = "0.3.2"
|
|
699
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
700
|
+
checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
|
|
701
|
+
dependencies = [
|
|
702
|
+
"bitflags",
|
|
703
|
+
"objc2",
|
|
704
|
+
]
|
|
705
|
+
|
|
562
706
|
[[package]]
|
|
563
707
|
name = "once_cell"
|
|
564
708
|
version = "1.21.3"
|
|
@@ -583,6 +727,49 @@ version = "2.3.2"
|
|
|
583
727
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
728
|
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
585
729
|
|
|
730
|
+
[[package]]
|
|
731
|
+
name = "pest"
|
|
732
|
+
version = "2.8.6"
|
|
733
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
734
|
+
checksum = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662"
|
|
735
|
+
dependencies = [
|
|
736
|
+
"memchr",
|
|
737
|
+
"ucd-trie",
|
|
738
|
+
]
|
|
739
|
+
|
|
740
|
+
[[package]]
|
|
741
|
+
name = "pest_derive"
|
|
742
|
+
version = "2.8.6"
|
|
743
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
744
|
+
checksum = "11f486f1ea21e6c10ed15d5a7c77165d0ee443402f0780849d1768e7d9d6fe77"
|
|
745
|
+
dependencies = [
|
|
746
|
+
"pest",
|
|
747
|
+
"pest_generator",
|
|
748
|
+
]
|
|
749
|
+
|
|
750
|
+
[[package]]
|
|
751
|
+
name = "pest_generator"
|
|
752
|
+
version = "2.8.6"
|
|
753
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
754
|
+
checksum = "8040c4647b13b210a963c1ed407c1ff4fdfa01c31d6d2a098218702e6664f94f"
|
|
755
|
+
dependencies = [
|
|
756
|
+
"pest",
|
|
757
|
+
"pest_meta",
|
|
758
|
+
"proc-macro2",
|
|
759
|
+
"quote",
|
|
760
|
+
"syn",
|
|
761
|
+
]
|
|
762
|
+
|
|
763
|
+
[[package]]
|
|
764
|
+
name = "pest_meta"
|
|
765
|
+
version = "2.8.6"
|
|
766
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
767
|
+
checksum = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220"
|
|
768
|
+
dependencies = [
|
|
769
|
+
"pest",
|
|
770
|
+
"sha2",
|
|
771
|
+
]
|
|
772
|
+
|
|
586
773
|
[[package]]
|
|
587
774
|
name = "pin-project-lite"
|
|
588
775
|
version = "0.2.17"
|
|
@@ -723,15 +910,17 @@ dependencies = [
|
|
|
723
910
|
|
|
724
911
|
[[package]]
|
|
725
912
|
name = "reallink-cli"
|
|
726
|
-
version = "0.1.
|
|
913
|
+
version = "0.1.5"
|
|
727
914
|
dependencies = [
|
|
728
915
|
"anyhow",
|
|
729
916
|
"clap",
|
|
730
917
|
"dirs",
|
|
918
|
+
"json5",
|
|
731
919
|
"reqwest",
|
|
732
920
|
"serde",
|
|
733
921
|
"serde_json",
|
|
734
922
|
"tokio",
|
|
923
|
+
"webbrowser",
|
|
735
924
|
]
|
|
736
925
|
|
|
737
926
|
[[package]]
|
|
@@ -850,6 +1039,15 @@ version = "1.0.23"
|
|
|
850
1039
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
851
1040
|
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
852
1041
|
|
|
1042
|
+
[[package]]
|
|
1043
|
+
name = "same-file"
|
|
1044
|
+
version = "1.0.6"
|
|
1045
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1046
|
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
1047
|
+
dependencies = [
|
|
1048
|
+
"winapi-util",
|
|
1049
|
+
]
|
|
1050
|
+
|
|
853
1051
|
[[package]]
|
|
854
1052
|
name = "serde"
|
|
855
1053
|
version = "1.0.228"
|
|
@@ -905,6 +1103,17 @@ dependencies = [
|
|
|
905
1103
|
"serde",
|
|
906
1104
|
]
|
|
907
1105
|
|
|
1106
|
+
[[package]]
|
|
1107
|
+
name = "sha2"
|
|
1108
|
+
version = "0.10.9"
|
|
1109
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1110
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
1111
|
+
dependencies = [
|
|
1112
|
+
"cfg-if",
|
|
1113
|
+
"cpufeatures",
|
|
1114
|
+
"digest",
|
|
1115
|
+
]
|
|
1116
|
+
|
|
908
1117
|
[[package]]
|
|
909
1118
|
name = "shlex"
|
|
910
1119
|
version = "1.3.0"
|
|
@@ -1153,6 +1362,18 @@ version = "0.2.5"
|
|
|
1153
1362
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1154
1363
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
1155
1364
|
|
|
1365
|
+
[[package]]
|
|
1366
|
+
name = "typenum"
|
|
1367
|
+
version = "1.19.0"
|
|
1368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1369
|
+
checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
|
|
1370
|
+
|
|
1371
|
+
[[package]]
|
|
1372
|
+
name = "ucd-trie"
|
|
1373
|
+
version = "0.1.7"
|
|
1374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1375
|
+
checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
|
|
1376
|
+
|
|
1156
1377
|
[[package]]
|
|
1157
1378
|
name = "unicode-ident"
|
|
1158
1379
|
version = "1.0.24"
|
|
@@ -1189,6 +1410,22 @@ version = "0.2.2"
|
|
|
1189
1410
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1190
1411
|
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
1191
1412
|
|
|
1413
|
+
[[package]]
|
|
1414
|
+
name = "version_check"
|
|
1415
|
+
version = "0.9.5"
|
|
1416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1417
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
1418
|
+
|
|
1419
|
+
[[package]]
|
|
1420
|
+
name = "walkdir"
|
|
1421
|
+
version = "2.5.0"
|
|
1422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1423
|
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
|
1424
|
+
dependencies = [
|
|
1425
|
+
"same-file",
|
|
1426
|
+
"winapi-util",
|
|
1427
|
+
]
|
|
1428
|
+
|
|
1192
1429
|
[[package]]
|
|
1193
1430
|
name = "want"
|
|
1194
1431
|
version = "0.3.1"
|
|
@@ -1292,6 +1529,22 @@ dependencies = [
|
|
|
1292
1529
|
"wasm-bindgen",
|
|
1293
1530
|
]
|
|
1294
1531
|
|
|
1532
|
+
[[package]]
|
|
1533
|
+
name = "webbrowser"
|
|
1534
|
+
version = "1.1.0"
|
|
1535
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1536
|
+
checksum = "3f00bb839c1cf1e3036066614cbdcd035ecf215206691ea646aa3c60a24f68f2"
|
|
1537
|
+
dependencies = [
|
|
1538
|
+
"core-foundation",
|
|
1539
|
+
"jni",
|
|
1540
|
+
"log",
|
|
1541
|
+
"ndk-context",
|
|
1542
|
+
"objc2",
|
|
1543
|
+
"objc2-foundation",
|
|
1544
|
+
"url",
|
|
1545
|
+
"web-sys",
|
|
1546
|
+
]
|
|
1547
|
+
|
|
1295
1548
|
[[package]]
|
|
1296
1549
|
name = "webpki-roots"
|
|
1297
1550
|
version = "1.0.6"
|
|
@@ -1301,12 +1554,30 @@ dependencies = [
|
|
|
1301
1554
|
"rustls-pki-types",
|
|
1302
1555
|
]
|
|
1303
1556
|
|
|
1557
|
+
[[package]]
|
|
1558
|
+
name = "winapi-util"
|
|
1559
|
+
version = "0.1.11"
|
|
1560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1561
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
1562
|
+
dependencies = [
|
|
1563
|
+
"windows-sys 0.61.2",
|
|
1564
|
+
]
|
|
1565
|
+
|
|
1304
1566
|
[[package]]
|
|
1305
1567
|
name = "windows-link"
|
|
1306
1568
|
version = "0.2.1"
|
|
1307
1569
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1308
1570
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
1309
1571
|
|
|
1572
|
+
[[package]]
|
|
1573
|
+
name = "windows-sys"
|
|
1574
|
+
version = "0.45.0"
|
|
1575
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1576
|
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
|
1577
|
+
dependencies = [
|
|
1578
|
+
"windows-targets 0.42.2",
|
|
1579
|
+
]
|
|
1580
|
+
|
|
1310
1581
|
[[package]]
|
|
1311
1582
|
name = "windows-sys"
|
|
1312
1583
|
version = "0.48.0"
|
|
@@ -1343,6 +1614,21 @@ dependencies = [
|
|
|
1343
1614
|
"windows-link",
|
|
1344
1615
|
]
|
|
1345
1616
|
|
|
1617
|
+
[[package]]
|
|
1618
|
+
name = "windows-targets"
|
|
1619
|
+
version = "0.42.2"
|
|
1620
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1621
|
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
|
1622
|
+
dependencies = [
|
|
1623
|
+
"windows_aarch64_gnullvm 0.42.2",
|
|
1624
|
+
"windows_aarch64_msvc 0.42.2",
|
|
1625
|
+
"windows_i686_gnu 0.42.2",
|
|
1626
|
+
"windows_i686_msvc 0.42.2",
|
|
1627
|
+
"windows_x86_64_gnu 0.42.2",
|
|
1628
|
+
"windows_x86_64_gnullvm 0.42.2",
|
|
1629
|
+
"windows_x86_64_msvc 0.42.2",
|
|
1630
|
+
]
|
|
1631
|
+
|
|
1346
1632
|
[[package]]
|
|
1347
1633
|
name = "windows-targets"
|
|
1348
1634
|
version = "0.48.5"
|
|
@@ -1391,6 +1677,12 @@ dependencies = [
|
|
|
1391
1677
|
"windows_x86_64_msvc 0.53.1",
|
|
1392
1678
|
]
|
|
1393
1679
|
|
|
1680
|
+
[[package]]
|
|
1681
|
+
name = "windows_aarch64_gnullvm"
|
|
1682
|
+
version = "0.42.2"
|
|
1683
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1684
|
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
|
1685
|
+
|
|
1394
1686
|
[[package]]
|
|
1395
1687
|
name = "windows_aarch64_gnullvm"
|
|
1396
1688
|
version = "0.48.5"
|
|
@@ -1409,6 +1701,12 @@ version = "0.53.1"
|
|
|
1409
1701
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1410
1702
|
checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
|
|
1411
1703
|
|
|
1704
|
+
[[package]]
|
|
1705
|
+
name = "windows_aarch64_msvc"
|
|
1706
|
+
version = "0.42.2"
|
|
1707
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1708
|
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
|
1709
|
+
|
|
1412
1710
|
[[package]]
|
|
1413
1711
|
name = "windows_aarch64_msvc"
|
|
1414
1712
|
version = "0.48.5"
|
|
@@ -1427,6 +1725,12 @@ version = "0.53.1"
|
|
|
1427
1725
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1428
1726
|
checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
|
|
1429
1727
|
|
|
1728
|
+
[[package]]
|
|
1729
|
+
name = "windows_i686_gnu"
|
|
1730
|
+
version = "0.42.2"
|
|
1731
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1732
|
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
|
1733
|
+
|
|
1430
1734
|
[[package]]
|
|
1431
1735
|
name = "windows_i686_gnu"
|
|
1432
1736
|
version = "0.48.5"
|
|
@@ -1457,6 +1761,12 @@ version = "0.53.1"
|
|
|
1457
1761
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1458
1762
|
checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
|
|
1459
1763
|
|
|
1764
|
+
[[package]]
|
|
1765
|
+
name = "windows_i686_msvc"
|
|
1766
|
+
version = "0.42.2"
|
|
1767
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1768
|
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
|
1769
|
+
|
|
1460
1770
|
[[package]]
|
|
1461
1771
|
name = "windows_i686_msvc"
|
|
1462
1772
|
version = "0.48.5"
|
|
@@ -1475,6 +1785,12 @@ version = "0.53.1"
|
|
|
1475
1785
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1476
1786
|
checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
|
|
1477
1787
|
|
|
1788
|
+
[[package]]
|
|
1789
|
+
name = "windows_x86_64_gnu"
|
|
1790
|
+
version = "0.42.2"
|
|
1791
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1792
|
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
|
1793
|
+
|
|
1478
1794
|
[[package]]
|
|
1479
1795
|
name = "windows_x86_64_gnu"
|
|
1480
1796
|
version = "0.48.5"
|
|
@@ -1493,6 +1809,12 @@ version = "0.53.1"
|
|
|
1493
1809
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1494
1810
|
checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
|
|
1495
1811
|
|
|
1812
|
+
[[package]]
|
|
1813
|
+
name = "windows_x86_64_gnullvm"
|
|
1814
|
+
version = "0.42.2"
|
|
1815
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1816
|
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
|
1817
|
+
|
|
1496
1818
|
[[package]]
|
|
1497
1819
|
name = "windows_x86_64_gnullvm"
|
|
1498
1820
|
version = "0.48.5"
|
|
@@ -1511,6 +1833,12 @@ version = "0.53.1"
|
|
|
1511
1833
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1512
1834
|
checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
|
|
1513
1835
|
|
|
1836
|
+
[[package]]
|
|
1837
|
+
name = "windows_x86_64_msvc"
|
|
1838
|
+
version = "0.42.2"
|
|
1839
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1840
|
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
|
1841
|
+
|
|
1514
1842
|
[[package]]
|
|
1515
1843
|
name = "windows_x86_64_msvc"
|
|
1516
1844
|
version = "0.48.5"
|
package/rust/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "reallink-cli"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.5"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
description = "CLI for Reallink auth and token workflows"
|
|
6
6
|
license = "MIT"
|
|
@@ -12,4 +12,6 @@ dirs = "5.0"
|
|
|
12
12
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
13
13
|
serde = { version = "1.0", features = ["derive"] }
|
|
14
14
|
serde_json = "1.0"
|
|
15
|
+
json5 = "0.4"
|
|
15
16
|
tokio = { version = "1.42", features = ["macros", "rt-multi-thread", "time"] }
|
|
17
|
+
webbrowser = "1.0"
|