@ezetgalaxy/titan 26.0.0 → 26.1.0
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/index.js +37 -24
- package/package.json +1 -1
- package/templates/server/Cargo.lock +370 -5
- package/templates/server/Cargo.toml +3 -0
- package/templates/server/src/action_management.rs +131 -0
- package/templates/server/src/errors.rs +10 -0
- package/templates/server/src/extensions.rs +525 -0
- package/templates/server/src/main.rs +43 -510
- package/templates/server/src/utils.rs +31 -0
- package/templates/titan.d.ts +96 -0
package/index.js
CHANGED
|
@@ -21,27 +21,33 @@ const bold = (t) => `\x1b[1m${t}\x1b[0m`;
|
|
|
21
21
|
* Invocation detection (tit vs titan)
|
|
22
22
|
* ----------------------------------------------------- */
|
|
23
23
|
function wasInvokedAsTit() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
argv[1]?.endsWith("tit.ps1");
|
|
30
|
-
|
|
31
|
-
if (direct) return true;
|
|
32
|
-
|
|
33
|
-
// Case 2: npx / npm exec
|
|
34
|
-
const npmArgvRaw = process.env.npm_config_argv;
|
|
35
|
-
if (!npmArgvRaw) return false;
|
|
24
|
+
const script = process.argv[1];
|
|
25
|
+
if (script) {
|
|
26
|
+
const base = path.basename(script, path.extname(script)).toLowerCase();
|
|
27
|
+
if (base === "tit") return true;
|
|
28
|
+
}
|
|
36
29
|
|
|
37
30
|
try {
|
|
38
|
-
const
|
|
31
|
+
const raw = process.env.npm_config_argv;
|
|
32
|
+
if (raw) {
|
|
33
|
+
const cfg = JSON.parse(raw);
|
|
34
|
+
if (cfg.original && Array.isArray(cfg.original)) {
|
|
35
|
+
// e.g. ["tit", "dev"]
|
|
36
|
+
const first = cfg.original[0];
|
|
37
|
+
if (first && first.includes("tit") && !first.includes("titan")) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
} catch { }
|
|
39
43
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return
|
|
44
|
+
const lastCmd = process.env["_"];
|
|
45
|
+
if (lastCmd) {
|
|
46
|
+
const base = path.basename(lastCmd, path.extname(lastCmd)).toLowerCase();
|
|
47
|
+
if (base === "tit") return true;
|
|
44
48
|
}
|
|
49
|
+
|
|
50
|
+
return false;
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
const isTitAlias = wasInvokedAsTit();
|
|
@@ -55,9 +61,6 @@ if (isTitAlias) {
|
|
|
55
61
|
);
|
|
56
62
|
}
|
|
57
63
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
64
|
/* -------------------------------------------------------
|
|
62
65
|
* Args
|
|
63
66
|
* ----------------------------------------------------- */
|
|
@@ -221,8 +224,14 @@ async function devServer() {
|
|
|
221
224
|
runBundler(root);
|
|
222
225
|
}
|
|
223
226
|
|
|
224
|
-
|
|
225
|
-
|
|
227
|
+
try {
|
|
228
|
+
rebuild();
|
|
229
|
+
startRust();
|
|
230
|
+
} catch (e) {
|
|
231
|
+
console.log(red("Initial build failed:"));
|
|
232
|
+
console.log(e.message);
|
|
233
|
+
// Do not die even on initial fail, user might fix it.
|
|
234
|
+
}
|
|
226
235
|
|
|
227
236
|
const chokidar = (await import("chokidar")).default;
|
|
228
237
|
const watcher = chokidar.watch("app", { ignoreInitial: true });
|
|
@@ -234,8 +243,12 @@ async function devServer() {
|
|
|
234
243
|
|
|
235
244
|
timer = setTimeout(() => {
|
|
236
245
|
console.log(yellow(`Change → ${file}`));
|
|
237
|
-
|
|
238
|
-
|
|
246
|
+
try {
|
|
247
|
+
rebuild();
|
|
248
|
+
startRust();
|
|
249
|
+
} catch (err) {
|
|
250
|
+
console.log(red("Build failed — waiting for changes..."));
|
|
251
|
+
}
|
|
239
252
|
}, 250);
|
|
240
253
|
});
|
|
241
254
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezetgalaxy/titan",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.1.0",
|
|
4
4
|
"description": "Titan Planet is a JavaScript-first backend framework that embeds JS actions into a Rust + Axum server and ships as a single native binary. Routes are compiled to static metadata; only actions run in the embedded JS runtime. No Node.js. No event loop in production.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "ezetgalaxy",
|
|
@@ -63,6 +63,17 @@ dependencies = [
|
|
|
63
63
|
"tokio",
|
|
64
64
|
]
|
|
65
65
|
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "async-trait"
|
|
68
|
+
version = "0.1.89"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"proc-macro2",
|
|
73
|
+
"quote",
|
|
74
|
+
"syn",
|
|
75
|
+
]
|
|
76
|
+
|
|
66
77
|
[[package]]
|
|
67
78
|
name = "atomic-waker"
|
|
68
79
|
version = "1.1.2"
|
|
@@ -139,12 +150,44 @@ version = "0.22.1"
|
|
|
139
150
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
151
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
141
152
|
|
|
153
|
+
[[package]]
|
|
154
|
+
name = "bcrypt"
|
|
155
|
+
version = "0.15.1"
|
|
156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
|
+
checksum = "e65938ed058ef47d92cf8b346cc76ef48984572ade631927e9937b5ffc7662c7"
|
|
158
|
+
dependencies = [
|
|
159
|
+
"base64 0.22.1",
|
|
160
|
+
"blowfish",
|
|
161
|
+
"getrandom 0.2.16",
|
|
162
|
+
"subtle",
|
|
163
|
+
"zeroize",
|
|
164
|
+
]
|
|
165
|
+
|
|
142
166
|
[[package]]
|
|
143
167
|
name = "bitflags"
|
|
144
168
|
version = "2.10.0"
|
|
145
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
170
|
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|
147
171
|
|
|
172
|
+
[[package]]
|
|
173
|
+
name = "block-buffer"
|
|
174
|
+
version = "0.10.4"
|
|
175
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
176
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
177
|
+
dependencies = [
|
|
178
|
+
"generic-array",
|
|
179
|
+
]
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "blowfish"
|
|
183
|
+
version = "0.9.1"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7"
|
|
186
|
+
dependencies = [
|
|
187
|
+
"byteorder",
|
|
188
|
+
"cipher",
|
|
189
|
+
]
|
|
190
|
+
|
|
148
191
|
[[package]]
|
|
149
192
|
name = "boa_ast"
|
|
150
193
|
version = "0.20.0"
|
|
@@ -229,7 +272,7 @@ dependencies = [
|
|
|
229
272
|
"hashbrown 0.15.5",
|
|
230
273
|
"indexmap",
|
|
231
274
|
"once_cell",
|
|
232
|
-
"phf",
|
|
275
|
+
"phf 0.11.3",
|
|
233
276
|
"rustc-hash",
|
|
234
277
|
"static_assertions",
|
|
235
278
|
]
|
|
@@ -331,6 +374,12 @@ dependencies = [
|
|
|
331
374
|
"syn",
|
|
332
375
|
]
|
|
333
376
|
|
|
377
|
+
[[package]]
|
|
378
|
+
name = "byteorder"
|
|
379
|
+
version = "1.5.0"
|
|
380
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
382
|
+
|
|
334
383
|
[[package]]
|
|
335
384
|
name = "bytes"
|
|
336
385
|
version = "1.11.0"
|
|
@@ -359,6 +408,16 @@ version = "0.2.1"
|
|
|
359
408
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
409
|
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
|
361
410
|
|
|
411
|
+
[[package]]
|
|
412
|
+
name = "cipher"
|
|
413
|
+
version = "0.4.4"
|
|
414
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
415
|
+
checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
|
|
416
|
+
dependencies = [
|
|
417
|
+
"crypto-common",
|
|
418
|
+
"inout",
|
|
419
|
+
]
|
|
420
|
+
|
|
362
421
|
[[package]]
|
|
363
422
|
name = "compression-codecs"
|
|
364
423
|
version = "0.4.33"
|
|
@@ -393,6 +452,15 @@ version = "0.8.7"
|
|
|
393
452
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
394
453
|
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
395
454
|
|
|
455
|
+
[[package]]
|
|
456
|
+
name = "cpufeatures"
|
|
457
|
+
version = "0.2.17"
|
|
458
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
459
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
460
|
+
dependencies = [
|
|
461
|
+
"libc",
|
|
462
|
+
]
|
|
463
|
+
|
|
396
464
|
[[package]]
|
|
397
465
|
name = "crc32fast"
|
|
398
466
|
version = "1.5.0"
|
|
@@ -408,6 +476,16 @@ version = "0.8.21"
|
|
|
408
476
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
409
477
|
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
410
478
|
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "crypto-common"
|
|
481
|
+
version = "0.1.7"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
484
|
+
dependencies = [
|
|
485
|
+
"generic-array",
|
|
486
|
+
"typenum",
|
|
487
|
+
]
|
|
488
|
+
|
|
411
489
|
[[package]]
|
|
412
490
|
name = "dashmap"
|
|
413
491
|
version = "6.1.0"
|
|
@@ -431,6 +509,17 @@ dependencies = [
|
|
|
431
509
|
"powerfmt",
|
|
432
510
|
]
|
|
433
511
|
|
|
512
|
+
[[package]]
|
|
513
|
+
name = "digest"
|
|
514
|
+
version = "0.10.7"
|
|
515
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
516
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
517
|
+
dependencies = [
|
|
518
|
+
"block-buffer",
|
|
519
|
+
"crypto-common",
|
|
520
|
+
"subtle",
|
|
521
|
+
]
|
|
522
|
+
|
|
434
523
|
[[package]]
|
|
435
524
|
name = "displaydoc"
|
|
436
525
|
version = "0.2.5"
|
|
@@ -485,6 +574,12 @@ dependencies = [
|
|
|
485
574
|
"windows-sys 0.61.2",
|
|
486
575
|
]
|
|
487
576
|
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "fallible-iterator"
|
|
579
|
+
version = "0.2.0"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
582
|
+
|
|
488
583
|
[[package]]
|
|
489
584
|
name = "fast-float2"
|
|
490
585
|
version = "0.2.3"
|
|
@@ -605,6 +700,16 @@ dependencies = [
|
|
|
605
700
|
"slab",
|
|
606
701
|
]
|
|
607
702
|
|
|
703
|
+
[[package]]
|
|
704
|
+
name = "generic-array"
|
|
705
|
+
version = "0.14.7"
|
|
706
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
707
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
708
|
+
dependencies = [
|
|
709
|
+
"typenum",
|
|
710
|
+
"version_check",
|
|
711
|
+
]
|
|
712
|
+
|
|
608
713
|
[[package]]
|
|
609
714
|
name = "getrandom"
|
|
610
715
|
version = "0.2.16"
|
|
@@ -679,6 +784,15 @@ dependencies = [
|
|
|
679
784
|
"foldhash 0.2.0",
|
|
680
785
|
]
|
|
681
786
|
|
|
787
|
+
[[package]]
|
|
788
|
+
name = "hmac"
|
|
789
|
+
version = "0.12.1"
|
|
790
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
791
|
+
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
|
|
792
|
+
dependencies = [
|
|
793
|
+
"digest",
|
|
794
|
+
]
|
|
795
|
+
|
|
682
796
|
[[package]]
|
|
683
797
|
name = "http"
|
|
684
798
|
version = "1.4.0"
|
|
@@ -1042,6 +1156,15 @@ dependencies = [
|
|
|
1042
1156
|
"hashbrown 0.16.1",
|
|
1043
1157
|
]
|
|
1044
1158
|
|
|
1159
|
+
[[package]]
|
|
1160
|
+
name = "inout"
|
|
1161
|
+
version = "0.1.4"
|
|
1162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1163
|
+
checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
|
|
1164
|
+
dependencies = [
|
|
1165
|
+
"generic-array",
|
|
1166
|
+
]
|
|
1167
|
+
|
|
1045
1168
|
[[package]]
|
|
1046
1169
|
name = "intrusive-collections"
|
|
1047
1170
|
version = "0.9.7"
|
|
@@ -1092,6 +1215,21 @@ dependencies = [
|
|
|
1092
1215
|
"wasm-bindgen",
|
|
1093
1216
|
]
|
|
1094
1217
|
|
|
1218
|
+
[[package]]
|
|
1219
|
+
name = "jsonwebtoken"
|
|
1220
|
+
version = "9.3.1"
|
|
1221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1222
|
+
checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde"
|
|
1223
|
+
dependencies = [
|
|
1224
|
+
"base64 0.22.1",
|
|
1225
|
+
"js-sys",
|
|
1226
|
+
"pem",
|
|
1227
|
+
"ring",
|
|
1228
|
+
"serde",
|
|
1229
|
+
"serde_json",
|
|
1230
|
+
"simple_asn1",
|
|
1231
|
+
]
|
|
1232
|
+
|
|
1095
1233
|
[[package]]
|
|
1096
1234
|
name = "lazy_static"
|
|
1097
1235
|
version = "1.5.0"
|
|
@@ -1104,6 +1242,17 @@ version = "0.2.178"
|
|
|
1104
1242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1105
1243
|
checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
|
|
1106
1244
|
|
|
1245
|
+
[[package]]
|
|
1246
|
+
name = "libredox"
|
|
1247
|
+
version = "0.1.12"
|
|
1248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1249
|
+
checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616"
|
|
1250
|
+
dependencies = [
|
|
1251
|
+
"bitflags",
|
|
1252
|
+
"libc",
|
|
1253
|
+
"redox_syscall 0.7.0",
|
|
1254
|
+
]
|
|
1255
|
+
|
|
1107
1256
|
[[package]]
|
|
1108
1257
|
name = "linux-raw-sys"
|
|
1109
1258
|
version = "0.11.0"
|
|
@@ -1149,6 +1298,16 @@ version = "0.8.4"
|
|
|
1149
1298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1150
1299
|
checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
|
|
1151
1300
|
|
|
1301
|
+
[[package]]
|
|
1302
|
+
name = "md-5"
|
|
1303
|
+
version = "0.10.6"
|
|
1304
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1305
|
+
checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
|
|
1306
|
+
dependencies = [
|
|
1307
|
+
"cfg-if",
|
|
1308
|
+
"digest",
|
|
1309
|
+
]
|
|
1310
|
+
|
|
1152
1311
|
[[package]]
|
|
1153
1312
|
name = "memchr"
|
|
1154
1313
|
version = "2.7.6"
|
|
@@ -1333,6 +1492,16 @@ dependencies = [
|
|
|
1333
1492
|
"vcpkg",
|
|
1334
1493
|
]
|
|
1335
1494
|
|
|
1495
|
+
[[package]]
|
|
1496
|
+
name = "parking_lot"
|
|
1497
|
+
version = "0.12.5"
|
|
1498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1499
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
1500
|
+
dependencies = [
|
|
1501
|
+
"lock_api",
|
|
1502
|
+
"parking_lot_core",
|
|
1503
|
+
]
|
|
1504
|
+
|
|
1336
1505
|
[[package]]
|
|
1337
1506
|
name = "parking_lot_core"
|
|
1338
1507
|
version = "0.9.12"
|
|
@@ -1341,7 +1510,7 @@ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
|
1341
1510
|
dependencies = [
|
|
1342
1511
|
"cfg-if",
|
|
1343
1512
|
"libc",
|
|
1344
|
-
"redox_syscall",
|
|
1513
|
+
"redox_syscall 0.5.18",
|
|
1345
1514
|
"smallvec",
|
|
1346
1515
|
"windows-link",
|
|
1347
1516
|
]
|
|
@@ -1352,6 +1521,16 @@ version = "1.0.15"
|
|
|
1352
1521
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1353
1522
|
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
1354
1523
|
|
|
1524
|
+
[[package]]
|
|
1525
|
+
name = "pem"
|
|
1526
|
+
version = "3.0.6"
|
|
1527
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1528
|
+
checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be"
|
|
1529
|
+
dependencies = [
|
|
1530
|
+
"base64 0.22.1",
|
|
1531
|
+
"serde_core",
|
|
1532
|
+
]
|
|
1533
|
+
|
|
1355
1534
|
[[package]]
|
|
1356
1535
|
name = "percent-encoding"
|
|
1357
1536
|
version = "2.3.2"
|
|
@@ -1365,7 +1544,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1365
1544
|
checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
|
|
1366
1545
|
dependencies = [
|
|
1367
1546
|
"phf_macros",
|
|
1368
|
-
"phf_shared",
|
|
1547
|
+
"phf_shared 0.11.3",
|
|
1548
|
+
]
|
|
1549
|
+
|
|
1550
|
+
[[package]]
|
|
1551
|
+
name = "phf"
|
|
1552
|
+
version = "0.13.1"
|
|
1553
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1554
|
+
checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
|
|
1555
|
+
dependencies = [
|
|
1556
|
+
"phf_shared 0.13.1",
|
|
1557
|
+
"serde",
|
|
1369
1558
|
]
|
|
1370
1559
|
|
|
1371
1560
|
[[package]]
|
|
@@ -1374,7 +1563,7 @@ version = "0.11.3"
|
|
|
1374
1563
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1375
1564
|
checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
|
|
1376
1565
|
dependencies = [
|
|
1377
|
-
"phf_shared",
|
|
1566
|
+
"phf_shared 0.11.3",
|
|
1378
1567
|
"rand 0.8.5",
|
|
1379
1568
|
]
|
|
1380
1569
|
|
|
@@ -1385,7 +1574,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1385
1574
|
checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
|
|
1386
1575
|
dependencies = [
|
|
1387
1576
|
"phf_generator",
|
|
1388
|
-
"phf_shared",
|
|
1577
|
+
"phf_shared 0.11.3",
|
|
1389
1578
|
"proc-macro2",
|
|
1390
1579
|
"quote",
|
|
1391
1580
|
"syn",
|
|
@@ -1400,6 +1589,15 @@ dependencies = [
|
|
|
1400
1589
|
"siphasher",
|
|
1401
1590
|
]
|
|
1402
1591
|
|
|
1592
|
+
[[package]]
|
|
1593
|
+
name = "phf_shared"
|
|
1594
|
+
version = "0.13.1"
|
|
1595
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1596
|
+
checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
|
|
1597
|
+
dependencies = [
|
|
1598
|
+
"siphasher",
|
|
1599
|
+
]
|
|
1600
|
+
|
|
1403
1601
|
[[package]]
|
|
1404
1602
|
name = "pin-project-lite"
|
|
1405
1603
|
version = "0.2.16"
|
|
@@ -1430,6 +1628,51 @@ version = "1.11.1"
|
|
|
1430
1628
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1431
1629
|
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
1432
1630
|
|
|
1631
|
+
[[package]]
|
|
1632
|
+
name = "postgres"
|
|
1633
|
+
version = "0.19.12"
|
|
1634
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1635
|
+
checksum = "e7c48ece1c6cda0db61b058c1721378da76855140e9214339fa1317decacb176"
|
|
1636
|
+
dependencies = [
|
|
1637
|
+
"bytes",
|
|
1638
|
+
"fallible-iterator",
|
|
1639
|
+
"futures-util",
|
|
1640
|
+
"log",
|
|
1641
|
+
"tokio",
|
|
1642
|
+
"tokio-postgres",
|
|
1643
|
+
]
|
|
1644
|
+
|
|
1645
|
+
[[package]]
|
|
1646
|
+
name = "postgres-protocol"
|
|
1647
|
+
version = "0.6.9"
|
|
1648
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1649
|
+
checksum = "fbef655056b916eb868048276cfd5d6a7dea4f81560dfd047f97c8c6fe3fcfd4"
|
|
1650
|
+
dependencies = [
|
|
1651
|
+
"base64 0.22.1",
|
|
1652
|
+
"byteorder",
|
|
1653
|
+
"bytes",
|
|
1654
|
+
"fallible-iterator",
|
|
1655
|
+
"hmac",
|
|
1656
|
+
"md-5",
|
|
1657
|
+
"memchr",
|
|
1658
|
+
"rand 0.9.2",
|
|
1659
|
+
"sha2",
|
|
1660
|
+
"stringprep",
|
|
1661
|
+
]
|
|
1662
|
+
|
|
1663
|
+
[[package]]
|
|
1664
|
+
name = "postgres-types"
|
|
1665
|
+
version = "0.2.11"
|
|
1666
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1667
|
+
checksum = "ef4605b7c057056dd35baeb6ac0c0338e4975b1f2bef0f65da953285eb007095"
|
|
1668
|
+
dependencies = [
|
|
1669
|
+
"bytes",
|
|
1670
|
+
"fallible-iterator",
|
|
1671
|
+
"postgres-protocol",
|
|
1672
|
+
"serde_core",
|
|
1673
|
+
"serde_json",
|
|
1674
|
+
]
|
|
1675
|
+
|
|
1433
1676
|
[[package]]
|
|
1434
1677
|
name = "potential_utf"
|
|
1435
1678
|
version = "0.1.4"
|
|
@@ -1610,6 +1853,15 @@ dependencies = [
|
|
|
1610
1853
|
"bitflags",
|
|
1611
1854
|
]
|
|
1612
1855
|
|
|
1856
|
+
[[package]]
|
|
1857
|
+
name = "redox_syscall"
|
|
1858
|
+
version = "0.7.0"
|
|
1859
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1860
|
+
checksum = "49f3fe0889e69e2ae9e41f4d6c4c0181701d00e4697b356fb1f74173a5e0ee27"
|
|
1861
|
+
dependencies = [
|
|
1862
|
+
"bitflags",
|
|
1863
|
+
]
|
|
1864
|
+
|
|
1613
1865
|
[[package]]
|
|
1614
1866
|
name = "regex"
|
|
1615
1867
|
version = "1.12.2"
|
|
@@ -1894,9 +2146,12 @@ dependencies = [
|
|
|
1894
2146
|
"anyhow",
|
|
1895
2147
|
"axum",
|
|
1896
2148
|
"base64 0.21.7",
|
|
2149
|
+
"bcrypt",
|
|
1897
2150
|
"boa_engine",
|
|
1898
2151
|
"dotenv",
|
|
1899
2152
|
"dotenvy",
|
|
2153
|
+
"jsonwebtoken",
|
|
2154
|
+
"postgres",
|
|
1900
2155
|
"regex",
|
|
1901
2156
|
"reqwest",
|
|
1902
2157
|
"serde",
|
|
@@ -1908,6 +2163,17 @@ dependencies = [
|
|
|
1908
2163
|
"tracing-subscriber",
|
|
1909
2164
|
]
|
|
1910
2165
|
|
|
2166
|
+
[[package]]
|
|
2167
|
+
name = "sha2"
|
|
2168
|
+
version = "0.10.9"
|
|
2169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2170
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
2171
|
+
dependencies = [
|
|
2172
|
+
"cfg-if",
|
|
2173
|
+
"cpufeatures",
|
|
2174
|
+
"digest",
|
|
2175
|
+
]
|
|
2176
|
+
|
|
1911
2177
|
[[package]]
|
|
1912
2178
|
name = "sharded-slab"
|
|
1913
2179
|
version = "0.1.7"
|
|
@@ -1938,6 +2204,18 @@ version = "0.3.7"
|
|
|
1938
2204
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1939
2205
|
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
|
|
1940
2206
|
|
|
2207
|
+
[[package]]
|
|
2208
|
+
name = "simple_asn1"
|
|
2209
|
+
version = "0.6.3"
|
|
2210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2211
|
+
checksum = "297f631f50729c8c99b84667867963997ec0b50f32b2a7dbcab828ef0541e8bb"
|
|
2212
|
+
dependencies = [
|
|
2213
|
+
"num-bigint",
|
|
2214
|
+
"num-traits",
|
|
2215
|
+
"thiserror",
|
|
2216
|
+
"time",
|
|
2217
|
+
]
|
|
2218
|
+
|
|
1941
2219
|
[[package]]
|
|
1942
2220
|
name = "siphasher"
|
|
1943
2221
|
version = "1.0.1"
|
|
@@ -1984,6 +2262,17 @@ version = "1.1.0"
|
|
|
1984
2262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1985
2263
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
1986
2264
|
|
|
2265
|
+
[[package]]
|
|
2266
|
+
name = "stringprep"
|
|
2267
|
+
version = "0.1.5"
|
|
2268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2269
|
+
checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
|
|
2270
|
+
dependencies = [
|
|
2271
|
+
"unicode-bidi",
|
|
2272
|
+
"unicode-normalization",
|
|
2273
|
+
"unicode-properties",
|
|
2274
|
+
]
|
|
2275
|
+
|
|
1987
2276
|
[[package]]
|
|
1988
2277
|
name = "subtle"
|
|
1989
2278
|
version = "2.6.1"
|
|
@@ -2203,6 +2492,32 @@ dependencies = [
|
|
|
2203
2492
|
"tokio",
|
|
2204
2493
|
]
|
|
2205
2494
|
|
|
2495
|
+
[[package]]
|
|
2496
|
+
name = "tokio-postgres"
|
|
2497
|
+
version = "0.7.15"
|
|
2498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2499
|
+
checksum = "2b40d66d9b2cfe04b628173409368e58247e8eddbbd3b0e6c6ba1d09f20f6c9e"
|
|
2500
|
+
dependencies = [
|
|
2501
|
+
"async-trait",
|
|
2502
|
+
"byteorder",
|
|
2503
|
+
"bytes",
|
|
2504
|
+
"fallible-iterator",
|
|
2505
|
+
"futures-channel",
|
|
2506
|
+
"futures-util",
|
|
2507
|
+
"log",
|
|
2508
|
+
"parking_lot",
|
|
2509
|
+
"percent-encoding",
|
|
2510
|
+
"phf 0.13.1",
|
|
2511
|
+
"pin-project-lite",
|
|
2512
|
+
"postgres-protocol",
|
|
2513
|
+
"postgres-types",
|
|
2514
|
+
"rand 0.9.2",
|
|
2515
|
+
"socket2",
|
|
2516
|
+
"tokio",
|
|
2517
|
+
"tokio-util",
|
|
2518
|
+
"whoami",
|
|
2519
|
+
]
|
|
2520
|
+
|
|
2206
2521
|
[[package]]
|
|
2207
2522
|
name = "tokio-rustls"
|
|
2208
2523
|
version = "0.26.4"
|
|
@@ -2366,12 +2681,39 @@ version = "0.2.5"
|
|
|
2366
2681
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2367
2682
|
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
2368
2683
|
|
|
2684
|
+
[[package]]
|
|
2685
|
+
name = "typenum"
|
|
2686
|
+
version = "1.19.0"
|
|
2687
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2688
|
+
checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
|
|
2689
|
+
|
|
2690
|
+
[[package]]
|
|
2691
|
+
name = "unicode-bidi"
|
|
2692
|
+
version = "0.3.18"
|
|
2693
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2694
|
+
checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
|
|
2695
|
+
|
|
2369
2696
|
[[package]]
|
|
2370
2697
|
name = "unicode-ident"
|
|
2371
2698
|
version = "1.0.22"
|
|
2372
2699
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2373
2700
|
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
2374
2701
|
|
|
2702
|
+
[[package]]
|
|
2703
|
+
name = "unicode-normalization"
|
|
2704
|
+
version = "0.1.25"
|
|
2705
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2706
|
+
checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8"
|
|
2707
|
+
dependencies = [
|
|
2708
|
+
"tinyvec",
|
|
2709
|
+
]
|
|
2710
|
+
|
|
2711
|
+
[[package]]
|
|
2712
|
+
name = "unicode-properties"
|
|
2713
|
+
version = "0.1.4"
|
|
2714
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2715
|
+
checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
|
|
2716
|
+
|
|
2375
2717
|
[[package]]
|
|
2376
2718
|
name = "untrusted"
|
|
2377
2719
|
version = "0.9.0"
|
|
@@ -2414,6 +2756,12 @@ version = "0.2.15"
|
|
|
2414
2756
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2415
2757
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
|
2416
2758
|
|
|
2759
|
+
[[package]]
|
|
2760
|
+
name = "version_check"
|
|
2761
|
+
version = "0.9.5"
|
|
2762
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2763
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
2764
|
+
|
|
2417
2765
|
[[package]]
|
|
2418
2766
|
name = "want"
|
|
2419
2767
|
version = "0.3.1"
|
|
@@ -2438,6 +2786,12 @@ dependencies = [
|
|
|
2438
2786
|
"wit-bindgen",
|
|
2439
2787
|
]
|
|
2440
2788
|
|
|
2789
|
+
[[package]]
|
|
2790
|
+
name = "wasite"
|
|
2791
|
+
version = "0.1.0"
|
|
2792
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2793
|
+
checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
|
|
2794
|
+
|
|
2441
2795
|
[[package]]
|
|
2442
2796
|
name = "wasm-bindgen"
|
|
2443
2797
|
version = "0.2.106"
|
|
@@ -2525,6 +2879,17 @@ dependencies = [
|
|
|
2525
2879
|
"rustls-pki-types",
|
|
2526
2880
|
]
|
|
2527
2881
|
|
|
2882
|
+
[[package]]
|
|
2883
|
+
name = "whoami"
|
|
2884
|
+
version = "1.6.1"
|
|
2885
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2886
|
+
checksum = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d"
|
|
2887
|
+
dependencies = [
|
|
2888
|
+
"libredox",
|
|
2889
|
+
"wasite",
|
|
2890
|
+
"web-sys",
|
|
2891
|
+
]
|
|
2892
|
+
|
|
2528
2893
|
[[package]]
|
|
2529
2894
|
name = "windows-link"
|
|
2530
2895
|
version = "0.2.1"
|