pytail 0.1.2__tar.gz → 0.1.4__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 (34) hide show
  1. {pytail-0.1.2 → pytail-0.1.4}/.github/workflows/ci.yml +5 -0
  2. {pytail-0.1.2 → pytail-0.1.4}/Cargo.lock +395 -4
  3. {pytail-0.1.2 → pytail-0.1.4}/Cargo.toml +16 -2
  4. {pytail-0.1.2 → pytail-0.1.4}/PKG-INFO +21 -1
  5. {pytail-0.1.2 → pytail-0.1.4}/README.md +20 -0
  6. pytail-0.1.4/package.json +7 -0
  7. {pytail-0.1.2 → pytail-0.1.4}/pyproject.toml +1 -1
  8. {pytail-0.1.2 → pytail-0.1.4}/src/bin/fanout_bench.rs +4 -0
  9. pytail-0.1.4/src/bin/hot_path_bench.rs +255 -0
  10. pytail-0.1.4/src/bin/root_summary_bench.rs +332 -0
  11. pytail-0.1.4/src/cache.rs +1346 -0
  12. {pytail-0.1.2 → pytail-0.1.4}/src/config.rs +3 -0
  13. pytail-0.1.4/src/generated/.gitkeep +0 -0
  14. pytail-0.1.4/src/generated/ui.css +2 -0
  15. pytail-0.1.4/src/generated/ui.js +1 -0
  16. pytail-0.1.4/src/hot_cache.rs +143 -0
  17. pytail-0.1.4/src/lib.rs +11 -0
  18. pytail-0.1.4/src/range.rs +74 -0
  19. {pytail-0.1.2 → pytail-0.1.4}/src/server.rs +583 -249
  20. pytail-0.1.4/src/simple.rs +925 -0
  21. pytail-0.1.4/tests/pip_smoke.rs +248 -0
  22. pytail-0.1.4/web/package.json +12 -0
  23. pytail-0.1.4/web/src/main.ts +24 -0
  24. pytail-0.1.4/web/src/styles.css +214 -0
  25. pytail-0.1.4/web/tsconfig.json +11 -0
  26. pytail-0.1.2/src/cache.rs +0 -827
  27. pytail-0.1.2/src/lib.rs +0 -5
  28. pytail-0.1.2/src/simple.rs +0 -504
  29. {pytail-0.1.2 → pytail-0.1.4}/.github/dependabot.yml +0 -0
  30. {pytail-0.1.2 → pytail-0.1.4}/.github/workflows/release.yml +0 -0
  31. {pytail-0.1.2 → pytail-0.1.4}/.gitignore +0 -0
  32. {pytail-0.1.2 → pytail-0.1.4}/.pre-commit-config.yaml +0 -0
  33. {pytail-0.1.2 → pytail-0.1.4}/src/main.rs +0 -0
  34. {pytail-0.1.2 → pytail-0.1.4}/src/upstream.rs +0 -0
@@ -30,6 +30,11 @@ jobs:
30
30
  with:
31
31
  components: clippy, rustfmt
32
32
 
33
+ - name: Install Python
34
+ uses: actions/setup-python@v6
35
+ with:
36
+ python-version: "3.12"
37
+
33
38
  - name: Cache Cargo
34
39
  uses: Swatinem/rust-cache@v2
35
40
 
@@ -2,6 +2,12 @@
2
2
  # It is not intended for manual editing.
3
3
  version = 4
4
4
 
5
+ [[package]]
6
+ name = "adler2"
7
+ version = "2.0.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
+
5
11
  [[package]]
6
12
  name = "ahash"
7
13
  version = "0.8.12"
@@ -73,6 +79,24 @@ dependencies = [
73
79
  "windows-sys 0.61.2",
74
80
  ]
75
81
 
82
+ [[package]]
83
+ name = "anyhow"
84
+ version = "1.0.102"
85
+ source = "registry+https://github.com/rust-lang/crates.io-index"
86
+ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
87
+
88
+ [[package]]
89
+ name = "async-compression"
90
+ version = "0.4.42"
91
+ source = "registry+https://github.com/rust-lang/crates.io-index"
92
+ checksum = "e79b3f8a79cccc2898f31920fc69f304859b3bd567490f75ebf51ae1c792a9ac"
93
+ dependencies = [
94
+ "compression-codecs",
95
+ "compression-core",
96
+ "pin-project-lite",
97
+ "tokio",
98
+ ]
99
+
76
100
  [[package]]
