wtg-cli 0.1.1__tar.gz → 0.2.0__tar.gz

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.
Files changed (48) hide show
  1. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/Cargo.lock +479 -16
  2. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/Cargo.toml +8 -2
  3. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/PKG-INFO +1 -1
  4. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/Cargo.toml +3 -0
  5. wtg_cli-0.2.0/crates/wtg/src/backend/combined_backend.rs +364 -0
  6. wtg_cli-0.2.0/crates/wtg/src/backend/git_backend.rs +212 -0
  7. wtg_cli-0.2.0/crates/wtg/src/backend/github_backend.rs +186 -0
  8. wtg_cli-0.2.0/crates/wtg/src/backend/mod.rs +259 -0
  9. wtg_cli-0.2.0/crates/wtg/src/cli.rs +44 -0
  10. wtg_cli-0.2.0/crates/wtg/src/error.rs +296 -0
  11. wtg_cli-0.2.0/crates/wtg/src/git.rs +1205 -0
  12. wtg_cli-0.2.0/crates/wtg/src/github.rs +792 -0
  13. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/src/help.rs +9 -1
  14. wtg_cli-0.2.0/crates/wtg/src/lib.rs +88 -0
  15. wtg_cli-0.2.0/crates/wtg/src/notice.rs +67 -0
  16. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/src/output.rs +265 -77
  17. wtg_cli-0.2.0/crates/wtg/src/parse_input.rs +975 -0
  18. wtg_cli-0.2.0/crates/wtg/src/remote.rs +246 -0
  19. wtg_cli-0.2.0/crates/wtg/src/resolution.rs +248 -0
  20. wtg_cli-0.2.0/crates/wtg/src/semver.rs +324 -0
  21. wtg_cli-0.2.0/crates/wtg/tests/integration.rs +312 -0
  22. wtg_cli-0.2.0/crates/wtg/tests/offline.rs +233 -0
  23. wtg_cli-0.1.1/crates/wtg/src/cli.rs +0 -332
  24. wtg_cli-0.1.1/crates/wtg/src/error.rs +0 -131
  25. wtg_cli-0.1.1/crates/wtg/src/git.rs +0 -941
  26. wtg_cli-0.1.1/crates/wtg/src/github.rs +0 -430
  27. wtg_cli-0.1.1/crates/wtg/src/identifier.rs +0 -438
  28. wtg_cli-0.1.1/crates/wtg/src/lib.rs +0 -99
  29. wtg_cli-0.1.1/crates/wtg/src/remote.rs +0 -69
  30. wtg_cli-0.1.1/crates/wtg/src/repo_manager.rs +0 -257
  31. wtg_cli-0.1.1/crates/wtg/tests/integration.rs +0 -128
  32. wtg_cli-0.1.1/crates/wtg/tests/offline.rs +0 -138
  33. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/LICENSE +0 -0
  34. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/README.md +0 -0
  35. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/README.md +0 -0
  36. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/src/constants.rs +0 -0
  37. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/src/main.rs +0 -0
  38. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/tests/common/mod.rs +0 -0
  39. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/tests/fixtures/test-repo.zip +0 -0
  40. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/tests/snapshots/integration__integration_identify_file.snap +0 -0
  41. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/tests/snapshots/integration__integration_identify_recent_commit.snap +0 -0
  42. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg/tests/snapshots/integration__integration_identify_tag.snap +0 -0
  43. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg-python/Cargo.toml +0 -0
  44. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/crates/wtg-python/src/lib.rs +0 -0
  45. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/pyproject.toml +0 -0
  46. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/src/wtg_cli/__init__.py +0 -0
  47. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/src/wtg_cli/__main__.py +0 -0
  48. {wtg_cli-0.1.1 → wtg_cli-0.2.0}/src/wtg_cli/cli.py +0 -0
@@ -125,12 +125,24 @@ version = "1.5.0"
125
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
126
  checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
127
127
 
128
+ [[package]]
129
+ name = "base16ct"
130
+ version = "0.2.0"
131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
132
+ checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf"
133
+
128
134
  [[package]]
129
135
  name = "base64"
130
136
  version = "0.22.1"
131
137
  source = "registry+https://github.com/rust-lang/crates.io-index"
