neon_arch commited on
Commit
33f5b5e
1 Parent(s): 699e0ec

⚙️ refactor: remove & added some crates & add a new feature (#180)(#178)

Browse files
Files changed (2) hide show
  1. Cargo.lock +247 -105
  2. Cargo.toml +14 -8
Cargo.lock CHANGED
@@ -68,7 +68,7 @@ dependencies = [
68
  "actix-service",
69
  "actix-utils",
70
  "ahash 0.8.3",
71
- "base64 0.21.2",
72
  "bitflags 1.3.2",
73
  "brotli",
74
  "bytes 1.4.0",
@@ -121,9 +121,9 @@ dependencies = [
121
 
122
  [[package]]
123
  name = "actix-rt"
124
- version = "2.8.0"
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
- checksum = "15265b6b8e2347670eb363c47fc8c75208b4a4994b27192f345fcbe707804f3e"
127
  dependencies = [
128
  "futures-core",
129
  "tokio 1.32.0",
@@ -131,9 +131,9 @@ dependencies = [
131
 
132
  [[package]]
133
  name = "actix-server"
134
- version = "2.2.0"
135
  source = "registry+https://github.com/rust-lang/crates.io-index"
136
- checksum = "3e8613a75dd50cc45f473cee3c34d59ed677c0f7b44480ce3b8247d7dc519327"
137
  dependencies = [
138
  "actix-rt",
139
  "actix-service",
@@ -141,8 +141,7 @@ dependencies = [
141
  "futures-core",
142
  "futures-util",
143
  "mio 0.8.8",
144
- "num_cpus",
145
- "socket2 0.4.9",
146
  "tokio 1.32.0",
147
  "tracing",
148
  ]
@@ -205,7 +204,7 @@ dependencies = [
205
  "serde_urlencoded 0.7.1",
206
  "smallvec 1.11.0",
207
  "socket2 0.4.9",
208
- "time 0.3.25",
209
  "url 2.4.0",
210
  ]
211
 
@@ -223,9 +222,9 @@ dependencies = [
223
 
224
  [[package]]
225
  name = "addr2line"
226
- version = "0.20.0"
227
  source = "registry+https://github.com/rust-lang/crates.io-index"
228
- checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3"
229
  dependencies = [
230
  "gimli",
231
  ]
@@ -291,9 +290,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
291
 
292
  [[package]]
293
  name = "anstyle"
294
- version = "1.0.1"
295
  source = "registry+https://github.com/rust-lang/crates.io-index"
296
- checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd"
297
 
298
  [[package]]
299
  name = "anyhow"
@@ -301,6 +300,12 @@ version = "1.0.75"
301
  source = "registry+https://github.com/rust-lang/crates.io-index"
302
  checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
303
 
 
 
 
 
 
 
304
  [[package]]
305
  name = "askama_escape"
306
  version = "0.10.3"
@@ -335,9 +340,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
335
 
336
  [[package]]
337
  name = "backtrace"
338
- version = "0.3.68"
339
  source = "registry+https://github.com/rust-lang/crates.io-index"
340
- checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12"
341
  dependencies = [
342
  "addr2line",
343
  "cc",
@@ -359,9 +364,9 @@ dependencies = [
359
 
360
  [[package]]
361
  name = "base64"
362
- version = "0.21.2"
363
  source = "registry+https://github.com/rust-lang/crates.io-index"
364
- checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"
365
 
366
  [[package]]
367
  name = "bit-set"
@@ -533,18 +538,18 @@ dependencies = [
533
 
534
  [[package]]
535
  name = "clap"
536
- version = "4.3.23"
537
  source = "registry+https://github.com/rust-lang/crates.io-index"
538
- checksum = "03aef18ddf7d879c15ce20f04826ef8418101c7e528014c3eeea13321047dca3"
539
  dependencies = [
540
  "clap_builder",
541
  ]
542
 
543
  [[package]]
544
  name = "clap_builder"
545
- version = "4.3.23"
546
  source = "registry+https://github.com/rust-lang/crates.io-index"
547
- checksum = "f8ce6fffb678c9b80a70b6b6de0aad31df727623a70fd9a842c30cd573e2fa98"
548
  dependencies = [
549
  "anstyle",
550
  "clap_lex",
@@ -552,9 +557,9 @@ dependencies = [
552
 
553
  [[package]]
554
  name = "clap_lex"
555
- version = "0.5.0"
556
  source = "registry+https://github.com/rust-lang/crates.io-index"
557
- checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
558
 
559
  [[package]]
560
  name = "cloudabi"
@@ -572,7 +577,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
572
  checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4"
573
  dependencies = [
574
  "bytes 1.4.0",
 
575
  "memchr",
 
 
 
576
  ]
577
 
578
  [[package]]
@@ -598,7 +607,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
598
  checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb"
599
  dependencies = [
600
  "percent-encoding 2.3.0",
601
- "time 0.3.25",
602
  "version_check",
603
  ]
604
 
@@ -833,6 +842,22 @@ dependencies = [
833
  "syn 1.0.109",
834
  ]
835
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
836
  [[package]]
837
  name = "digest"
838
  version = "0.10.7"
@@ -878,9 +903,9 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
878
 
879
  [[package]]
880
  name = "encoding_rs"
881
- version = "0.8.32"
882
  source = "registry+https://github.com/rust-lang/crates.io-index"
883
- checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394"
884
  dependencies = [
885
  "cfg-if 1.0.0",
886
  ]
@@ -931,9 +956,9 @@ dependencies = [
931
 
932
  [[package]]
933
  name = "error-stack"
934
- version = "0.3.1"
935
  source = "registry+https://github.com/rust-lang/crates.io-index"
936
- checksum = "5f00447f331c7f726db5b8532ebc9163519eed03c6d7c8b73c90b3ff5646ac85"
937
  dependencies = [
938
  "anyhow",
939
  "rustc_version 0.4.0",
@@ -1062,6 +1087,21 @@ version = "0.1.31"
1062
  source = "registry+https://github.com/rust-lang/crates.io-index"
1063
  checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
1064
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  [[package]]
1066
  name = "futures-channel"
1067
  version = "0.3.28"
@@ -1069,6 +1109,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1069
  checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
1070
  dependencies = [
1071
  "futures-core",
 
1072
  ]
1073
 
1074
  [[package]]
@@ -1083,10 +1124,38 @@ version = "0.1.8"
1083
  source = "registry+https://github.com/rust-lang/crates.io-index"
1084
  checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
1085
  dependencies = [
1086
- "futures",
1087
  "num_cpus",
1088
  ]
1089
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  [[package]]
1091
  name = "futures-sink"
1092
  version = "0.3.28"
@@ -1105,10 +1174,16 @@ version = "0.3.28"
1105
  source = "registry+https://github.com/rust-lang/crates.io-index"
1106
  checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
1107
  dependencies = [
 
1108
  "futures-core",
 
 
 
1109
  "futures-task",
 
1110
  "pin-project-lite",
1111
  "pin-utils",
 
1112
  ]
1113
 
1114
  [[package]]
@@ -1152,9 +1227,9 @@ dependencies = [
1152
 
1153
  [[package]]
1154
  name = "gimli"
1155
- version = "0.27.3"
1156
  source = "registry+https://github.com/rust-lang/crates.io-index"
1157
- checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"
1158
 
1159
  [[package]]
1160
  name = "h2"
@@ -1165,7 +1240,7 @@ dependencies = [
1165
  "byteorder",
1166
  "bytes 0.4.12",
1167
  "fnv",
1168
- "futures",
1169
  "http 0.1.21",
1170
  "indexmap",
1171
  "log",
@@ -1283,7 +1358,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1283
  checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
1284
  dependencies = [
1285
  "bytes 0.4.12",
1286
- "futures",
1287
  "http 0.1.21",
1288
  "tokio-buf",
1289
  ]
@@ -1330,7 +1405,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1330
  checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
1331
  dependencies = [
1332
  "bytes 0.4.12",
1333
- "futures",
1334
  "futures-cpupool",
1335
  "h2 0.1.26",
1336
  "http 0.1.21",
@@ -1384,7 +1459,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1384
  checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f"
1385
  dependencies = [
1386
  "bytes 0.4.12",
1387
- "futures",
1388
  "hyper 0.12.36",
1389
  "native-tls",
1390
  "tokio-io",
@@ -1691,6 +1766,16 @@ dependencies = [
1691
  "adler",
1692
  ]
1693
 
 
 
 
 
 
 
 
 
 
 
1694
  [[package]]
1695
  name = "mio"
1696
  version = "0.6.23"
@@ -1734,6 +1819,20 @@ dependencies = [
1734
  "ws2_32-sys",
1735
  ]
1736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1737
  [[package]]
1738
  name = "native-tls"
1739
  version = "0.2.11"
@@ -1796,9 +1895,9 @@ dependencies = [
1796
 
1797
  [[package]]
1798
  name = "object"
1799
- version = "0.31.1"
1800
  source = "registry+https://github.com/rust-lang/crates.io-index"
1801
- checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1"
1802
  dependencies = [
1803
  "memchr",
1804
  ]
@@ -1817,11 +1916,11 @@ checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
1817
 
1818
  [[package]]
1819
  name = "openssl"
1820
- version = "0.10.56"
1821
  source = "registry+https://github.com/rust-lang/crates.io-index"
1822
- checksum = "729b745ad4a5575dd06a3e1af1414bd330ee561c01b3899eb584baeaa8def17e"
1823
  dependencies = [
1824
- "bitflags 1.3.2",
1825
  "cfg-if 1.0.0",
1826
  "foreign-types",
1827
  "libc",
@@ -1849,9 +1948,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
1849
 
1850
  [[package]]
1851
  name = "openssl-sys"
1852
- version = "0.9.91"
1853
  source = "registry+https://github.com/rust-lang/crates.io-index"
1854
- checksum = "866b5f16f90776b9bb8dc1e1802ac6f0513de3a7a7465867bfbc563dc737faac"
1855
  dependencies = [
1856
  "cc",
1857
  "libc",
@@ -2076,7 +2175,7 @@ version = "0.10.0"
2076
  source = "registry+https://github.com/rust-lang/crates.io-index"
2077
  checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
2078
  dependencies = [
2079
- "siphasher 0.3.10",
2080
  ]
2081
 
2082
  [[package]]
@@ -2085,14 +2184,34 @@ version = "0.11.2"
2085
  source = "registry+https://github.com/rust-lang/crates.io-index"
2086
  checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
2087
  dependencies = [
2088
- "siphasher 0.3.10",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2089
  ]
2090
 
2091
  [[package]]
2092
  name = "pin-project-lite"
2093
- version = "0.2.12"
2094
  source = "registry+https://github.com/rust-lang/crates.io-index"
2095
- checksum = "12cc1b0bf1727a77a54b6654e7b5f1af8604923edc8b81885f8ec92f9e3f0a05"
2096
 
2097
  [[package]]
2098
  name = "pin-utils"
@@ -2365,12 +2484,21 @@ version = "0.23.2"
2365
  source = "registry+https://github.com/rust-lang/crates.io-index"
2366
  checksum = "ffd6543a7bc6428396845f6854ccf3d1ae8823816592e2cbe74f20f50f209d02"
2367
  dependencies = [
 
 
 
2368
  "combine",
 
 
2369
  "itoa 1.0.9",
2370
  "percent-encoding 2.3.0",
 
2371
  "ryu",
2372
  "sha1_smol",
2373
  "socket2 0.4.9",
 
 
 
2374
  "url 2.4.0",
2375
  ]
2376
 
@@ -2391,9 +2519,9 @@ dependencies = [
2391
 
2392
  [[package]]
2393
  name = "regex"
2394
- version = "1.9.3"
2395
  source = "registry+https://github.com/rust-lang/crates.io-index"
2396
- checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
2397
  dependencies = [
2398
  "aho-corasick",
2399
  "memchr",
@@ -2403,9 +2531,9 @@ dependencies = [
2403
 
2404
  [[package]]
2405
  name = "regex-automata"
2406
- version = "0.3.6"
2407
  source = "registry+https://github.com/rust-lang/crates.io-index"
2408
- checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
2409
  dependencies = [
2410
  "aho-corasick",
2411
  "memchr",
@@ -2414,9 +2542,9 @@ dependencies = [
2414
 
2415
  [[package]]
2416
  name = "regex-syntax"
2417
- version = "0.7.4"
2418
  source = "registry+https://github.com/rust-lang/crates.io-index"
2419
- checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"
2420
 
2421
  [[package]]
2422
  name = "reqwest"
@@ -2430,7 +2558,7 @@ dependencies = [
2430
  "cookie_store",
2431
  "encoding_rs",
2432
  "flate2",
2433
- "futures",
2434
  "http 0.1.21",
2435
  "hyper 0.12.36",
2436
  "hyper-tls 0.3.2",
@@ -2454,11 +2582,11 @@ dependencies = [
2454
 
2455
  [[package]]
2456
  name = "reqwest"
2457
- version = "0.11.19"
2458
  source = "registry+https://github.com/rust-lang/crates.io-index"
2459
- checksum = "20b9b67e2ca7dd9e9f9285b759de30ff538aab981abaaf7bc9bd90b84a0126c3"
2460
  dependencies = [
2461
- "base64 0.21.2",
2462
  "bytes 1.4.0",
2463
  "encoding_rs",
2464
  "futures-core",
@@ -2489,36 +2617,18 @@ dependencies = [
2489
  "winreg 0.50.0",
2490
  ]
2491
 
2492
- [[package]]
2493
- name = "rlua"
2494
- version = "0.19.7"
2495
- source = "registry+https://github.com/rust-lang/crates.io-index"
2496
- checksum = "5d33e5ba15c3d43178f283ed5863d4531e292fc0e56fb773f3bea45f18e3a42a"
2497
- dependencies = [
2498
- "bitflags 1.3.2",
2499
- "bstr",
2500
- "libc",
2501
- "num-traits",
2502
- "rlua-lua54-sys",
2503
- ]
2504
-
2505
- [[package]]
2506
- name = "rlua-lua54-sys"
2507
- version = "0.1.6"
2508
- source = "registry+https://github.com/rust-lang/crates.io-index"
2509
- checksum = "7aafabafe1895cb4a2be81a56d7ff3d46bf4b5d2f9cfdbea2ed404cdabe96474"
2510
- dependencies = [
2511
- "cc",
2512
- "libc",
2513
- "pkg-config",
2514
- ]
2515
-
2516
  [[package]]
2517
  name = "rustc-demangle"
2518
  version = "0.1.23"
2519
  source = "registry+https://github.com/rust-lang/crates.io-index"
2520
  checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
2521
 
 
 
 
 
 
 
2522
  [[package]]
2523
  name = "rustc_version"
2524
  version = "0.2.3"
@@ -2539,9 +2649,9 @@ dependencies = [
2539
 
2540
  [[package]]
2541
  name = "rustix"
2542
- version = "0.38.8"
2543
  source = "registry+https://github.com/rust-lang/crates.io-index"
2544
- checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f"
2545
  dependencies = [
2546
  "bitflags 2.4.0",
2547
  "errno",
@@ -2684,18 +2794,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
2684
 
2685
  [[package]]
2686
  name = "serde"
2687
- version = "1.0.185"
2688
  source = "registry+https://github.com/rust-lang/crates.io-index"
2689
- checksum = "be9b6f69f1dfd54c3b568ffa45c310d6973a5e5148fd40cf515acaf38cf5bc31"
2690
  dependencies = [
2691
  "serde_derive",
2692
  ]
2693
 
2694
  [[package]]
2695
  name = "serde_derive"
2696
- version = "1.0.185"
2697
  source = "registry+https://github.com/rust-lang/crates.io-index"
2698
- checksum = "dc59dfdcbad1437773485e0367fea4b090a2e0a16d9ffc46af47764536a298ec"
2699
  dependencies = [
2700
  "proc-macro2 1.0.66",
2701
  "quote 1.0.33",
@@ -2791,9 +2901,9 @@ checksum = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac"
2791
 
2792
  [[package]]
2793
  name = "siphasher"
2794
- version = "0.3.10"
2795
  source = "registry+https://github.com/rust-lang/crates.io-index"
2796
- checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
2797
 
2798
  [[package]]
2799
  name = "slab"
@@ -2818,6 +2928,9 @@ name = "smallvec"
2818
  version = "1.11.0"
2819
  source = "registry+https://github.com/rust-lang/crates.io-index"
2820
  checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
 
 
 
2821
 
2822
  [[package]]
2823
  name = "socket2"
@@ -2959,6 +3072,16 @@ dependencies = [
2959
  "unicode-xid 0.2.4",
2960
  ]
2961
 
 
 
 
 
 
 
 
 
 
 
2962
  [[package]]
2963
  name = "tempfile"
2964
  version = "3.8.0"
@@ -3012,6 +3135,12 @@ dependencies = [
3012
  "syn 2.0.29",
3013
  ]
3014
 
 
 
 
 
 
 
3015
  [[package]]
3016
  name = "time"
3017
  version = "0.1.45"
@@ -3025,9 +3154,9 @@ dependencies = [
3025
 
3026
  [[package]]
3027
  name = "time"
3028
- version = "0.3.25"
3029
  source = "registry+https://github.com/rust-lang/crates.io-index"
3030
- checksum = "b0fdd63d58b18d663fbdf70e049f00a22c8e42be082203be7f26589213cd75ea"
3031
  dependencies = [
3032
  "deranged",
3033
  "itoa 1.0.9",
@@ -3044,9 +3173,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb"
3044
 
3045
  [[package]]
3046
  name = "time-macros"
3047
- version = "0.2.11"
3048
  source = "registry+https://github.com/rust-lang/crates.io-index"
3049
- checksum = "eb71511c991639bb078fd5bf97757e03914361c48100d52878b8e52b46fb92cd"
3050
  dependencies = [
3051
  "time-core",
3052
  ]
@@ -3083,7 +3212,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3083
  checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
3084
  dependencies = [
3085
  "bytes 0.4.12",
3086
- "futures",
3087
  "mio 0.6.23",
3088
  "num_cpus",
3089
  "tokio-current-thread",
@@ -3122,7 +3251,7 @@ checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46"
3122
  dependencies = [
3123
  "bytes 0.4.12",
3124
  "either",
3125
- "futures",
3126
  ]
3127
 
3128
  [[package]]
@@ -3131,7 +3260,7 @@ version = "0.1.7"
3131
  source = "registry+https://github.com/rust-lang/crates.io-index"
3132
  checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
3133
  dependencies = [
3134
- "futures",
3135
  "tokio-executor",
3136
  ]
3137
 
@@ -3142,7 +3271,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3142
  checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
3143
  dependencies = [
3144
  "crossbeam-utils 0.7.2",
3145
- "futures",
3146
  ]
3147
 
3148
  [[package]]
@@ -3152,7 +3281,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3152
  checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
3153
  dependencies = [
3154
  "bytes 0.4.12",
3155
- "futures",
3156
  "log",
3157
  ]
3158
 
@@ -3184,7 +3313,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3184
  checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
3185
  dependencies = [
3186
  "crossbeam-utils 0.7.2",
3187
- "futures",
3188
  "lazy_static",
3189
  "log",
3190
  "mio 0.6.23",
@@ -3196,6 +3325,17 @@ dependencies = [
3196
  "tokio-sync",
3197
  ]
3198
 
 
 
 
 
 
 
 
 
 
 
 
3199
  [[package]]
3200
  name = "tokio-sync"
3201
  version = "0.1.8"
@@ -3203,7 +3343,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3203
  checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
3204
  dependencies = [
3205
  "fnv",
3206
- "futures",
3207
  ]
3208
 
3209
  [[package]]
@@ -3213,7 +3353,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3213
  checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
3214
  dependencies = [
3215
  "bytes 0.4.12",
3216
- "futures",
3217
  "iovec",
3218
  "mio 0.6.23",
3219
  "tokio-io",
@@ -3229,7 +3369,7 @@ dependencies = [
3229
  "crossbeam-deque 0.7.4",
3230
  "crossbeam-queue",
3231
  "crossbeam-utils 0.7.2",
3232
- "futures",
3233
  "lazy_static",
3234
  "log",
3235
  "num_cpus",
@@ -3244,7 +3384,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3244
  checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
3245
  dependencies = [
3246
  "crossbeam-utils 0.7.2",
3247
- "futures",
3248
  "slab",
3249
  "tokio-executor",
3250
  ]
@@ -3439,7 +3579,7 @@ version = "0.2.0"
3439
  source = "registry+https://github.com/rust-lang/crates.io-index"
3440
  checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
3441
  dependencies = [
3442
- "futures",
3443
  "log",
3444
  "try-lock",
3445
  ]
@@ -3550,22 +3690,24 @@ dependencies = [
3550
  "actix-web",
3551
  "async-trait",
3552
  "criterion",
 
3553
  "env_logger",
3554
  "error-stack",
3555
  "fake-useragent",
 
3556
  "handlebars",
3557
  "log",
3558
  "md5",
3559
- "once_cell",
3560
  "rand 0.8.5",
3561
  "redis",
3562
  "regex",
3563
- "reqwest 0.11.19",
3564
- "rlua",
3565
  "rusty-hook",
3566
  "scraper",
3567
  "serde",
3568
  "serde_json",
 
3569
  "tempfile",
3570
  "tokio 1.32.0",
3571
  ]
 
68
  "actix-service",
69
  "actix-utils",
70
  "ahash 0.8.3",
71
+ "base64 0.21.3",
72
  "bitflags 1.3.2",
73
  "brotli",
74
  "bytes 1.4.0",
 
121
 
122
  [[package]]
123
  name = "actix-rt"
124
+ version = "2.9.0"
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
+ checksum = "28f32d40287d3f402ae0028a9d54bef51af15c8769492826a69d28f81893151d"
127
  dependencies = [
128
  "futures-core",
129
  "tokio 1.32.0",
 
131
 
132
  [[package]]
133
  name = "actix-server"
134
+ version = "2.3.0"
135
  source = "registry+https://github.com/rust-lang/crates.io-index"
136
+ checksum = "3eb13e7eef0423ea6eab0e59f6c72e7cb46d33691ad56a726b3cd07ddec2c2d4"
137
  dependencies = [
138
  "actix-rt",
139
  "actix-service",
 
141
  "futures-core",
142
  "futures-util",
143
  "mio 0.8.8",
144
+ "socket2 0.5.3",
 
145
  "tokio 1.32.0",
146
  "tracing",
147
  ]
 
204
  "serde_urlencoded 0.7.1",
205
  "smallvec 1.11.0",
206
  "socket2 0.4.9",
207
+ "time 0.3.28",
208
  "url 2.4.0",
209
  ]
210
 
 
222
 
223
  [[package]]
224
  name = "addr2line"
225
+ version = "0.21.0"
226
  source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb"
228
  dependencies = [
229
  "gimli",
230
  ]
 
290
 
291
  [[package]]
292
  name = "anstyle"
293
+ version = "1.0.2"
294
  source = "registry+https://github.com/rust-lang/crates.io-index"
295
+ checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea"
296
 
297
  [[package]]
298
  name = "anyhow"
 
300
  source = "registry+https://github.com/rust-lang/crates.io-index"
301
  checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
302
 
303
+ [[package]]
304
+ name = "arc-swap"
305
+ version = "1.6.0"
306
+ source = "registry+https://github.com/rust-lang/crates.io-index"
307
+ checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6"
308
+
309
  [[package]]
310
  name = "askama_escape"
311
  version = "0.10.3"
 
340
 
341
  [[package]]
342
  name = "backtrace"
343
+ version = "0.3.69"
344
  source = "registry+https://github.com/rust-lang/crates.io-index"
345
+ checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837"
346
  dependencies = [
347
  "addr2line",
348
  "cc",
 
364
 
365
  [[package]]
366
  name = "base64"
367
+ version = "0.21.3"
368
  source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "414dcefbc63d77c526a76b3afcf6fbb9b5e2791c19c3aa2297733208750c6e53"
370
 
371
  [[package]]
372
  name = "bit-set"
 
538
 
539
  [[package]]
540
  name = "clap"
541
+ version = "4.4.0"
542
  source = "registry+https://github.com/rust-lang/crates.io-index"
543
+ checksum = "1d5f1946157a96594eb2d2c10eb7ad9a2b27518cb3000209dec700c35df9197d"
544
  dependencies = [
545
  "clap_builder",
546
  ]
547
 
548
  [[package]]
549
  name = "clap_builder"
550
+ version = "4.4.0"
551
  source = "registry+https://github.com/rust-lang/crates.io-index"
552
+ checksum = "78116e32a042dd73c2901f0dc30790d20ff3447f3e3472fad359e8c3d282bcd6"
553
  dependencies = [
554
  "anstyle",
555
  "clap_lex",
 
557
 
558
  [[package]]
559
  name = "clap_lex"
560
+ version = "0.5.1"
561
  source = "registry+https://github.com/rust-lang/crates.io-index"
562
+ checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961"
563
 
564
  [[package]]
565
  name = "cloudabi"
 
577
  checksum = "35ed6e9d84f0b51a7f52daf1c7d71dd136fd7a3f41a8462b8cdb8c78d920fad4"
578
  dependencies = [
579
  "bytes 1.4.0",
580
+ "futures-core",
581
  "memchr",
582
+ "pin-project-lite",
583
+ "tokio 1.32.0",
584
+ "tokio-util",
585
  ]
586
 
587
  [[package]]
 
607
  checksum = "e859cd57d0710d9e06c381b550c06e76992472a8c6d527aecd2fc673dcc231fb"
608
  dependencies = [
609
  "percent-encoding 2.3.0",
610
+ "time 0.3.28",
611
  "version_check",
612
  ]
613
 
 
842
  "syn 1.0.109",
843
  ]
844
 
845
+ [[package]]
846
+ name = "dhat"
847
+ version = "0.3.2"
848
+ source = "registry+https://github.com/rust-lang/crates.io-index"
849
+ checksum = "4f2aaf837aaf456f6706cb46386ba8dffd4013a757e36f4ea05c20dd46b209a3"
850
+ dependencies = [
851
+ "backtrace",
852
+ "lazy_static",
853
+ "mintex",
854
+ "parking_lot 0.12.1",
855
+ "rustc-hash",
856
+ "serde",
857
+ "serde_json",
858
+ "thousands",
859
+ ]
860
+
861
  [[package]]
862
  name = "digest"
863
  version = "0.10.7"
 
903
 
904
  [[package]]
905
  name = "encoding_rs"
906
+ version = "0.8.33"
907
  source = "registry+https://github.com/rust-lang/crates.io-index"
908
+ checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1"
909
  dependencies = [
910
  "cfg-if 1.0.0",
911
  ]
 
956
 
957
  [[package]]
958
  name = "error-stack"
959
+ version = "0.4.0"
960
  source = "registry+https://github.com/rust-lang/crates.io-index"
961
+ checksum = "e6a37ef405b504fc3b87a24fa52906d98cdd1a7d4e5ef2b49f0d5fead138fced"
962
  dependencies = [
963
  "anyhow",
964
  "rustc_version 0.4.0",
 
1087
  source = "registry+https://github.com/rust-lang/crates.io-index"
1088
  checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
1089
 
1090
+ [[package]]
1091
+ name = "futures"
1092
+ version = "0.3.28"
1093
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1094
+ checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"
1095
+ dependencies = [
1096
+ "futures-channel",
1097
+ "futures-core",
1098
+ "futures-executor",
1099
+ "futures-io",
1100
+ "futures-sink",
1101
+ "futures-task",
1102
+ "futures-util",
1103
+ ]
1104
+
1105
  [[package]]
1106
  name = "futures-channel"
1107
  version = "0.3.28"
 
1109
  checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
1110
  dependencies = [
1111
  "futures-core",
1112
+ "futures-sink",
1113
  ]
1114
 
1115
  [[package]]
 
1124
  source = "registry+https://github.com/rust-lang/crates.io-index"
1125
  checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
1126
  dependencies = [
1127
+ "futures 0.1.31",
1128
  "num_cpus",
1129
  ]
1130
 
1131
+ [[package]]
1132
+ name = "futures-executor"
1133
+ version = "0.3.28"
1134
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1135
+ checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"
1136
+ dependencies = [
1137
+ "futures-core",
1138
+ "futures-task",
1139
+ "futures-util",
1140
+ ]
1141
+
1142
+ [[package]]
1143
+ name = "futures-io"
1144
+ version = "0.3.28"
1145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1146
+ checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
1147
+
1148
+ [[package]]
1149
+ name = "futures-macro"
1150
+ version = "0.3.28"
1151
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1152
+ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
1153
+ dependencies = [
1154
+ "proc-macro2 1.0.66",
1155
+ "quote 1.0.33",
1156
+ "syn 2.0.29",
1157
+ ]
1158
+
1159
  [[package]]
1160
  name = "futures-sink"
1161
  version = "0.3.28"
 
1174
  source = "registry+https://github.com/rust-lang/crates.io-index"
1175
  checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
1176
  dependencies = [
1177
+ "futures-channel",
1178
  "futures-core",
1179
+ "futures-io",
1180
+ "futures-macro",
1181
+ "futures-sink",
1182
  "futures-task",
1183
+ "memchr",
1184
  "pin-project-lite",
1185
  "pin-utils",
1186
+ "slab",
1187
  ]
1188
 
1189
  [[package]]
 
1227
 
1228
  [[package]]
1229
  name = "gimli"
1230
+ version = "0.28.0"
1231
  source = "registry+https://github.com/rust-lang/crates.io-index"
1232
+ checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0"
1233
 
1234
  [[package]]
1235
  name = "h2"
 
1240
  "byteorder",
1241
  "bytes 0.4.12",
1242
  "fnv",
1243
+ "futures 0.1.31",
1244
  "http 0.1.21",
1245
  "indexmap",
1246
  "log",
 
1358
  checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
1359
  dependencies = [
1360
  "bytes 0.4.12",
1361
+ "futures 0.1.31",
1362
  "http 0.1.21",
1363
  "tokio-buf",
1364
  ]
 
1405
  checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
1406
  dependencies = [
1407
  "bytes 0.4.12",
1408
+ "futures 0.1.31",
1409
  "futures-cpupool",
1410
  "h2 0.1.26",
1411
  "http 0.1.21",
 
1459
  checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f"
1460
  dependencies = [
1461
  "bytes 0.4.12",
1462
+ "futures 0.1.31",
1463
  "hyper 0.12.36",
1464
  "native-tls",
1465
  "tokio-io",
 
1766
  "adler",
1767
  ]
1768
 
1769
+ [[package]]
1770
+ name = "mintex"
1771
+ version = "0.1.2"
1772
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1773
+ checksum = "fd7c5ba1c3b5a23418d7bbf98c71c3d4946a0125002129231da8d6b723d559cb"
1774
+ dependencies = [
1775
+ "once_cell",
1776
+ "sys-info",
1777
+ ]
1778
+
1779
  [[package]]
1780
  name = "mio"
1781
  version = "0.6.23"
 
1819
  "ws2_32-sys",
1820
  ]
1821
 
1822
+ [[package]]
1823
+ name = "mlua"
1824
+ version = "0.8.10"
1825
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1826
+ checksum = "0bb37b0ba91f017aa7ca2b98ef99496827770cd635b4a932a6047c5b4bbe678e"
1827
+ dependencies = [
1828
+ "bstr",
1829
+ "cc",
1830
+ "num-traits",
1831
+ "once_cell",
1832
+ "pkg-config",
1833
+ "rustc-hash",
1834
+ ]
1835
+
1836
  [[package]]
1837
  name = "native-tls"
1838
  version = "0.2.11"
 
1895
 
1896
  [[package]]
1897
  name = "object"
1898
+ version = "0.32.0"
1899
  source = "registry+https://github.com/rust-lang/crates.io-index"
1900
+ checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe"
1901
  dependencies = [
1902
  "memchr",
1903
  ]
 
1916
 
1917
  [[package]]
1918
  name = "openssl"
1919
+ version = "0.10.57"
1920
  source = "registry+https://github.com/rust-lang/crates.io-index"
1921
+ checksum = "bac25ee399abb46215765b1cb35bc0212377e58a061560d8b29b024fd0430e7c"
1922
  dependencies = [
1923
+ "bitflags 2.4.0",
1924
  "cfg-if 1.0.0",
1925
  "foreign-types",
1926
  "libc",
 
1948
 
1949
  [[package]]
1950
  name = "openssl-sys"
1951
+ version = "0.9.92"
1952
  source = "registry+https://github.com/rust-lang/crates.io-index"
1953
+ checksum = "db7e971c2c2bba161b2d2fdf37080177eff520b3bc044787c7f1f5f9e78d869b"
1954
  dependencies = [
1955
  "cc",
1956
  "libc",
 
2175
  source = "registry+https://github.com/rust-lang/crates.io-index"
2176
  checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
2177
  dependencies = [
2178
+ "siphasher 0.3.11",
2179
  ]
2180
 
2181
  [[package]]
 
2184
  source = "registry+https://github.com/rust-lang/crates.io-index"
2185
  checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
2186
  dependencies = [
2187
+ "siphasher 0.3.11",
2188
+ ]
2189
+
2190
+ [[package]]
2191
+ name = "pin-project"
2192
+ version = "1.1.3"
2193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2194
+ checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
2195
+ dependencies = [
2196
+ "pin-project-internal",
2197
+ ]
2198
+
2199
+ [[package]]
2200
+ name = "pin-project-internal"
2201
+ version = "1.1.3"
2202
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2203
+ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
2204
+ dependencies = [
2205
+ "proc-macro2 1.0.66",
2206
+ "quote 1.0.33",
2207
+ "syn 2.0.29",
2208
  ]
2209
 
2210
  [[package]]
2211
  name = "pin-project-lite"
2212
+ version = "0.2.13"
2213
  source = "registry+https://github.com/rust-lang/crates.io-index"
2214
+ checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
2215
 
2216
  [[package]]
2217
  name = "pin-utils"
 
2484
  source = "registry+https://github.com/rust-lang/crates.io-index"
2485
  checksum = "ffd6543a7bc6428396845f6854ccf3d1ae8823816592e2cbe74f20f50f209d02"
2486
  dependencies = [
2487
+ "arc-swap",
2488
+ "async-trait",
2489
+ "bytes 1.4.0",
2490
  "combine",
2491
+ "futures 0.3.28",
2492
+ "futures-util",
2493
  "itoa 1.0.9",
2494
  "percent-encoding 2.3.0",
2495
+ "pin-project-lite",
2496
  "ryu",
2497
  "sha1_smol",
2498
  "socket2 0.4.9",
2499
+ "tokio 1.32.0",
2500
+ "tokio-retry",
2501
+ "tokio-util",
2502
  "url 2.4.0",
2503
  ]
2504
 
 
2519
 
2520
  [[package]]
2521
  name = "regex"
2522
+ version = "1.9.4"
2523
  source = "registry+https://github.com/rust-lang/crates.io-index"
2524
+ checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29"
2525
  dependencies = [
2526
  "aho-corasick",
2527
  "memchr",
 
2531
 
2532
  [[package]]
2533
  name = "regex-automata"
2534
+ version = "0.3.7"
2535
  source = "registry+https://github.com/rust-lang/crates.io-index"
2536
+ checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629"
2537
  dependencies = [
2538
  "aho-corasick",
2539
  "memchr",
 
2542
 
2543
  [[package]]
2544
  name = "regex-syntax"
2545
+ version = "0.7.5"
2546
  source = "registry+https://github.com/rust-lang/crates.io-index"
2547
+ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
2548
 
2549
  [[package]]
2550
  name = "reqwest"
 
2558
  "cookie_store",
2559
  "encoding_rs",
2560
  "flate2",
2561
+ "futures 0.1.31",
2562
  "http 0.1.21",
2563
  "hyper 0.12.36",
2564
  "hyper-tls 0.3.2",
 
2582
 
2583
  [[package]]
2584
  name = "reqwest"
2585
+ version = "0.11.20"
2586
  source = "registry+https://github.com/rust-lang/crates.io-index"
2587
+ checksum = "3e9ad3fe7488d7e34558a2033d45a0c90b72d97b4f80705666fea71472e2e6a1"
2588
  dependencies = [
2589
+ "base64 0.21.3",
2590
  "bytes 1.4.0",
2591
  "encoding_rs",
2592
  "futures-core",
 
2617
  "winreg 0.50.0",
2618
  ]
2619
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2620
  [[package]]
2621
  name = "rustc-demangle"
2622
  version = "0.1.23"
2623
  source = "registry+https://github.com/rust-lang/crates.io-index"
2624
  checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
2625
 
2626
+ [[package]]
2627
+ name = "rustc-hash"
2628
+ version = "1.1.0"
2629
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2630
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
2631
+
2632
  [[package]]
2633
  name = "rustc_version"
2634
  version = "0.2.3"
 
2649
 
2650
  [[package]]
2651
  name = "rustix"
2652
+ version = "0.38.9"
2653
  source = "registry+https://github.com/rust-lang/crates.io-index"
2654
+ checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49"
2655
  dependencies = [
2656
  "bitflags 2.4.0",
2657
  "errno",
 
2794
 
2795
  [[package]]
2796
  name = "serde"
2797
+ version = "1.0.188"
2798
  source = "registry+https://github.com/rust-lang/crates.io-index"
2799
+ checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
2800
  dependencies = [
2801
  "serde_derive",
2802
  ]
2803
 
2804
  [[package]]
2805
  name = "serde_derive"
2806
+ version = "1.0.188"
2807
  source = "registry+https://github.com/rust-lang/crates.io-index"
2808
+ checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
2809
  dependencies = [
2810
  "proc-macro2 1.0.66",
2811
  "quote 1.0.33",
 
2901
 
2902
  [[package]]
2903
  name = "siphasher"
2904
+ version = "0.3.11"
2905
  source = "registry+https://github.com/rust-lang/crates.io-index"
2906
+ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
2907
 
2908
  [[package]]
2909
  name = "slab"
 
2928
  version = "1.11.0"
2929
  source = "registry+https://github.com/rust-lang/crates.io-index"
2930
  checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"
2931
+ dependencies = [
2932
+ "serde",
2933
+ ]
2934
 
2935
  [[package]]
2936
  name = "socket2"
 
3072
  "unicode-xid 0.2.4",
3073
  ]
3074
 
3075
+ [[package]]
3076
+ name = "sys-info"
3077
+ version = "0.9.1"
3078
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3079
+ checksum = "0b3a0d0aba8bf96a0e1ddfdc352fc53b3df7f39318c71854910c3c4b024ae52c"
3080
+ dependencies = [
3081
+ "cc",
3082
+ "libc",
3083
+ ]
3084
+
3085
  [[package]]
3086
  name = "tempfile"
3087
  version = "3.8.0"
 
3135
  "syn 2.0.29",
3136
  ]
3137
 
3138
+ [[package]]
3139
+ name = "thousands"
3140
+ version = "0.2.0"
3141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3142
+ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820"
3143
+
3144
  [[package]]
3145
  name = "time"
3146
  version = "0.1.45"
 
3154
 
3155
  [[package]]
3156
  name = "time"
3157
+ version = "0.3.28"
3158
  source = "registry+https://github.com/rust-lang/crates.io-index"
3159
+ checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48"
3160
  dependencies = [
3161
  "deranged",
3162
  "itoa 1.0.9",
 
3173
 
3174
  [[package]]
3175
  name = "time-macros"
3176
+ version = "0.2.14"
3177
  source = "registry+https://github.com/rust-lang/crates.io-index"
3178
+ checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572"
3179
  dependencies = [
3180
  "time-core",
3181
  ]
 
3212
  checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
3213
  dependencies = [
3214
  "bytes 0.4.12",
3215
+ "futures 0.1.31",
3216
  "mio 0.6.23",
3217
  "num_cpus",
3218
  "tokio-current-thread",
 
3251
  dependencies = [
3252
  "bytes 0.4.12",
3253
  "either",
3254
+ "futures 0.1.31",
3255
  ]
3256
 
3257
  [[package]]
 
3260
  source = "registry+https://github.com/rust-lang/crates.io-index"
3261
  checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
3262
  dependencies = [
3263
+ "futures 0.1.31",
3264
  "tokio-executor",
3265
  ]
3266
 
 
3271
  checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
3272
  dependencies = [
3273
  "crossbeam-utils 0.7.2",
3274
+ "futures 0.1.31",
3275
  ]
3276
 
3277
  [[package]]
 
3281
  checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
3282
  dependencies = [
3283
  "bytes 0.4.12",
3284
+ "futures 0.1.31",
3285
  "log",
3286
  ]
3287
 
 
3313
  checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
3314
  dependencies = [
3315
  "crossbeam-utils 0.7.2",
3316
+ "futures 0.1.31",
3317
  "lazy_static",
3318
  "log",
3319
  "mio 0.6.23",
 
3325
  "tokio-sync",
3326
  ]
3327
 
3328
+ [[package]]
3329
+ name = "tokio-retry"
3330
+ version = "0.3.0"
3331
+ source = "registry+https://github.com/rust-lang/crates.io-index"
3332
+ checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f"
3333
+ dependencies = [
3334
+ "pin-project",
3335
+ "rand 0.8.5",
3336
+ "tokio 1.32.0",
3337
+ ]
3338
+
3339
  [[package]]
3340
  name = "tokio-sync"
3341
  version = "0.1.8"
 
3343
  checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
3344
  dependencies = [
3345
  "fnv",
3346
+ "futures 0.1.31",
3347
  ]
3348
 
3349
  [[package]]
 
3353
  checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
3354
  dependencies = [
3355
  "bytes 0.4.12",
3356
+ "futures 0.1.31",
3357
  "iovec",
3358
  "mio 0.6.23",
3359
  "tokio-io",
 
3369
  "crossbeam-deque 0.7.4",
3370
  "crossbeam-queue",
3371
  "crossbeam-utils 0.7.2",
3372
+ "futures 0.1.31",
3373
  "lazy_static",
3374
  "log",
3375
  "num_cpus",
 
3384
  checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
3385
  dependencies = [
3386
  "crossbeam-utils 0.7.2",
3387
+ "futures 0.1.31",
3388
  "slab",
3389
  "tokio-executor",
3390
  ]
 
3579
  source = "registry+https://github.com/rust-lang/crates.io-index"
3580
  checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
3581
  dependencies = [
3582
+ "futures 0.1.31",
3583
  "log",
3584
  "try-lock",
3585
  ]
 
3690
  "actix-web",
3691
  "async-trait",
3692
  "criterion",
3693
+ "dhat",
3694
  "env_logger",
3695
  "error-stack",
3696
  "fake-useragent",
3697
+ "futures 0.3.28",
3698
  "handlebars",
3699
  "log",
3700
  "md5",
3701
+ "mlua",
3702
  "rand 0.8.5",
3703
  "redis",
3704
  "regex",
3705
+ "reqwest 0.11.20",
 
3706
  "rusty-hook",
3707
  "scraper",
3708
  "serde",
3709
  "serde_json",
3710
+ "smallvec 1.11.0",
3711
  "tempfile",
3712
  "tokio 1.32.0",
3713
  ]
Cargo.toml CHANGED
@@ -7,9 +7,9 @@ repository = "https://github.com/neon-mmd/websurfx"
7
  license = "AGPL-3.0"
8
 
9
  [dependencies]
10
- reqwest = {version="0.11.19",features=["json"]}
11
- tokio = {version="1.32.0",features=["full"]}
12
- serde = {version="1.0.185",features=["derive"]}
13
  handlebars = { version = "4.3.7", features = ["dir_source"] }
14
  scraper = {version="0.17.1"}
15
  actix-web = {version="4.3.1", features = ["cookies"]}
@@ -19,14 +19,16 @@ serde_json = {version="1.0.105"}
19
  fake-useragent = {version="0.1.3"}
20
  env_logger = {version="0.10.0"}
21
  log = {version="0.4.20"}
22
- rlua = {version="0.19.7"}
23
- redis = {version="0.23.2"}
24
  md5 = {version="0.7.0"}
25
  rand={version="0.8.5"}
26
- once_cell = {version="1.18.0"}
27
- error-stack = {version="0.3.1"}
28
  async-trait = {version="0.1.73"}
29
  regex = {version="1.9.3", features=["perf"]}
 
 
 
30
 
31
  [dev-dependencies]
32
  rusty-hook = "^0.11.2"
@@ -47,7 +49,8 @@ rpath = false
47
 
48
  [profile.release]
49
  opt-level = 3
50
- debug = false
 
51
  split-debuginfo = '...'
52
  debug-assertions = false
53
  overflow-checks = false
@@ -57,3 +60,6 @@ incremental = false
57
  codegen-units = 16
58
  rpath = false
59
  strip = "debuginfo"
 
 
 
 
7
  license = "AGPL-3.0"
8
 
9
  [dependencies]
10
+ reqwest = {version="0.11.20",features=["json"]}
11
+ tokio = {version="1.32.0",features=["rt-multi-thread","macros"]}
12
+ serde = {version="1.0.188",features=["derive"]}
13
  handlebars = { version = "4.3.7", features = ["dir_source"] }
14
  scraper = {version="0.17.1"}
15
  actix-web = {version="4.3.1", features = ["cookies"]}
 
19
  fake-useragent = {version="0.1.3"}
20
  env_logger = {version="0.10.0"}
21
  log = {version="0.4.20"}
22
+ mlua = {version="0.8.10", features=["luajit"]}
23
+ redis = {version="0.23.2", features=["tokio-comp", "connection-manager"]}
24
  md5 = {version="0.7.0"}
25
  rand={version="0.8.5"}
26
+ error-stack = {version="0.4.0"}
 
27
  async-trait = {version="0.1.73"}
28
  regex = {version="1.9.3", features=["perf"]}
29
+ smallvec = {version="1.11.0", features=["union", "serde"]}
30
+ futures = {version="0.3.28"}
31
+ dhat = {version="0.3.2", optional = true}
32
 
33
  [dev-dependencies]
34
  rusty-hook = "^0.11.2"
 
49
 
50
  [profile.release]
51
  opt-level = 3
52
+ debug = false # This should only be commented when testing with dhat profiler
53
+ # debug = 1 # This should only be uncommented when testing with dhat profiler
54
  split-debuginfo = '...'
55
  debug-assertions = false
56
  overflow-checks = false
 
60
  codegen-units = 16
61
  rpath = false
62
  strip = "debuginfo"
63
+
64
+ [features]
65
+ dhat-heap = ["dep:dhat"]