77
101
  name = "atomic-waker"
78
102
  version = "1.1.2"
@@ -238,6 +262,23 @@ version = "1.0.5"
238
262
  source = "registry+https://github.com/rust-lang/crates.io-index"
239
263
  checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
240
264
 
265
+ [[package]]
266
+ name = "compression-codecs"
267
+ version = "0.4.38"
268
+ source = "registry+https://github.com/rust-lang/crates.io-index"
269
+ checksum = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf"
270
+ dependencies = [
271
+ "compression-core",
272
+ "flate2",
273
+ "memchr",
274
+ ]
275
+
276
+ [[package]]
277
+ name = "compression-core"
278
+ version = "0.4.32"
279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
280
+ checksum = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789"
281
+
241
282
  [[package]]
242
283
  name = "cpufeatures"
243
284
  version = "0.2.17"
@@ -247,6 +288,39 @@ dependencies = [
247
288
  "libc",
248
289
  ]
249
290
 
291
+ [[package]]
292
+ name = "crc32fast"
293
+ version = "1.5.0"
294
+ source = "registry+https://github.com/rust-lang/crates.io-index"
295
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
296
+ dependencies = [
297
+ "cfg-if",
298
+ ]
299
+
300
+ [[package]]
301
+ name = "crossbeam-channel"
302
+ version = "0.5.15"
303
+ source = "registry+https://github.com/rust-lang/crates.io-index"
304
+ checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
305
+ dependencies = [
306
+ "crossbeam-utils",
307
+ ]
308
+
309
+ [[package]]
310
+ name = "crossbeam-epoch"
311
+ version = "0.9.18"
312
+ source = "registry+https://github.com/rust-lang/crates.io-index"
313
+ checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
314
+ dependencies = [
315
+ "crossbeam-utils",
316
+ ]
317
+
318
+ [[package]]
319
+ name = "crossbeam-utils"
320
+ version = "0.8.21"
321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
322
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
323
+
250
324
  [[package]]
251
325
  name = "crypto-common"
252
326
  version = "0.1.7"
@@ -280,6 +354,20 @@ dependencies = [
280
354
  "syn",
281
355
  ]
282
356
 
357
+ [[package]]
358
+ name = "dashmap"
359
+ version = "6.1.0"
360
+ source = "registry+https://github.com/rust-lang/crates.io-index"
361
+ checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
362
+ dependencies = [
363
+ "cfg-if",
364
+ "crossbeam-utils",
365
+ "hashbrown 0.14.5",
366
+ "lock_api",
367
+ "once_cell",
368
+ "parking_lot_core",
369
+ ]
370
+
283
371
  [[package]]
284
372
  name = "derive_more"
285
373
  version = "2.1.1"
@@ -343,6 +431,12 @@ version = "0.10.0"
343
431
  source = "registry+https://github.com/rust-lang/crates.io-index"
344
432
  checksum = "b2972feb8dffe7bc8c5463b1dacda1b0dfbed3710e50f977d965429692d74cd8"
345
433
 
434
+ [[package]]
435
+ name = "equivalent"
436
+ version = "1.0.2"
437
+ source = "registry+https://github.com/rust-lang/crates.io-index"
438
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
439
+
346
440
  [[package]]
347
441
  name = "errno"
348
442
  version = "0.3.14"
@@ -377,6 +471,22 @@ version = "0.1.9"
377
471
  source = "registry+https://github.com/rust-lang/crates.io-index"
378
472
  checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
379
473
 
474
+ [[package]]
475
+ name = "flate2"
476
+ version = "1.1.9"
477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
478
+ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
479
+ dependencies = [
480
+ "crc32fast",
481
+ "miniz_oxide",
482
+ ]
483
+
484
+ [[package]]
485
+ name = "foldhash"
486
+ version = "0.1.5"
487
+ source = "registry+https://github.com/rust-lang/crates.io-index"
488
+ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
489
+
380
490
  [[package]]
381
491
  name = "form_urlencoded"
382
492
  version = "1.2.2"
@@ -506,11 +616,24 @@ dependencies = [
506
616
  "cfg-if",
507
617
  "js-sys",
508
618
  "libc",
509
- "r-efi",
619
+ "r-efi 5.3.0",
510
620
  "wasip2",
511
621
  "wasm-bindgen",
512
622
  ]
513
623
 