132
138
  checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
133
139
 
140
+ [[package]]
141
+ name = "base64ct"
142
+ version = "1.8.0"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba"
145
+
134
146
  [[package]]
135
147
  name = "bitflags"
136
148
  version = "2.10.0"
@@ -167,6 +179,38 @@ dependencies = [
167
179
  "libbz2-rs-sys",
168
180
  ]
169
181
 
182
+ [[package]]
183
+ name = "camino"
184
+ version = "1.2.1"
185
+ source = "registry+https://github.com/rust-lang/crates.io-index"
186
+ checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609"
187
+ dependencies = [
188
+ "serde_core",
189
+ ]
190
+
191
+ [[package]]
192
+ name = "cargo-platform"
193
+ version = "0.3.1"
194
+ source = "registry+https://github.com/rust-lang/crates.io-index"
195
+ checksum = "122ec45a44b270afd1402f351b782c676b173e3c3fb28d86ff7ebfb4d86a4ee4"
196
+ dependencies = [
197
+ "serde",
198
+ ]
199
+
200
+ [[package]]
201
+ name = "cargo_metadata"
202
+ version = "0.23.1"
203
+ source = "registry+https://github.com/rust-lang/crates.io-index"
204
+ checksum = "ef987d17b0a113becdd19d3d0022d04d7ef41f9efe4f3fb63ac44ba61df3ade9"
205
+ dependencies = [
206
+ "camino",
207
+ "cargo-platform",
208
+ "semver",
209
+ "serde",
210
+ "serde_json",
211
+ "thiserror",
212
+ ]
213
+
170
214
  [[package]]
171
215
  name = "cc"
172
216
  version = "1.2.45"
@@ -270,6 +314,12 @@ dependencies = [
270
314
  "windows-sys 0.59.0",
271
315
  ]
272
316
 
317
+ [[package]]
318
+ name = "const-oid"
319
+ version = "0.9.6"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
322
+
273
323
  [[package]]
274
324
  name = "constant_time_eq"
275
325
  version = "0.3.1"
@@ -361,6 +411,18 @@ dependencies = [
361
411
  "winapi",
362
412
  ]
363
413
 
414
+ [[package]]
415
+ name = "crypto-bigint"
416
+ version = "0.5.5"
417
+ source = "registry+https://github.com/rust-lang/crates.io-index"
418
+ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76"
419
+ dependencies = [
420
+ "generic-array",
421
+ "rand_core",
422
+ "subtle",
423
+ "zeroize",
424
+ ]
425
+
364
426
  [[package]]
365
427
  name = "crypto-common"
366
428
  version = "0.1.6"
@@ -371,12 +433,50 @@ dependencies = [
371
433
  "typenum",
372
434
  ]
373
435
 
436
+ [[package]]
437
+ name = "curve25519-dalek"
438
+ version = "4.1.3"
439
+ source = "registry+https://github.com/rust-lang/crates.io-index"
440
+ checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
441
+ dependencies = [
442
+ "cfg-if",
443
+ "cpufeatures",
444
+ "curve25519-dalek-derive",
445
+ "digest",
446
+ "fiat-crypto",
447
+ "rustc_version",
448
+ "subtle",
449
+ "zeroize",
450
+ ]
451
+
452
+ [[package]]
453
+ name = "curve25519-dalek-derive"
454
+ version = "0.1.1"
455
+ source = "registry+https://github.com/rust-lang/crates.io-index"
456
+ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3"
457
+ dependencies = [
458
+ "proc-macro2",
459
+ "quote",
460
+ "syn",
461
+ ]
462
+
374
463
  [[package]]
375
464
  name = "deflate64"
376
465
  version = "0.1.10"
377
466
  source = "registry+https://github.com/rust-lang/crates.io-index"
378
467
  checksum = "26bf8fc351c5ed29b5c2f0cbbac1b209b74f60ecd62e675a998df72c49af5204"
379
468
 
469
+ [[package]]
470
+ name = "der"
471
+ version = "0.7.10"
472
+ source = "registry+https://github.com/rust-lang/crates.io-index"
473
+ checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
474
+ dependencies = [
475
+ "const-oid",
476
+ "pem-rfc7468",
477
+ "zeroize",
478
+ ]
479
+
380
480
  [[package]]
