generator-discord 1.3.9 → 1.3.10
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 +5 -6
- package/templates/rust/Cargo.lock +96 -26
- package/templates/rust/Cargo.toml +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-discord",
|
|
3
3
|
"displayName": "Generator-Discord",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./app/index.js",
|
|
7
7
|
"description": "Create a basic Discord-Bot, supporting many programming languages.",
|
|
@@ -42,12 +42,11 @@
|
|
|
42
42
|
"yeoman-generator": "^7.1.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"dotenv": "^16.4.1",
|
|
48
|
-
"eslint": "^8.56.0",
|
|
45
|
+
"dotenv": "^16.4.5",
|
|
46
|
+
"eslint": "^8.57.0",
|
|
49
47
|
"typescript": "^5.3.3",
|
|
50
|
-
"
|
|
48
|
+
"typescript-eslint": "^7.1.0",
|
|
49
|
+
"vitest": "^1.3.1",
|
|
51
50
|
"yeoman-test": "^8.2.0"
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -72,9 +72,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
72
72
|
|
|
73
73
|
[[package]]
|
|
74
74
|
name = "bitflags"
|
|
75
|
-
version = "2.4.
|
|
75
|
+
version = "2.4.2"
|
|
76
76
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
77
|
+
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
|
|
78
78
|
|
|
79
79
|
[[package]]
|
|
80
80
|
name = "block-buffer"
|
|
@@ -351,7 +351,7 @@ dependencies = [
|
|
|
351
351
|
"futures-core",
|
|
352
352
|
"futures-sink",
|
|
353
353
|
"futures-util",
|
|
354
|
-
"http",
|
|
354
|
+
"http 0.2.11",
|
|
355
355
|
"indexmap",
|
|
356
356
|
"slab",
|
|
357
357
|
"tokio",
|
|
@@ -382,6 +382,17 @@ dependencies = [
|
|
|
382
382
|
"itoa",
|
|
383
383
|
]
|
|
384
384
|
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "http"
|
|
387
|
+
version = "1.0.0"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea"
|
|
390
|
+
dependencies = [
|
|
391
|
+
"bytes",
|
|
392
|
+
"fnv",
|
|
393
|
+
"itoa",
|
|
394
|
+
]
|
|
395
|
+
|
|
385
396
|
[[package]]
|
|
386
397
|
name = "http-body"
|
|
387
398
|
version = "0.4.5"
|
|
@@ -389,7 +400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
389
400
|
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
|
|
390
401
|
dependencies = [
|
|
391
402
|
"bytes",
|
|
392
|
-
"http",
|
|
403
|
+
"http 0.2.11",
|
|
393
404
|
"pin-project-lite",
|
|
394
405
|
]
|
|
395
406
|
|
|
@@ -416,7 +427,7 @@ dependencies = [
|
|
|
416
427
|
"futures-core",
|
|
417
428
|
"futures-util",
|
|
418
429
|
"h2",
|
|
419
|
-
"http",
|
|
430
|
+
"http 0.2.11",
|
|
420
431
|
"http-body",
|
|
421
432
|
"httparse",
|
|
422
433
|
"httpdate",
|
|
@@ -436,11 +447,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
436
447
|
checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
|
|
437
448
|
dependencies = [
|
|
438
449
|
"futures-util",
|
|
439
|
-
"http",
|
|
450
|
+
"http 0.2.11",
|
|
440
451
|
"hyper",
|
|
441
|
-
"rustls",
|
|
452
|
+
"rustls 0.21.9",
|
|
442
453
|
"tokio",
|
|
443
|
-
"tokio-rustls",
|
|
454
|
+
"tokio-rustls 0.24.1",
|
|
444
455
|
]
|
|
445
456
|
|
|
446
457
|
[[package]]
|
|
@@ -653,7 +664,7 @@ dependencies = [
|
|
|
653
664
|
"futures-core",
|
|
654
665
|
"futures-util",
|
|
655
666
|
"h2",
|
|
656
|
-
"http",
|
|
667
|
+
"http 0.2.11",
|
|
657
668
|
"http-body",
|
|
658
669
|
"hyper",
|
|
659
670
|
"hyper-rustls",
|
|
@@ -665,14 +676,14 @@ dependencies = [
|
|
|
665
676
|
"once_cell",
|
|
666
677
|
"percent-encoding",
|
|
667
678
|
"pin-project-lite",
|
|
668
|
-
"rustls",
|
|
679
|
+
"rustls 0.21.9",
|
|
669
680
|
"rustls-pemfile",
|
|
670
681
|
"serde",
|
|
671
682
|
"serde_json",
|
|
672
683
|
"serde_urlencoded",
|
|
673
684
|
"system-configuration",
|
|
674
685
|
"tokio",
|
|
675
|
-
"tokio-rustls",
|
|
686
|
+
"tokio-rustls 0.24.1",
|
|
676
687
|
"tokio-util",
|
|
677
688
|
"tower-service",
|
|
678
689
|
"url",
|
|
@@ -680,7 +691,7 @@ dependencies = [
|
|
|
680
691
|
"wasm-bindgen-futures",
|
|
681
692
|
"wasm-streams",
|
|
682
693
|
"web-sys",
|
|
683
|
-
"webpki-roots",
|
|
694
|
+
"webpki-roots 0.25.2",
|
|
684
695
|
"winreg",
|
|
685
696
|
]
|
|
686
697
|
|
|
@@ -712,10 +723,24 @@ checksum = "629648aced5775d558af50b2b4c7b02983a04b312126d45eeead26e7caa498b9"
|
|
|
712
723
|
dependencies = [
|
|
713
724
|
"log",
|
|
714
725
|
"ring",
|
|
715
|
-
"rustls-webpki",
|
|
726
|
+
"rustls-webpki 0.101.7",
|
|
716
727
|
"sct",
|
|
717
728
|
]
|
|
718
729
|
|
|
730
|
+
[[package]]
|
|
731
|
+
name = "rustls"
|
|
732
|
+
version = "0.22.2"
|
|
733
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
734
|
+
checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41"
|
|
735
|
+
dependencies = [
|
|
736
|
+
"log",
|
|
737
|
+
"ring",
|
|
738
|
+
"rustls-pki-types",
|
|
739
|
+
"rustls-webpki 0.102.2",
|
|
740
|
+
"subtle",
|
|
741
|
+
"zeroize",
|
|
742
|
+
]
|
|
743
|
+
|
|
719
744
|
[[package]]
|
|
720
745
|
name = "rustls-pemfile"
|
|
721
746
|
version = "1.0.4"
|
|
@@ -725,6 +750,12 @@ dependencies = [
|
|
|
725
750
|
"base64",
|
|
726
751
|
]
|
|
727
752
|
|
|
753
|
+
[[package]]
|
|
754
|
+
name = "rustls-pki-types"
|
|
755
|
+
version = "1.3.1"
|
|
756
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
757
|
+
checksum = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8"
|
|
758
|
+
|
|
728
759
|
[[package]]
|
|
729
760
|
name = "rustls-webpki"
|
|
730
761
|
version = "0.101.7"
|
|
@@ -735,6 +766,17 @@ dependencies = [
|
|
|
735
766
|
"untrusted",
|
|
736
767
|
]
|
|
737
768
|
|
|
769
|
+
[[package]]
|
|
770
|
+
name = "rustls-webpki"
|
|
771
|
+
version = "0.102.2"
|
|
772
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
773
|
+
checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610"
|
|
774
|
+
dependencies = [
|
|
775
|
+
"ring",
|
|
776
|
+
"rustls-pki-types",
|
|
777
|
+
"untrusted",
|
|
778
|
+
]
|
|
779
|
+
|
|
738
780
|
[[package]]
|
|
739
781
|
name = "ryu"
|
|
740
782
|
version = "1.0.15"
|
|
@@ -806,14 +848,14 @@ dependencies = [
|
|
|
806
848
|
|
|
807
849
|
[[package]]
|
|
808
850
|
name = "serenity"
|
|
809
|
-
version = "0.12.
|
|
851
|
+
version = "0.12.1"
|
|
810
852
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
811
|
-
checksum = "
|
|
853
|
+
checksum = "c64da29158bb55d70677cacd4f4f8eab1acef005fb830d9c3bea411b090e96a9"
|
|
812
854
|
dependencies = [
|
|
813
855
|
"arrayvec",
|
|
814
856
|
"async-trait",
|
|
815
857
|
"base64",
|
|
816
|
-
"bitflags 2.4.
|
|
858
|
+
"bitflags 2.4.2",
|
|
817
859
|
"bytes",
|
|
818
860
|
"flate2",
|
|
819
861
|
"futures",
|
|
@@ -877,6 +919,12 @@ version = "0.9.8"
|
|
|
877
919
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
878
920
|
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
|
879
921
|
|
|
922
|
+
[[package]]
|
|
923
|
+
name = "subtle"
|
|
924
|
+
version = "2.5.0"
|
|
925
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
926
|
+
checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
|
|
927
|
+
|
|
880
928
|
[[package]]
|
|
881
929
|
name = "syn"
|
|
882
930
|
version = "2.0.39"
|
|
@@ -1007,23 +1055,35 @@ version = "0.24.1"
|
|
|
1007
1055
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1008
1056
|
checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081"
|
|
1009
1057
|
dependencies = [
|
|
1010
|
-
"rustls",
|
|
1058
|
+
"rustls 0.21.9",
|
|
1059
|
+
"tokio",
|
|
1060
|
+
]
|
|
1061
|
+
|
|
1062
|
+
[[package]]
|
|
1063
|
+
name = "tokio-rustls"
|
|
1064
|
+
version = "0.25.0"
|
|
1065
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1066
|
+
checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f"
|
|
1067
|
+
dependencies = [
|
|
1068
|
+
"rustls 0.22.2",
|
|
1069
|
+
"rustls-pki-types",
|
|
1011
1070
|
"tokio",
|
|
1012
1071
|
]
|
|
1013
1072
|
|
|
1014
1073
|
[[package]]
|
|
1015
1074
|
name = "tokio-tungstenite"
|
|
1016
|
-
version = "0.
|
|
1075
|
+
version = "0.21.0"
|
|
1017
1076
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1018
|
-
checksum = "
|
|
1077
|
+
checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38"
|
|
1019
1078
|
dependencies = [
|
|
1020
1079
|
"futures-util",
|
|
1021
1080
|
"log",
|
|
1022
|
-
"rustls",
|
|
1081
|
+
"rustls 0.22.2",
|
|
1082
|
+
"rustls-pki-types",
|
|
1023
1083
|
"tokio",
|
|
1024
|
-
"tokio-rustls",
|
|
1084
|
+
"tokio-rustls 0.25.0",
|
|
1025
1085
|
"tungstenite",
|
|
1026
|
-
"webpki-roots",
|
|
1086
|
+
"webpki-roots 0.26.1",
|
|
1027
1087
|
]
|
|
1028
1088
|
|
|
1029
1089
|
[[package]]
|
|
@@ -1086,18 +1146,19 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
|
|
|
1086
1146
|
|
|
1087
1147
|
[[package]]
|
|
1088
1148
|
name = "tungstenite"
|
|
1089
|
-
version = "0.
|
|
1149
|
+
version = "0.21.0"
|
|
1090
1150
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1091
|
-
checksum = "
|
|
1151
|
+
checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1"
|
|
1092
1152
|
dependencies = [
|
|
1093
1153
|
"byteorder",
|
|
1094
1154
|
"bytes",
|
|
1095
1155
|
"data-encoding",
|
|
1096
|
-
"http",
|
|
1156
|
+
"http 1.0.0",
|
|
1097
1157
|
"httparse",
|
|
1098
1158
|
"log",
|
|
1099
1159
|
"rand",
|
|
1100
|
-
"rustls",
|
|
1160
|
+
"rustls 0.22.2",
|
|
1161
|
+
"rustls-pki-types",
|
|
1101
1162
|
"sha1",
|
|
1102
1163
|
"thiserror",
|
|
1103
1164
|
"url",
|
|
@@ -1286,6 +1347,15 @@ version = "0.25.2"
|
|
|
1286
1347
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1287
1348
|
checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc"
|
|
1288
1349
|
|
|
1350
|
+
[[package]]
|
|
1351
|
+
name = "webpki-roots"
|
|
1352
|
+
version = "0.26.1"
|
|
1353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1354
|
+
checksum = "b3de34ae270483955a94f4b21bdaaeb83d508bb84a01435f393818edb0012009"
|
|
1355
|
+
dependencies = [
|
|
1356
|
+
"rustls-pki-types",
|
|
1357
|
+
]
|
|
1358
|
+
|
|
1289
1359
|
[[package]]
|
|
1290
1360
|
name = "winapi"
|
|
1291
1361
|
version = "0.3.9"
|
|
@@ -6,5 +6,5 @@ edition = "2021"
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
7
7
|
|
|
8
8
|
[dependencies]
|
|
9
|
-
serenity = { version = "0.12.
|
|
9
|
+
serenity = { version = "0.12.1", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
|
|
10
10
|
tokio = { version = "1.36", features = ["macros", "rt-multi-thread"] }
|