624
+ [[package]]
625
+ name = "getrandom"
626
+ version = "0.4.2"
627
+ source = "registry+https://github.com/rust-lang/crates.io-index"
628
+ checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
629
+ dependencies = [
630
+ "cfg-if",
631
+ "libc",
632
+ "r-efi 6.0.0",
633
+ "wasip2",
634
+ "wasip3",
635
+ ]
636
+
514
637
  [[package]]
515
638
  name = "hashbrown"
516
639
  version = "0.14.5"
@@ -520,13 +643,28 @@ dependencies = [
520
643
  "ahash",
521
644
  ]
522
645
 
646
+ [[package]]
647
+ name = "hashbrown"
648
+ version = "0.15.5"
649
+ source = "registry+https://github.com/rust-lang/crates.io-index"
650
+ checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
651
+ dependencies = [
652
+ "foldhash",
653
+ ]
654
+
655
+ [[package]]
656
+ name = "hashbrown"
657
+ version = "0.17.1"
658
+ source = "registry+https://github.com/rust-lang/crates.io-index"
659
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
660
+
523
661
  [[package]]
524
662
  name = "hashlink"
525
663
  version = "0.9.1"
526
664
  source = "registry+https://github.com/rust-lang/crates.io-index"
527
665
  checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af"
528
666
  dependencies = [
529
- "hashbrown",
667
+ "hashbrown 0.14.5",
530
668
  ]
531
669
 
532
670
  [[package]]
@@ -733,6 +871,12 @@ dependencies = [
733
871
  "zerovec",
734
872
  ]
735
873
 
874
+ [[package]]
875
+ name = "id-arena"
876
+ version = "2.3.0"
877
+ source = "registry+https://github.com/rust-lang/crates.io-index"
878
+ checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
879
+
736
880
  [[package]]
737
881
  name = "idna"
738
882
  version = "1.1.0"
@@ -754,6 +898,18 @@ dependencies = [
754
898
  "icu_properties",
755
899
  ]
756
900
 
901
+ [[package]]
902
+ name = "indexmap"
903
+ version = "2.14.0"
904
+ source = "registry+https://github.com/rust-lang/crates.io-index"
905
+ checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
906
+ dependencies = [
907
+ "equivalent",
908
+ "hashbrown 0.17.1",
909
+ "serde",
910
+ "serde_core",
911
+ ]
912
+
757
913
  [[package]]
758
914
  name = "ipnet"
759
915
  version = "2.12.0"
@@ -790,12 +946,27 @@ version = "1.5.0"
790
946
  source = "registry+https://github.com/rust-lang/crates.io-index"
791
947
  checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
792
948
 
949
+ [[package]]
950
+ name = "leb128fmt"
951
+ version = "0.1.0"
952
+ source = "registry+https://github.com/rust-lang/crates.io-index"
953
+ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
954
+
793
955
  [[package]]
794
956
  name = "libc"
795
957
  version = "0.2.186"
796
958
  source = "registry+https://github.com/rust-lang/crates.io-index"
797
959
  checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
798
960
 
961
+ [[package]]
962
+ name = "libmimalloc-sys"
963
+ version = "0.1.47"
964
+ source = "registry+https://github.com/rust-lang/crates.io-index"
965
+ checksum = "2d1eacfa31c33ec25e873c136ba5669f00f9866d0688bea7be4d3f7e43067df6"
966
+ dependencies = [
967
+ "cc",
968
+ ]
969
+
799
970
  [[package]]
800
971
  name = "libsqlite3-sys"
801
972
  version = "0.30.1"
@@ -889,6 +1060,15 @@ version = "2.8.0"
889
1060
  source = "registry+https://github.com/rust-lang/crates.io-index"
890
1061
  checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
891
1062
 
1063
+ [[package]]
1064
+ name = "mimalloc"
1065
+ version = "0.1.50"
1066
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1067
+ checksum = "b3627c4272df786b9260cabaa46aec1d59c93ede723d4c3ef646c503816b0640"
1068
+ dependencies = [
1069
+ "libmimalloc-sys",
1070
+ ]
1071
+
892
1072
  [[package]]
893
1073
  name = "mime"
894
1074
  version = "0.3.17"
@@ -905,6 +1085,16 @@ dependencies = [
905
1085
  "unicase",
906
1086
  ]
907
1087
 