381
481
  name = "deranged"
382
482
  version = "0.5.5"
@@ -425,6 +525,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
425
525
  checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
426
526
  dependencies = [
427
527
  "block-buffer",
528
+ "const-oid",
428
529
  "crypto-common",
429
530
  "subtle",
430
531
  ]
@@ -470,12 +571,71 @@ dependencies = [
470
571
  "litrs",
471
572
  ]
472
573
 
574
+ [[package]]
575
+ name = "ecdsa"
576
+ version = "0.16.9"
577
+ source = "registry+https://github.com/rust-lang/crates.io-index"
578
+ checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca"
579
+ dependencies = [
580
+ "der",
581
+ "digest",
582
+ "elliptic-curve",
583
+ "rfc6979",
584
+ "signature",
585
+ "spki",
586
+ ]
587
+
588
+ [[package]]
589
+ name = "ed25519"
590
+ version = "2.2.3"
591
+ source = "registry+https://github.com/rust-lang/crates.io-index"
592
+ checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53"
593
+ dependencies = [
594
+ "pkcs8",
595
+ "signature",
596
+ ]
597
+
598
+ [[package]]
599
+ name = "ed25519-dalek"
600
+ version = "2.2.0"
601
+ source = "registry+https://github.com/rust-lang/crates.io-index"
602
+ checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9"
603
+ dependencies = [
604
+ "curve25519-dalek",
605
+ "ed25519",
606
+ "serde",
607
+ "sha2",
608
+ "subtle",
609
+ "zeroize",
610
+ ]
611
+
473
612
  [[package]]
474
613
  name = "either"
475
614
  version = "1.15.0"
476
615
  source = "registry+https://github.com/rust-lang/crates.io-index"
477
616
  checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
478
617
 
618
+ [[package]]
619
+ name = "elliptic-curve"
620
+ version = "0.13.8"
621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
622
+ checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47"
623
+ dependencies = [
624
+ "base16ct",
625
+ "crypto-bigint",
626
+ "digest",
627
+ "ff",
628
+ "generic-array",
629
+ "group",
630
+ "hkdf",
631
+ "pem-rfc7468",
632
+ "pkcs8",
633
+ "rand_core",
634
+ "sec1",
635
+ "subtle",
636
+ "zeroize",
637
+ ]
638
+
479
639
  [[package]]
480
640
  name = "encode_unicode"
481
641
  version = "1.0.0"
@@ -504,6 +664,22 @@ version = "2.3.0"
504
664
  source = "registry+https://github.com/rust-lang/crates.io-index"
505
665
  checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
506
666
 
667
+ [[package]]
668
+ name = "ff"
669
+ version = "0.13.1"
670
+ source = "registry+https://github.com/rust-lang/crates.io-index"
671
+ checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393"
672
+ dependencies = [
673
+ "rand_core",
674
+ "subtle",
675
+ ]
676
+
677
+ [[package]]
678
+ name = "fiat-crypto"
679
+ version = "0.2.9"
680
+ source = "registry+https://github.com/rust-lang/crates.io-index"
681
+ checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
682
+
507
683
  [[package]]
508
684
  name = "find-msvc-tools"
509
685
  version = "0.1.4"
@@ -521,12 +697,6 @@ dependencies = [
521
697
  "miniz_oxide",
522
698
  ]
523
699
 
524
- [[package]]
525
- name = "fnv"
526
- version = "1.0.7"
527
- source = "registry+https://github.com/rust-lang/crates.io-index"
528
- checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
529
-
530
700
  [[package]]
531
701
  name = "form_urlencoded"
532
702
  version = "1.2.2"
@@ -639,6 +809,7 @@ checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2"
639
809
  dependencies = [
640
810
  "typenum",
641
811
  "version_check",
812
+ "zeroize",
642
813
  ]
643
814
 
644
815
  [[package]]
@@ -687,6 +858,17 @@ version = "0.3.3"
687
858
  source = "registry+https://github.com/rust-lang/crates.io-index"
688
859
  checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
689
860
 