1088
+ [[package]]
1089
+ name = "miniz_oxide"
1090
+ version = "0.8.9"
1091
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1092
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
1093
+ dependencies = [
1094
+ "adler2",
1095
+ "simd-adler32",
1096
+ ]
1097
+
908
1098
  [[package]]
909
1099
  name = "mio"
910
1100
  version = "1.2.0"
@@ -916,6 +1106,23 @@ dependencies = [
916
1106
  "windows-sys 0.61.2",
917
1107
  ]
918
1108
 
1109
+ [[package]]
1110
+ name = "moka"
1111
+ version = "0.12.15"
1112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1113
+ checksum = "957228ad12042ee839f93c8f257b62b4c0ab5eaae1d4fa60de53b27c9d7c5046"
1114
+ dependencies = [
1115
+ "crossbeam-channel",
1116
+ "crossbeam-epoch",
1117
+ "crossbeam-utils",
1118
+ "equivalent",
1119
+ "parking_lot",
1120
+ "portable-atomic",
1121
+ "smallvec",
1122
+ "tagptr",
1123
+ "uuid",
1124
+ ]
1125
+
919
1126
  [[package]]
920
1127
  name = "new_debug_unreachable"
921
1128
  version = "1.0.6"
@@ -1036,6 +1243,12 @@ version = "0.3.33"
1036
1243
  source = "registry+https://github.com/rust-lang/crates.io-index"
1037
1244
  checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
1038
1245
 
1246
+ [[package]]
1247
+ name = "portable-atomic"
1248
+ version = "1.13.1"
1249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1250
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
1251
+
1039
1252
  [[package]]
1040
1253
  name = "potential_utf"
1041
1254
  version = "0.1.5"
@@ -1060,6 +1273,16 @@ version = "0.1.1"
1060
1273
  source = "registry+https://github.com/rust-lang/crates.io-index"
1061
1274
  checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
1062
1275
 
1276
+ [[package]]
1277
+ name = "prettyplease"
1278
+ version = "0.2.37"
1279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1280
+ checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
1281
+ dependencies = [
1282
+ "proc-macro2",
1283
+ "syn",
1284
+ ]
1285
+
1063
1286
  [[package]]
1064
1287
  name = "proc-macro2"
1065
1288
  version = "1.0.106"
@@ -1071,13 +1294,16 @@ dependencies = [
1071
1294
 
1072
1295
  [[package]]
1073
1296
  name = "pytail"
1074
- version = "0.1.2"
1297
+ version = "0.1.4"
1075
1298
  dependencies = [
1076
1299
  "axum",
1077
1300
  "bytes",
1078
1301
  "clap",
1302
+ "dashmap",
1079
1303
  "futures-util",
1304
+ "mimalloc",
1080
1305
  "mime_guess",
1306
+ "moka",
1081
1307
  "reqwest",
1082
1308
  "rusqlite",
1083
1309
  "scraper",
@@ -1088,6 +1314,7 @@ dependencies = [
1088
1314
  "tokio",
1089
1315
  "tokio-util",
1090
1316
  "tower",
1317
+ "tower-http",
1091
1318
  "tracing",
1092
1319
  "tracing-subscriber",
1093
1320
  "url",
@@ -1163,6 +1390,12 @@ version = "5.3.0"
1163
1390
  source = "registry+https://github.com/rust-lang/crates.io-index"
1164
1391
  checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
1165
1392
 
1393
+ [[package]]
1394
+ name = "r-efi"
1395
+ version = "6.0.0"
1396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1397
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
1398
+
1166
1399
  [[package]]
1167
1400
  name = "rand"
1168
1401
  version = "0.8.6"
@@ -1534,6 +1767,12 @@ dependencies = [
1534
1767
  "libc",
1535
1768
  ]
1536
1769
 
1770
+ [[package]]
1771
+ name = "simd-adler32"
1772
+ version = "0.3.9"
1773
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1774
+ checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
1775
+
1537
1776
  [[package]]
1538
1777
  name = "siphasher"
1539
1778
  version = "1.0.3"
@@ -1636,6 +1875,12 @@ dependencies = [
1636
1875
  "syn",
1637
1876
  ]
1638
1877
 
1878
+ [[package]]
1879
+ name = "tagptr"
1880
+ version = "0.2.0"
1881
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1882
+ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
1883
+
1639
1884
  [[package]]
1640
1885
  name = "tempfile"
1641
1886
  version = "3.27.0"
@@ -1643,7 +1888,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1643
1888
  checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
1644
1889
  dependencies = [
1645
1890
  "fastrand",
1646
- "getrandom 0.3.4",
1891
+ "getrandom 0.4.2",
1647
1892
  "once_cell",
1648
1893
  "rustix",
1649
1894
  "windows-sys 0.61.2",
@@ -1786,12 +2031,16 @@ version = "0.6.10"
1786
2031
  source = "registry+https://github.com/rust-lang/crates.io-index"
1787
2032
  checksum = "68d6fdd9f81c2819c9a8b0e0cd91660e7746a8e6ea2ba7c6b2b057985f6bcb51"
1788
2033
  dependencies = [
2034
+ "async-compression",
1789
2035
  "bitflags",
1790
2036
  "bytes",
2037
+ "futures-core",
1791
2038
  "futures-util",
1792
2039
  "http",
1793
2040
  "http-body",
1794
2041
  "pin-project-lite",
2042
+ "tokio",
2043
+ "tokio-util",
1795
2044
  "tower",
1796
2045
  "tower-layer",
1797
2046
  "tower-service",
@@ -1902,6 +2151,12 @@ version = "0.2.2"
1902
2151
  source = "registry+https://github.com/rust-lang/crates.io-index"
1903
2152
  checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
1904
2153
 
2154
+ [[package]]
2155
+ name = "unicode-xid"
2156
+ version = "0.2.6"
2157
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2158
+ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
2159
+
1905
2160
  [[package]]
1906
2161
  name = "untrusted"
1907
2162
  version = "0.9.0"
@@ -1938,6 +2193,17 @@ version = "0.2.2"
1938
2193
  source = "registry+https://github.com/rust-lang/crates.io-index"
1939
2194
  checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1940
2195
 
2196
+ [[package]]
2197
+ name = "uuid"
2198
+ version = "1.23.1"
2199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2200
+ checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76"
2201
+ dependencies = [
2202
+ "getrandom 0.4.2",
2203
+ "js-sys",
2204
+ "wasm-bindgen",
2205
+ ]
2206
+
1941
2207
  [[package]]
1942
2208
  name = "valuable"
1943
2209
  version = "0.1.1"
@@ -1980,6 +2246,15 @@ dependencies = [
1980
2246
  "wit-bindgen",
1981
2247
  ]
1982
2248
 
2249
+ [[package]]
2250
+ name = "wasip3"
2251
+ version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
2252
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2253
+ checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
2254
+ dependencies = [
2255
+ "wit-bindgen",
2256
+ ]
2257
+
1983
2258
  [[package]]
1984
2259
  name = "wasm-bindgen"
1985
2260
  version = "0.2.118"
@@ -2035,6 +2310,28 @@ dependencies = [
2035
2310
  "unicode-ident",
2036
2311
  ]
2037
2312
 
2313
+ [[package]]
2314
+ name = "wasm-encoder"
2315
+ version = "0.244.0"
2316
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2317
+ checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
2318
+ dependencies = [
2319
+ "leb128fmt",
2320
+ "wasmparser",
2321
+ ]
2322
+
2323
+ [[package]]
2324
+ name = "wasm-metadata"
2325
+ version = "0.244.0"
2326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2327
+ checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
2328
+ dependencies = [
2329
+ "anyhow",
2330
+ "indexmap",
2331
+ "wasm-encoder",
2332
+ "wasmparser",
2333
+ ]
2334
+
2038
2335
  [[package]]
2039
2336
  name = "wasm-streams"
2040
2337
  version = "0.4.2"
@@ -2048,6 +2345,18 @@ dependencies = [
2048
2345
  "web-sys",
2049
2346
  ]
2050
2347
 
2348
+ [[package]]
2349
+ name = "wasmparser"
2350
+ version = "0.244.0"
2351
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2352
+ checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
2353
+ dependencies = [
2354
+ "bitflags",
2355
+ "hashbrown 0.15.5",
2356
+ "indexmap",
2357
+ "semver",
2358
+ ]
2359
+
2051
2360
  [[package]]
2052
2361
  name = "web-sys"
2053
2362
  version = "0.3.95"
@@ -2182,6 +2491,88 @@ name = "wit-bindgen"
2182
2491
  version = "0.51.0"
2183
2492
  source = "registry+https://github.com/rust-lang/crates.io-index"
2184
2493
  checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
2494
+ dependencies = [
2495
+ "wit-bindgen-rust-macro",
2496
+ ]
2497
+
2498
+ [[package]]
2499
+ name = "wit-bindgen-core"
2500
+ version = "0.51.0"
2501
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2502
+ checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
2503
+ dependencies = [
2504
+ "anyhow",
2505
+ "heck",
2506
+ "wit-parser",
2507
+ ]
2508
+
2509
+ [[package]]
2510
+ name = "wit-bindgen-rust"
2511
+ version = "0.51.0"
2512
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2513
+ checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
2514
+ dependencies = [
2515
+ "anyhow",
2516
+ "heck",
2517
+ "indexmap",
2518
+ "prettyplease",
2519
+ "syn",
2520
+ "wasm-metadata",
2521
+ "wit-bindgen-core",
2522
+ "wit-component",
2523
+ ]
2524
+
2525
+ [[package]]
2526
+ name = "wit-bindgen-rust-macro"
2527
+ version = "0.51.0"
2528
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2529
+ checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
2530
+ dependencies = [
2531
+ "anyhow",
2532
+ "prettyplease",
2533
+ "proc-macro2",
2534
+ "quote",
2535
+ "syn",
2536
+ "wit-bindgen-core",
2537
+ "wit-bindgen-rust",
2538
+ ]
2539
+
2540
+ [[package]]
2541
+ name = "wit-component"
2542
+ version = "0.244.0"
2543
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2544
+ checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
2545
+ dependencies = [
2546
+ "anyhow",
2547
+ "bitflags",
2548
+ "indexmap",
2549
+ "log",
2550
+ "serde",
2551
+ "serde_derive",
2552
+ "serde_json",
2553
+ "wasm-encoder",
2554
+ "wasm-metadata",
2555
+ "wasmparser",
2556
+ "wit-parser",
2557
+ ]
2558
+
2559
+ [[package]]
2560
+ name = "wit-parser"
2561
+ version = "0.244.0"
2562
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2563
+ checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
2564
+ dependencies = [
2565
+ "anyhow",
2566
+ "id-arena",
2567
+ "indexmap",
2568
+ "log",
2569
+ "semver",
2570
+ "serde",
2571
+ "serde_derive",
2572
+ "serde_json",
2573
+ "unicode-xid",
2574
+ "wasmparser",
2575
+ ]
2185
2576
 
2186
2577
  [[package]]
2187
2578
  name = "writeable"
@@ -1,13 +1,13 @@
1
1
  [package]
2
2
  name = "pytail"
3
- version = "0.1.2"
3
+ version = "0.1.4"
4
4
  edition = "2024"
5
5
  default-run = "pytail"
6
6
  autobins = false
7
7
  readme = "README.md"
8
8
 
9
9
  [profile.release]
10
- opt-level = "z"
10
+ opt-level = 3
11
11
  lto = true
12
12
  codegen-units = 1
13
13
  strip = true
@@ -25,12 +25,25 @@ name = "fanout_bench"
25
25
  path = "src/bin/fanout_bench.rs"
26
26
  required-features = ["bench-tools"]
27
27
 
28
+ [[bin]]
29
+ name = "hot_path_bench"
30
+ path = "src/bin/hot_path_bench.rs"
31
+ required-features = ["bench-tools"]
32
+
33
+ [[bin]]
34
+ name = "root_summary_bench"
35
+ path = "src/bin/root_summary_bench.rs"
36
+ required-features = ["bench-tools"]
37
+
28
38
  [dependencies]
29
39
  axum = "0.8"
30
40
  bytes = "1"
31
41
  clap = { version = "4", features = ["derive"] }
42
+ dashmap = "6"
32
43
  futures-util = "0.3"
33
44
  mime_guess = "2"
45
+ mimalloc = "0.1"
46
+ moka = { version = "0.12", features = ["sync"] }
34
47
  reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "stream"] }
35
48
  rusqlite = { version = "0.32", features = ["bundled"] }
36
49
  scraper = "0.24"
@@ -40,6 +53,7 @@ sha2 = "0.10"
40
53
  tokio = { version = "1", features = ["fs", "macros", "net", "rt-multi-thread", "signal"] }
41
54
  tokio-util = { version = "0.7", features = ["io"] }
42
55
  tower = { version = "0.5", features = ["util"] }
56
+ tower-http = { version = "0.6", features = ["compression-gzip"] }
43
57
  tracing = "0.1"
44
58
  tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
45
59
  url = "2"