861
+ [[package]]
862
+ name = "group"
863
+ version = "0.13.0"
864
+ source = "registry+https://github.com/rust-lang/crates.io-index"
865
+ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63"
866
+ dependencies = [
867
+ "ff",
868
+ "rand_core",
869
+ "subtle",
870
+ ]
871
+
690
872
  [[package]]
691
873
  name = "hashbrown"
692
874
  version = "0.16.0"
@@ -699,6 +881,15 @@ version = "0.5.0"
699
881
  source = "registry+https://github.com/rust-lang/crates.io-index"
700
882
  checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
701
883
 
884
+ [[package]]
885
+ name = "hkdf"
886
+ version = "0.12.4"
887
+ source = "registry+https://github.com/rust-lang/crates.io-index"
888
+ checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
889
+ dependencies = [
890
+ "hmac",
891
+ ]
892
+
702
893
  [[package]]
703
894
  name = "hmac"
704
895
  version = "0.12.1"
@@ -710,12 +901,11 @@ dependencies = [
710
901
 
711
902
  [[package]]
712
903
  name = "http"
713
- version = "1.3.1"
904
+ version = "1.4.0"
714
905
  source = "registry+https://github.com/rust-lang/crates.io-index"
715
- checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
906
+ checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a"
716
907
  dependencies = [
717
908
  "bytes",
718
- "fnv",
719
909
  "itoa",
720
910
  ]
721
911
 
@@ -1031,19 +1221,36 @@ dependencies = [
1031
1221
 
1032
1222
  [[package]]
1033
1223
  name = "jsonwebtoken"
1034
- version = "9.3.1"
1224
+ version = "10.2.0"
1035
1225
  source = "registry+https://github.com/rust-lang/crates.io-index"
1036
- checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde"
1226
+ checksum = "c76e1c7d7df3e34443b3621b459b066a7b79644f059fc8b2db7070c825fd417e"
1037
1227
  dependencies = [
1038
1228
  "base64",
1229
+ "ed25519-dalek",
1230
+ "getrandom 0.2.16",
1231
+ "hmac",
1039
1232
  "js-sys",
1233
+ "p256",
1234
+ "p384",
1040
1235
  "pem",
1041
- "ring",
1236
+ "rand",
1237
+ "rsa",
1042
1238
  "serde",
1043
1239
  "serde_json",
1240
+ "sha2",
1241
+ "signature",
1044
1242
  "simple_asn1",
1045
1243
  ]
1046
1244
 
1245
+ [[package]]
1246
+ name = "lazy_static"
1247
+ version = "1.5.0"
1248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1249
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
1250
+ dependencies = [
1251
+ "spin",
1252
+ ]
1253
+
1047
1254
  [[package]]
1048
1255
  name = "libbz2-rs-sys"
1049
1256
  version = "0.2.2"
@@ -1070,6 +1277,12 @@ dependencies = [
1070
1277
  "pkg-config",
1071
1278
  ]
1072
1279
 
1280
+ [[package]]
1281
+ name = "libm"
1282
+ version = "0.2.15"
1283
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1284
+ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
1285
+
1073
1286
  [[package]]
1074
1287
  name = "libredox"
1075
1288
  version = "0.1.10"
@@ -1205,6 +1418,22 @@ dependencies = [
1205
1418
  "num-traits",
1206
1419
  ]
1207
1420
 
1421
+ [[package]]
1422
+ name = "num-bigint-dig"
1423
+ version = "0.8.6"
1424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1425
+ checksum = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7"
1426
+ dependencies = [
1427
+ "lazy_static",
1428
+ "libm",
1429
+ "num-integer",
1430
+ "num-iter",
1431
+ "num-traits",
1432
+ "rand",
1433
+ "smallvec",
1434
+ "zeroize",
1435
+ ]
1436
+
1208
1437
  [[package]]
1209
1438
  name = "num-conv"
1210
1439
  version = "0.1.0"
@@ -1220,6 +1449,17 @@ dependencies = [
1220
1449
  "num-traits",
1221
1450
  ]
1222
1451
 
1452
+ [[package]]
1453
+ name = "num-iter"
1454
+ version = "0.1.45"
1455
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1456
+ checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf"
1457
+ dependencies = [
1458
+ "autocfg",
1459
+ "num-integer",
1460
+ "num-traits",
1461
+ ]
1462
+
1223
1463
  [[package]]
1224
1464
  name = "num-traits"
1225
1465
  version = "0.2.19"
@@ -1227,23 +1467,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1227
1467
  checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
1228
1468
  dependencies = [
1229
1469
  "autocfg",
1470
+ "libm",
1230
1471
  ]
1231
1472
 
1232
1473
  [[package]]
1233
1474
  name = "octocrab"
1234
- version = "0.47.1"
1475
+ version = "0.48.0"
1235
1476
  source = "registry+https://github.com/rust-lang/crates.io-index"
1236
- checksum = "76f50b2657b7e31c849c612c4ca71527861631fe3c392f931fb28990b045f972"
1477
+ checksum = "03c4c16af97628682471056f83897a89e84238cc422a2af37c367acb3206a4b8"
1237
1478
  dependencies = [
1238
1479
  "arc-swap",
1239
1480
  "async-trait",
1240
1481
  "base64",
1241
1482
  "bytes",
1483
+ "cargo_metadata",
1242
1484
  "cfg-if",
1243
1485
  "chrono",
1244
1486
  "either",
1245
1487
  "futures",
1246
1488
  "futures-util",
1489
+ "getrandom 0.2.16",
1247
1490
  "http",
1248
1491
  "http-body",
1249
1492
  "http-body-util",
@@ -1305,6 +1548,30 @@ version = "0.2.0"
1305
1548
  source = "registry+https://github.com/rust-lang/crates.io-index"
1306
1549
  checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
1307
1550
 
1551
+ [[package]]
1552
+ name = "p256"
1553
+ version = "0.13.2"
1554
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1555
+ checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b"
1556
+ dependencies = [
1557
+ "ecdsa",
1558
+ "elliptic-curve",
1559
+ "primeorder",
1560
+ "sha2",
1561
+ ]
1562
+
1563
+ [[package]]
1564
+ name = "p384"
1565
+ version = "0.13.1"
1566
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1567
+ checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6"
1568
+ dependencies = [
1569
+ "ecdsa",
1570
+ "elliptic-curve",
1571
+ "primeorder",
1572
+ "sha2",
1573
+ ]
1574
+
1308
1575
  [[package]]
1309
1576
  name = "parking_lot"
1310
1577
  version = "0.12.5"
@@ -1348,6 +1615,15 @@ dependencies = [
1348
1615
  "serde_core",
1349
1616
  ]
1350
1617
 
1618
+ [[package]]
1619
+ name = "pem-rfc7468"
1620
+ version = "0.7.0"
1621
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1622
+ checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
1623
+ dependencies = [
1624
+ "base64ct",
1625
+ ]
1626
+
1351
1627
  [[package]]
1352
1628
  name = "percent-encoding"
1353
1629
  version = "2.3.2"
@@ -1386,6 +1662,27 @@ version = "0.1.0"
1386
1662
  source = "registry+https://github.com/rust-lang/crates.io-index"
1387
1663
  checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
1388
1664
 
1665
+ [[package]]
1666
+ name = "pkcs1"
1667
+ version = "0.7.5"
1668
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1669
+ checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f"
1670
+ dependencies = [
1671
+ "der",
1672
+ "pkcs8",
1673
+ "spki",
1674
+ ]
1675
+
1676
+ [[package]]
1677
+ name = "pkcs8"
1678
+ version = "0.10.2"
1679
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1680
+ checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7"
1681
+ dependencies = [
1682
+ "der",
1683
+ "spki",
1684
+ ]
1685
+
1389
1686
  [[package]]
1390
1687
  name = "pkg-config"
1391
1688
  version = "0.3.32"
@@ -1419,6 +1716,24 @@ version = "1.3.0"
1419
1716
  source = "registry+https://github.com/rust-lang/crates.io-index"
1420
1717
  checksum = "d558c559f0450f16f2a27a1f017ef38468c1090c9ce63c8e51366232d53717b4"
1421
1718
 
1719
+ [[package]]
1720
+ name = "ppv-lite86"
1721
+ version = "0.2.21"
1722
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1723
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
1724
+ dependencies = [
1725
+ "zerocopy",
1726
+ ]
1727
+
1728
+ [[package]]
1729
+ name = "primeorder"
1730
+ version = "0.13.6"
1731
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1732
+ checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6"
1733
+ dependencies = [
1734
+ "elliptic-curve",
1735
+ ]
1736
+
1422
1737
  [[package]]
1423
1738
  name = "proc-macro-crate"
1424
1739
  version = "3.4.0"
@@ -1513,6 +1828,36 @@ version = "5.3.0"
1513
1828
  source = "registry+https://github.com/rust-lang/crates.io-index"
1514
1829
  checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1515
1830
 
1831
+ [[package]]
1832
+ name = "rand"
1833
+ version = "0.8.5"
1834
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1835
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
1836
+ dependencies = [
1837
+ "libc",
1838
+ "rand_chacha",
1839
+ "rand_core",
1840
+ ]
1841
+
1842
+ [[package]]
1843
+ name = "rand_chacha"
1844
+ version = "0.3.1"
1845
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1846
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
1847
+ dependencies = [
1848
+ "ppv-lite86",
1849
+ "rand_core",
1850
+ ]
1851
+
1852
+ [[package]]
1853
+ name = "rand_core"
1854
+ version = "0.6.4"
1855
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1856
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
1857
+ dependencies = [
1858
+ "getrandom 0.2.16",
1859
+ ]
1860
+
1516
1861
  [[package]]
1517
1862
  name = "redox_syscall"
1518
1863
  version = "0.5.18"
@@ -1568,6 +1913,16 @@ version = "1.9.3"
1568
1913
  source = "registry+https://github.com/rust-lang/crates.io-index"
1569
1914
  checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
1570
1915
 
1916
+ [[package]]
1917
+ name = "rfc6979"
1918
+ version = "0.4.0"
1919
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1920
+ checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2"
1921
+ dependencies = [
1922
+ "hmac",
1923
+ "subtle",
1924
+ ]
1925
+
1571
1926
  [[package]]
1572
1927
  name = "ring"
1573
1928
  version = "0.17.14"
@@ -1582,6 +1937,26 @@ dependencies = [
1582
1937
  "windows-sys 0.52.0",
1583
1938
  ]
1584
1939
 
1940
+ [[package]]
1941
+ name = "rsa"
1942
+ version = "0.9.9"
1943
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1944
+ checksum = "40a0376c50d0358279d9d643e4bf7b7be212f1f4ff1da9070a7b54d22ef75c88"
1945
+ dependencies = [
1946
+ "const-oid",
1947
+ "digest",
1948
+ "num-bigint-dig",
1949
+ "num-integer",
1950
+ "num-traits",
1951
+ "pkcs1",
1952
+ "pkcs8",
1953
+ "rand_core",
1954
+ "signature",
1955
+ "spki",
1956
+ "subtle",
1957
+ "zeroize",
1958
+ ]
1959
+
1585
1960
  [[package]]
1586
1961
  name = "rstest"
1587
1962
  version = "0.26.1"
@@ -1707,6 +2082,20 @@ version = "1.2.0"
1707
2082
  source = "registry+https://github.com/rust-lang/crates.io-index"
1708
2083
  checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
1709
2084
 
2085
+ [[package]]
2086
+ name = "sec1"
2087
+ version = "0.7.3"
2088
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2089
+ checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc"
2090
+ dependencies = [
2091
+ "base16ct",
2092
+ "der",
2093
+ "generic-array",
2094
+ "pkcs8",
2095
+ "subtle",
2096
+ "zeroize",
2097
+ ]
2098
+
1710
2099
  [[package]]
1711
2100
  name = "secrecy"
1712
2101
  version = "0.10.3"
@@ -1744,6 +2133,10 @@ name = "semver"
1744
2133
  version = "1.0.27"
1745
2134
  source = "registry+https://github.com/rust-lang/crates.io-index"
1746
2135
  checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
2136
+ dependencies = [
2137
+ "serde",
2138
+ "serde_core",
2139
+ ]
1747
2140
 
1748
2141
  [[package]]
1749
2142
  name = "serde"
@@ -1882,6 +2275,16 @@ dependencies = [
1882
2275
  "libc",
1883
2276
  ]
1884
2277
 
2278
+ [[package]]
2279
+ name = "signature"
2280
+ version = "2.2.0"
2281
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2282
+ checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de"
2283
+ dependencies = [
2284
+ "digest",
2285
+ "rand_core",
2286
+ ]
2287
+
1885
2288
  [[package]]
1886
2289
  name = "simd-adler32"
1887
2290
  version = "0.3.7"
@@ -1949,6 +2352,22 @@ dependencies = [
1949
2352
  "windows-sys 0.60.2",
1950
2353
  ]
1951
2354
 
2355
+ [[package]]
2356
+ name = "spin"
2357
+ version = "0.9.8"
2358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2359
+ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
2360
+
2361
+ [[package]]
2362
+ name = "spki"
2363
+ version = "0.7.3"
2364
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2365
+ checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
2366
+ dependencies = [
2367
+ "base64ct",
2368
+ "der",
2369
+ ]
2370
+
1952
2371
  [[package]]
1953
2372
  name = "stable_deref_trait"
1954
2373
  version = "1.2.1"
@@ -1961,6 +2380,27 @@ version = "0.11.1"
1961
2380
  source = "registry+https://github.com/rust-lang/crates.io-index"
1962
2381
  checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
1963
2382
 
2383
+ [[package]]
2384
+ name = "strum"
2385
+ version = "0.27.2"
2386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2387
+ checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf"
2388
+ dependencies = [
2389
+ "strum_macros",
2390
+ ]
2391
+
2392
+ [[package]]
2393
+ name = "strum_macros"
2394
+ version = "0.27.2"
2395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2396
+ checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7"
2397
+ dependencies = [
2398
+ "heck",
2399
+ "proc-macro2",
2400
+ "quote",
2401
+ "syn",
2402
+ ]
2403
+
1964
2404
  [[package]]
1965
2405
  name = "subtle"
1966
2406
  version = "2.6.1"
@@ -2682,13 +3122,15 @@ checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9"
2682
3122
 
2683
3123
  [[package]]
2684
3124
  name = "wtg-cli"
2685
- version = "0.1.1"
3125
+ version = "0.2.0"
2686
3126
  dependencies = [
3127
+ "async-trait",
2687
3128
  "chrono",
2688
3129
  "clap",
2689
3130
  "crossterm",
2690
3131
  "dirs",
2691
3132
  "git2",
3133
+ "http",
2692
3134
  "insta",
2693
3135
  "octocrab",
2694
3136
  "percent-encoding",
@@ -2696,6 +3138,7 @@ dependencies = [
2696
3138
  "rstest",
2697
3139
  "serde",
2698
3140
  "serde_yaml",
3141
+ "strum",
2699
3142
  "tempfile",
2700
3143
  "tokio",
2701
3144
  "url",
@@ -2704,7 +3147,7 @@ dependencies = [
2704
3147
 
2705
3148
  [[package]]
2706
3149
  name = "wtg-python"
2707
- version = "0.1.1"
3150
+ version = "0.2.0"
2708
3151
  dependencies = [
2709
3152
  "pyo3",
2710
3153
  "wtg-cli",
@@ -2733,6 +3176,26 @@ dependencies = [
2733
3176
  "synstructure",
2734
3177
  ]
2735
3178
 
3179
+ [[package]]
3180
+ name = "zerocopy"
3181
+ version = "0.8.30"
3182
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3183
+ checksum = "4ea879c944afe8a2b25fef16bb4ba234f47c694565e97383b36f3a878219065c"
3184
+ dependencies = [
3185
+ "zerocopy-derive",
3186
+ ]
3187
+
3188
+ [[package]]
3189
+ name = "zerocopy-derive"
3190
+ version = "0.8.30"
3191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3192
+ checksum = "cf955aa904d6040f70dc8e9384444cb1030aed272ba3cb09bbc4ab9e7c1f34f5"
3193
+ dependencies = [
3194
+ "proc-macro2",
3195
+ "quote",
3196
+ "syn",
3197
+ ]
3198
+
2736
3199
  [[package]]
2737
3200
  name = "zerofrom"
2738
3201
  version = "0.1.6"