xberg 1.3.8 → 1.3.9
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.
- checksums.yaml +4 -4
- data/ext/xberg_rb/native/Cargo.lock +107 -118
- data/ext/xberg_rb/native/Cargo.toml +5 -5
- data/ext/xberg_rb/src/lib.rs +47 -1
- data/lib/xberg/version.rb +2 -2
- data/sig/types.rbs +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89d1b92bbdc2df33a136e74bd20adcf4d15cb8d17877c08c8433963809062879
|
|
4
|
+
data.tar.gz: b0d12ed32f20674656595750c23c4fc6dc79d714fb263a0bfd90e8cd3e24c043
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dad3cb4b755a58844d5cc71dbed88fd36fe01c4c76fddeff6c1261ceeef0099d14c53bb5f0e9ed06014fd174522b0c85dcf6fdf77b4f29a537184d5cc5c64911
|
|
7
|
+
data.tar.gz: 17e03b4ba1391bc22a25ff13a5b1745d094ec4ff08482e51ce110f26e34fcdefb1b5ae70816508439dad68aadb40561d012ba5721d6f5cffc21b4f58e6377590
|
|
@@ -238,7 +238,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
|
|
|
238
238
|
dependencies = [
|
|
239
239
|
"proc-macro2",
|
|
240
240
|
"quote",
|
|
241
|
-
"syn 3.0.
|
|
241
|
+
"syn 3.0.9",
|
|
242
242
|
]
|
|
243
243
|
|
|
244
244
|
[[package]]
|
|
@@ -266,7 +266,7 @@ dependencies = [
|
|
|
266
266
|
"derive_utils",
|
|
267
267
|
"proc-macro2",
|
|
268
268
|
"quote",
|
|
269
|
-
"syn 3.0.
|
|
269
|
+
"syn 3.0.9",
|
|
270
270
|
]
|
|
271
271
|
|
|
272
272
|
[[package]]
|
|
@@ -332,9 +332,9 @@ dependencies = [
|
|
|
332
332
|
|
|
333
333
|
[[package]]
|
|
334
334
|
name = "aws-lc-rs"
|
|
335
|
-
version = "1.18.
|
|
335
|
+
version = "1.18.2"
|
|
336
336
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
-
checksum = "
|
|
337
|
+
checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13"
|
|
338
338
|
dependencies = [
|
|
339
339
|
"aws-lc-sys",
|
|
340
340
|
"zeroize",
|
|
@@ -342,9 +342,9 @@ dependencies = [
|
|
|
342
342
|
|
|
343
343
|
[[package]]
|
|
344
344
|
name = "aws-lc-sys"
|
|
345
|
-
version = "0.
|
|
345
|
+
version = "0.46.0"
|
|
346
346
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
-
checksum = "
|
|
347
|
+
checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc"
|
|
348
348
|
dependencies = [
|
|
349
349
|
"cc",
|
|
350
350
|
"cmake",
|
|
@@ -369,7 +369,7 @@ dependencies = [
|
|
|
369
369
|
"hmac",
|
|
370
370
|
"http",
|
|
371
371
|
"percent-encoding",
|
|
372
|
-
"sha2 0.11.
|
|
372
|
+
"sha2 0.11.1",
|
|
373
373
|
"time",
|
|
374
374
|
"tracing",
|
|
375
375
|
]
|
|
@@ -569,9 +569,9 @@ dependencies = [
|
|
|
569
569
|
|
|
570
570
|
[[package]]
|
|
571
571
|
name = "biblib"
|
|
572
|
-
version = "0.
|
|
572
|
+
version = "0.10.0"
|
|
573
573
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
-
checksum = "
|
|
574
|
+
checksum = "87f05d76c710ca31d0b637840b041b2a4eb49cd535c031a0ada878471b9ccf13"
|
|
575
575
|
dependencies = [
|
|
576
576
|
"compact_str 0.10.0",
|
|
577
577
|
"either",
|
|
@@ -722,7 +722,7 @@ dependencies = [
|
|
|
722
722
|
"prettyplease",
|
|
723
723
|
"proc-macro2",
|
|
724
724
|
"quote",
|
|
725
|
-
"syn 3.0.
|
|
725
|
+
"syn 3.0.9",
|
|
726
726
|
]
|
|
727
727
|
|
|
728
728
|
[[package]]
|
|
@@ -752,7 +752,7 @@ dependencies = [
|
|
|
752
752
|
"proc-macro-crate",
|
|
753
753
|
"proc-macro2",
|
|
754
754
|
"quote",
|
|
755
|
-
"syn 3.0.
|
|
755
|
+
"syn 3.0.9",
|
|
756
756
|
]
|
|
757
757
|
|
|
758
758
|
[[package]]
|
|
@@ -838,7 +838,7 @@ checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c"
|
|
|
838
838
|
dependencies = [
|
|
839
839
|
"proc-macro2",
|
|
840
840
|
"quote",
|
|
841
|
-
"syn 3.0.
|
|
841
|
+
"syn 3.0.9",
|
|
842
842
|
]
|
|
843
843
|
|
|
844
844
|
[[package]]
|
|
@@ -998,9 +998,9 @@ dependencies = [
|
|
|
998
998
|
|
|
999
999
|
[[package]]
|
|
1000
1000
|
name = "cc"
|
|
1001
|
-
version = "1.
|
|
1001
|
+
version = "1.8.0"
|
|
1002
1002
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1003
|
-
checksum = "
|
|
1003
|
+
checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
|
|
1004
1004
|
dependencies = [
|
|
1005
1005
|
"find-msvc-tools",
|
|
1006
1006
|
"jobserver",
|
|
@@ -1225,8 +1225,8 @@ dependencies = [
|
|
|
1225
1225
|
"compression-core",
|
|
1226
1226
|
"flate2",
|
|
1227
1227
|
"memchr",
|
|
1228
|
-
"zstd
|
|
1229
|
-
"zstd-safe
|
|
1228
|
+
"zstd",
|
|
1229
|
+
"zstd-safe",
|
|
1230
1230
|
]
|
|
1231
1231
|
|
|
1232
1232
|
[[package]]
|
|
@@ -1425,7 +1425,7 @@ dependencies = [
|
|
|
1425
1425
|
"futures",
|
|
1426
1426
|
"getrandom 0.3.4",
|
|
1427
1427
|
"getrandom 0.4.3",
|
|
1428
|
-
"html-escape",
|
|
1428
|
+
"html-escape 0.2.15",
|
|
1429
1429
|
"html-to-markdown-rs",
|
|
1430
1430
|
"html5ever",
|
|
1431
1431
|
"hyper-util",
|
|
@@ -1446,7 +1446,7 @@ dependencies = [
|
|
|
1446
1446
|
"same-file",
|
|
1447
1447
|
"serde",
|
|
1448
1448
|
"serde_json",
|
|
1449
|
-
"sha2 0.11.
|
|
1449
|
+
"sha2 0.11.1",
|
|
1450
1450
|
"thiserror 2.0.21",
|
|
1451
1451
|
"tokio",
|
|
1452
1452
|
"tokio-stream",
|
|
@@ -1611,7 +1611,7 @@ dependencies = [
|
|
|
1611
1611
|
"proc-macro2",
|
|
1612
1612
|
"quote",
|
|
1613
1613
|
"strsim",
|
|
1614
|
-
"syn 3.0.
|
|
1614
|
+
"syn 3.0.9",
|
|
1615
1615
|
]
|
|
1616
1616
|
|
|
1617
1617
|
[[package]]
|
|
@@ -1633,7 +1633,7 @@ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
|
|
|
1633
1633
|
dependencies = [
|
|
1634
1634
|
"darling_core 0.24.1",
|
|
1635
1635
|
"quote",
|
|
1636
|
-
"syn 3.0.
|
|
1636
|
+
"syn 3.0.9",
|
|
1637
1637
|
]
|
|
1638
1638
|
|
|
1639
1639
|
[[package]]
|
|
@@ -1739,7 +1739,7 @@ checksum = "dc05a5d33db20c784f873e84934ad94bb209a090987ac5f62fede2c178234f23"
|
|
|
1739
1739
|
dependencies = [
|
|
1740
1740
|
"proc-macro2",
|
|
1741
1741
|
"quote",
|
|
1742
|
-
"syn 3.0.
|
|
1742
|
+
"syn 3.0.9",
|
|
1743
1743
|
]
|
|
1744
1744
|
|
|
1745
1745
|
[[package]]
|
|
@@ -1812,7 +1812,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
|
1812
1812
|
dependencies = [
|
|
1813
1813
|
"proc-macro2",
|
|
1814
1814
|
"quote",
|
|
1815
|
-
"syn 3.0.
|
|
1815
|
+
"syn 3.0.9",
|
|
1816
1816
|
]
|
|
1817
1817
|
|
|
1818
1818
|
[[package]]
|
|
@@ -2128,7 +2128,7 @@ checksum = "3e91d94c6885390b81782d7ee60fd6583b33907333a8b340de25ccf468353315"
|
|
|
2128
2128
|
dependencies = [
|
|
2129
2129
|
"proc-macro2",
|
|
2130
2130
|
"quote",
|
|
2131
|
-
"syn 3.0.
|
|
2131
|
+
"syn 3.0.9",
|
|
2132
2132
|
]
|
|
2133
2133
|
|
|
2134
2134
|
[[package]]
|
|
@@ -2356,7 +2356,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
|
2356
2356
|
dependencies = [
|
|
2357
2357
|
"proc-macro2",
|
|
2358
2358
|
"quote",
|
|
2359
|
-
"syn 3.0.
|
|
2359
|
+
"syn 3.0.9",
|
|
2360
2360
|
]
|
|
2361
2361
|
|
|
2362
2362
|
[[package]]
|
|
@@ -2920,7 +2920,7 @@ dependencies = [
|
|
|
2920
2920
|
"reqwest",
|
|
2921
2921
|
"serde",
|
|
2922
2922
|
"serde_json",
|
|
2923
|
-
"sha2 0.11.
|
|
2923
|
+
"sha2 0.11.1",
|
|
2924
2924
|
"thiserror 2.0.21",
|
|
2925
2925
|
"tokio",
|
|
2926
2926
|
"tokio-retry",
|
|
@@ -2976,6 +2976,12 @@ version = "0.2.15"
|
|
|
2976
2976
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2977
2977
|
checksum = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5"
|
|
2978
2978
|
|
|
2979
|
+
[[package]]
|
|
2980
|
+
name = "html-escape"
|
|
2981
|
+
version = "0.3.0"
|
|
2982
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2983
|
+
checksum = "491194d601b4fa9fac3c9571e014070a0ad1bc3392d1bc10419695196a8b3cc3"
|
|
2984
|
+
|
|
2979
2985
|
[[package]]
|
|
2980
2986
|
name = "html-to-markdown-rs"
|
|
2981
2987
|
version = "3.17.2"
|
|
@@ -2986,7 +2992,7 @@ dependencies = [
|
|
|
2986
2992
|
"astral-tl",
|
|
2987
2993
|
"base64 0.23.1",
|
|
2988
2994
|
"bitflags 2.13.2",
|
|
2989
|
-
"html-escape",
|
|
2995
|
+
"html-escape 0.2.15",
|
|
2990
2996
|
"html5ever",
|
|
2991
2997
|
"image 0.25.10",
|
|
2992
2998
|
"memchr",
|
|
@@ -3877,9 +3883,9 @@ dependencies = [
|
|
|
3877
3883
|
|
|
3878
3884
|
[[package]]
|
|
3879
3885
|
name = "libz-sys"
|
|
3880
|
-
version = "1.1.
|
|
3886
|
+
version = "1.1.30"
|
|
3881
3887
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3882
|
-
checksum = "
|
|
3888
|
+
checksum = "f710a23e6dbf193214fd46ca56a9d6864e550abe86202184532ae7275e46de19"
|
|
3883
3889
|
dependencies = [
|
|
3884
3890
|
"cc",
|
|
3885
3891
|
"libc",
|
|
@@ -3944,7 +3950,7 @@ dependencies = [
|
|
|
3944
3950
|
"secrecy",
|
|
3945
3951
|
"serde",
|
|
3946
3952
|
"serde_json",
|
|
3947
|
-
"sha2 0.11.
|
|
3953
|
+
"sha2 0.11.1",
|
|
3948
3954
|
"thiserror 2.0.21",
|
|
3949
3955
|
"tokio",
|
|
3950
3956
|
"tokio-util",
|
|
@@ -3959,9 +3965,9 @@ dependencies = [
|
|
|
3959
3965
|
|
|
3960
3966
|
[[package]]
|
|
3961
3967
|
name = "litrs"
|
|
3962
|
-
version = "1.0.
|
|
3968
|
+
version = "1.0.1"
|
|
3963
3969
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3964
|
-
checksum = "
|
|
3970
|
+
checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70"
|
|
3965
3971
|
|
|
3966
3972
|
[[package]]
|
|
3967
3973
|
name = "lock_api"
|
|
@@ -3995,7 +4001,7 @@ checksum = "fdbca1b60ba7cea959ffc84ac27f3dbdbacd6dfda168c7eabbc00e48654bb9fd"
|
|
|
3995
4001
|
dependencies = [
|
|
3996
4002
|
"proc-macro2",
|
|
3997
4003
|
"quote",
|
|
3998
|
-
"syn 3.0.
|
|
4004
|
+
"syn 3.0.9",
|
|
3999
4005
|
]
|
|
4000
4006
|
|
|
4001
4007
|
[[package]]
|
|
@@ -4034,7 +4040,7 @@ dependencies = [
|
|
|
4034
4040
|
"nom 8.0.0",
|
|
4035
4041
|
"rand 0.10.3",
|
|
4036
4042
|
"rangemap",
|
|
4037
|
-
"sha2 0.11.
|
|
4043
|
+
"sha2 0.11.1",
|
|
4038
4044
|
"stringprep",
|
|
4039
4045
|
"thiserror 2.0.21",
|
|
4040
4046
|
"weezl 0.2.1",
|
|
@@ -4082,7 +4088,7 @@ version = "0.21.0"
|
|
|
4082
4088
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4083
4089
|
checksum = "fde178a3caf126c440fa15628147772d8ee590a39477d711353fbe2e58a73a5b"
|
|
4084
4090
|
dependencies = [
|
|
4085
|
-
"sha2 0.11.
|
|
4091
|
+
"sha2 0.11.1",
|
|
4086
4092
|
]
|
|
4087
4093
|
|
|
4088
4094
|
[[package]]
|
|
@@ -5255,7 +5261,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
5255
5261
|
checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0"
|
|
5256
5262
|
dependencies = [
|
|
5257
5263
|
"proc-macro2",
|
|
5258
|
-
"syn 3.0.
|
|
5264
|
+
"syn 3.0.9",
|
|
5259
5265
|
]
|
|
5260
5266
|
|
|
5261
5267
|
[[package]]
|
|
@@ -5822,7 +5828,7 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
|
|
|
5822
5828
|
dependencies = [
|
|
5823
5829
|
"proc-macro2",
|
|
5824
5830
|
"quote",
|
|
5825
|
-
"syn 3.0.
|
|
5831
|
+
"syn 3.0.9",
|
|
5826
5832
|
]
|
|
5827
5833
|
|
|
5828
5834
|
[[package]]
|
|
@@ -6022,7 +6028,7 @@ dependencies = [
|
|
|
6022
6028
|
"proc-macro2",
|
|
6023
6029
|
"quote",
|
|
6024
6030
|
"serde_json",
|
|
6025
|
-
"syn 3.0.
|
|
6031
|
+
"syn 3.0.9",
|
|
6026
6032
|
]
|
|
6027
6033
|
|
|
6028
6034
|
[[package]]
|
|
@@ -6310,7 +6316,7 @@ dependencies = [
|
|
|
6310
6316
|
"ort",
|
|
6311
6317
|
"rayon",
|
|
6312
6318
|
"serde",
|
|
6313
|
-
"sha2 0.11.
|
|
6319
|
+
"sha2 0.11.1",
|
|
6314
6320
|
"thiserror 2.0.21",
|
|
6315
6321
|
"tracing",
|
|
6316
6322
|
]
|
|
@@ -6347,7 +6353,7 @@ dependencies = [
|
|
|
6347
6353
|
"proc-macro2",
|
|
6348
6354
|
"quote",
|
|
6349
6355
|
"serde_derive_internals",
|
|
6350
|
-
"syn 3.0.
|
|
6356
|
+
"syn 3.0.9",
|
|
6351
6357
|
]
|
|
6352
6358
|
|
|
6353
6359
|
[[package]]
|
|
@@ -6367,7 +6373,7 @@ dependencies = [
|
|
|
6367
6373
|
"password-hash",
|
|
6368
6374
|
"pbkdf2",
|
|
6369
6375
|
"salsa20",
|
|
6370
|
-
"sha2 0.11.
|
|
6376
|
+
"sha2 0.11.1",
|
|
6371
6377
|
]
|
|
6372
6378
|
|
|
6373
6379
|
[[package]]
|
|
@@ -6442,7 +6448,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
6442
6448
|
dependencies = [
|
|
6443
6449
|
"proc-macro2",
|
|
6444
6450
|
"quote",
|
|
6445
|
-
"syn 3.0.
|
|
6451
|
+
"syn 3.0.9",
|
|
6446
6452
|
]
|
|
6447
6453
|
|
|
6448
6454
|
[[package]]
|
|
@@ -6453,15 +6459,16 @@ checksum = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd"
|
|
|
6453
6459
|
dependencies = [
|
|
6454
6460
|
"proc-macro2",
|
|
6455
6461
|
"quote",
|
|
6456
|
-
"syn 3.0.
|
|
6462
|
+
"syn 3.0.9",
|
|
6457
6463
|
]
|
|
6458
6464
|
|
|
6459
6465
|
[[package]]
|
|
6460
6466
|
name = "serde_json"
|
|
6461
|
-
version = "1.0.
|
|
6467
|
+
version = "1.0.154"
|
|
6462
6468
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
6463
|
-
checksum = "
|
|
6469
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
6464
6470
|
dependencies = [
|
|
6471
|
+
"foldhash 0.2.0",
|
|
6465
6472
|
"indexmap",
|
|
6466
6473
|
"itoa",
|
|
6467
6474
|
"memchr",
|
|
@@ -6498,7 +6505,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
|
|
|
6498
6505
|
dependencies = [
|
|
6499
6506
|
"proc-macro2",
|
|
6500
6507
|
"quote",
|
|
6501
|
-
"syn 3.0.
|
|
6508
|
+
"syn 3.0.9",
|
|
6502
6509
|
]
|
|
6503
6510
|
|
|
6504
6511
|
[[package]]
|
|
@@ -6591,9 +6598,9 @@ dependencies = [
|
|
|
6591
6598
|
|
|
6592
6599
|
[[package]]
|
|
6593
6600
|
name = "sha2"
|
|
6594
|
-
version = "0.11.
|
|
6601
|
+
version = "0.11.1"
|
|
6595
6602
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
6596
|
-
checksum = "
|
|
6603
|
+
checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19"
|
|
6597
6604
|
dependencies = [
|
|
6598
6605
|
"cfg-if",
|
|
6599
6606
|
"cpufeatures 0.3.1",
|
|
@@ -7131,9 +7138,9 @@ dependencies = [
|
|
|
7131
7138
|
|
|
7132
7139
|
[[package]]
|
|
7133
7140
|
name = "syn"
|
|
7134
|
-
version = "3.0.
|
|
7141
|
+
version = "3.0.9"
|
|
7135
7142
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
7136
|
-
checksum = "
|
|
7143
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
7137
7144
|
dependencies = [
|
|
7138
7145
|
"proc-macro2",
|
|
7139
7146
|
"quote",
|
|
@@ -7157,7 +7164,7 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
|
7157
7164
|
dependencies = [
|
|
7158
7165
|
"proc-macro2",
|
|
7159
7166
|
"quote",
|
|
7160
|
-
"syn 3.0.
|
|
7167
|
+
"syn 3.0.9",
|
|
7161
7168
|
]
|
|
7162
7169
|
|
|
7163
7170
|
[[package]]
|
|
@@ -7317,7 +7324,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
|
7317
7324
|
dependencies = [
|
|
7318
7325
|
"proc-macro2",
|
|
7319
7326
|
"quote",
|
|
7320
|
-
"syn 3.0.
|
|
7327
|
+
"syn 3.0.9",
|
|
7321
7328
|
]
|
|
7322
7329
|
|
|
7323
7330
|
[[package]]
|
|
@@ -7561,7 +7568,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
|
|
|
7561
7568
|
dependencies = [
|
|
7562
7569
|
"proc-macro2",
|
|
7563
7570
|
"quote",
|
|
7564
|
-
"syn 3.0.
|
|
7571
|
+
"syn 3.0.9",
|
|
7565
7572
|
]
|
|
7566
7573
|
|
|
7567
7574
|
[[package]]
|
|
@@ -7961,9 +7968,9 @@ checksum = "d0af592be68c579aa78a16846bd19422978c3c52e438523d45ff5d1bff1f9d4a"
|
|
|
7961
7968
|
|
|
7962
7969
|
[[package]]
|
|
7963
7970
|
name = "tree-sitter-language-pack"
|
|
7964
|
-
version = "1.
|
|
7971
|
+
version = "1.22.1"
|
|
7965
7972
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
7966
|
-
checksum = "
|
|
7973
|
+
checksum = "314d9dc87f0acb02d48c7454f5452ca369f0d01499ebeace18277d991aa14ba7"
|
|
7967
7974
|
dependencies = [
|
|
7968
7975
|
"ahash",
|
|
7969
7976
|
"cc",
|
|
@@ -7974,14 +7981,14 @@ dependencies = [
|
|
|
7974
7981
|
"memchr",
|
|
7975
7982
|
"serde",
|
|
7976
7983
|
"serde_json",
|
|
7977
|
-
"sha2 0.11.
|
|
7984
|
+
"sha2 0.11.1",
|
|
7978
7985
|
"tar",
|
|
7979
7986
|
"thiserror 2.0.21",
|
|
7980
7987
|
"tracing",
|
|
7981
7988
|
"tree-sitter",
|
|
7982
7989
|
"tree-sitter-language",
|
|
7983
7990
|
"ureq",
|
|
7984
|
-
"zstd
|
|
7991
|
+
"zstd",
|
|
7985
7992
|
]
|
|
7986
7993
|
|
|
7987
7994
|
[[package]]
|
|
@@ -8070,9 +8077,9 @@ dependencies = [
|
|
|
8070
8077
|
|
|
8071
8078
|
[[package]]
|
|
8072
8079
|
name = "unhwp"
|
|
8073
|
-
version = "0.
|
|
8080
|
+
version = "0.19.0"
|
|
8074
8081
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
8075
|
-
checksum = "
|
|
8082
|
+
checksum = "c3da3f527a5ba58370ce946679efb9e166f7f26ef427b6bd7e9522bdec47ea75"
|
|
8076
8083
|
dependencies = [
|
|
8077
8084
|
"cfb 0.15.0",
|
|
8078
8085
|
"flate2",
|
|
@@ -8086,7 +8093,7 @@ dependencies = [
|
|
|
8086
8093
|
"thiserror 2.0.21",
|
|
8087
8094
|
"unicode-normalization",
|
|
8088
8095
|
"unparser-shared",
|
|
8089
|
-
"zip 9.0.
|
|
8096
|
+
"zip 9.0.2",
|
|
8090
8097
|
]
|
|
8091
8098
|
|
|
8092
8099
|
[[package]]
|
|
@@ -8109,9 +8116,9 @@ checksum = "0b993bddc193ae5bd0d623b49ec06ac3e9312875fdae725a975c51db1cc1677f"
|
|
|
8109
8116
|
|
|
8110
8117
|
[[package]]
|
|
8111
8118
|
name = "unicode-ident"
|
|
8112
|
-
version = "1.0.
|
|
8119
|
+
version = "1.0.27"
|
|
8113
8120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
8114
|
-
checksum = "
|
|
8121
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
8115
8122
|
|
|
8116
8123
|
[[package]]
|
|
8117
8124
|
name = "unicode-math-class"
|
|
@@ -8320,7 +8327,7 @@ dependencies = [
|
|
|
8320
8327
|
"proc-macro2",
|
|
8321
8328
|
"quote",
|
|
8322
8329
|
"regex",
|
|
8323
|
-
"syn 3.0.
|
|
8330
|
+
"syn 3.0.9",
|
|
8324
8331
|
]
|
|
8325
8332
|
|
|
8326
8333
|
[[package]]
|
|
@@ -8505,7 +8512,7 @@ dependencies = [
|
|
|
8505
8512
|
"bumpalo",
|
|
8506
8513
|
"proc-macro2",
|
|
8507
8514
|
"quote",
|
|
8508
|
-
"syn 3.0.
|
|
8515
|
+
"syn 3.0.9",
|
|
8509
8516
|
"wasm-bindgen-shared",
|
|
8510
8517
|
]
|
|
8511
8518
|
|
|
@@ -8993,9 +9000,9 @@ dependencies = [
|
|
|
8993
9000
|
|
|
8994
9001
|
[[package]]
|
|
8995
9002
|
name = "xberg"
|
|
8996
|
-
version = "1.3.
|
|
9003
|
+
version = "1.3.9"
|
|
8997
9004
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
8998
|
-
checksum = "
|
|
9005
|
+
checksum = "601f5b24949ef87f74f55cc432684f53b289004014e311f39f12ccd7bc812645"
|
|
8999
9006
|
dependencies = [
|
|
9000
9007
|
"aes-gcm",
|
|
9001
9008
|
"ahash",
|
|
@@ -9029,7 +9036,7 @@ dependencies = [
|
|
|
9029
9036
|
"hayro-jpeg2000",
|
|
9030
9037
|
"hex",
|
|
9031
9038
|
"hf-hub",
|
|
9032
|
-
"html-escape",
|
|
9039
|
+
"html-escape 0.3.0",
|
|
9033
9040
|
"html-to-markdown-rs",
|
|
9034
9041
|
"icu_provider",
|
|
9035
9042
|
"icu_segmenter",
|
|
@@ -9087,7 +9094,7 @@ dependencies = [
|
|
|
9087
9094
|
"serde_toon_format",
|
|
9088
9095
|
"serde_yaml_ng",
|
|
9089
9096
|
"sevenz-rust2",
|
|
9090
|
-
"sha2 0.11.
|
|
9097
|
+
"sha2 0.11.1",
|
|
9091
9098
|
"simdutf8",
|
|
9092
9099
|
"similar",
|
|
9093
9100
|
"snap",
|
|
@@ -9127,14 +9134,14 @@ dependencies = [
|
|
|
9127
9134
|
"xberg-pdfium-render",
|
|
9128
9135
|
"xberg-tesseract",
|
|
9129
9136
|
"zeroize",
|
|
9130
|
-
"zip 9.0.
|
|
9137
|
+
"zip 9.0.2",
|
|
9131
9138
|
]
|
|
9132
9139
|
|
|
9133
9140
|
[[package]]
|
|
9134
9141
|
name = "xberg-candle-ocr"
|
|
9135
|
-
version = "1.3.
|
|
9142
|
+
version = "1.3.9"
|
|
9136
9143
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9137
|
-
checksum = "
|
|
9144
|
+
checksum = "4e17fcc269f2acfba83ba38d97d3fcba74a7f66c3dab0cb674141e21676874ca"
|
|
9138
9145
|
dependencies = [
|
|
9139
9146
|
"base64 0.23.1",
|
|
9140
9147
|
"candle-core",
|
|
@@ -9146,7 +9153,7 @@ dependencies = [
|
|
|
9146
9153
|
"parking_lot",
|
|
9147
9154
|
"serde",
|
|
9148
9155
|
"serde_json",
|
|
9149
|
-
"sha2 0.11.
|
|
9156
|
+
"sha2 0.11.1",
|
|
9150
9157
|
"thiserror 2.0.21",
|
|
9151
9158
|
"tokenizers 0.23.2",
|
|
9152
9159
|
"tracing",
|
|
@@ -9154,9 +9161,9 @@ dependencies = [
|
|
|
9154
9161
|
|
|
9155
9162
|
[[package]]
|
|
9156
9163
|
name = "xberg-gliner"
|
|
9157
|
-
version = "1.3.
|
|
9164
|
+
version = "1.3.9"
|
|
9158
9165
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9159
|
-
checksum = "
|
|
9166
|
+
checksum = "926f992e6d1de18b2c17f79590e121d55252c39f32581dd16a699a2ee6f7343e"
|
|
9160
9167
|
dependencies = [
|
|
9161
9168
|
"getrandom 0.2.17",
|
|
9162
9169
|
"getrandom 0.3.4",
|
|
@@ -9170,9 +9177,9 @@ dependencies = [
|
|
|
9170
9177
|
|
|
9171
9178
|
[[package]]
|
|
9172
9179
|
name = "xberg-libheif"
|
|
9173
|
-
version = "1.3.
|
|
9180
|
+
version = "1.3.9"
|
|
9174
9181
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9175
|
-
checksum = "
|
|
9182
|
+
checksum = "17bffa04e3ddcb9fb0d52abc2824d148b26e8db8936b4fa6681c2258f97c9c1f"
|
|
9176
9183
|
dependencies = [
|
|
9177
9184
|
"cfg-if",
|
|
9178
9185
|
"enumn",
|
|
@@ -9183,14 +9190,14 @@ dependencies = [
|
|
|
9183
9190
|
|
|
9184
9191
|
[[package]]
|
|
9185
9192
|
name = "xberg-libwpd"
|
|
9186
|
-
version = "1.3.
|
|
9193
|
+
version = "1.3.9"
|
|
9187
9194
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9188
|
-
checksum = "
|
|
9195
|
+
checksum = "3812629767f16b098782afd92476ac475b232eea483ed40b03de5b1f13438a8a"
|
|
9189
9196
|
dependencies = [
|
|
9190
9197
|
"cc",
|
|
9191
9198
|
"flate2",
|
|
9192
9199
|
"libz-sys",
|
|
9193
|
-
"sha2 0.11.
|
|
9200
|
+
"sha2 0.11.1",
|
|
9194
9201
|
"tar",
|
|
9195
9202
|
"thiserror 2.0.21",
|
|
9196
9203
|
"tracing",
|
|
@@ -9198,9 +9205,9 @@ dependencies = [
|
|
|
9198
9205
|
|
|
9199
9206
|
[[package]]
|
|
9200
9207
|
name = "xberg-native-pdf"
|
|
9201
|
-
version = "1.3.
|
|
9208
|
+
version = "1.3.9"
|
|
9202
9209
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9203
|
-
checksum = "
|
|
9210
|
+
checksum = "ceb8cd4f985af7bcac732ca881b13f070d3e5a37237bc3f59097e9fe2fd7eea8"
|
|
9204
9211
|
dependencies = [
|
|
9205
9212
|
"aes 0.9.3",
|
|
9206
9213
|
"base64 0.23.1",
|
|
@@ -9229,7 +9236,7 @@ dependencies = [
|
|
|
9229
9236
|
"regex",
|
|
9230
9237
|
"serde",
|
|
9231
9238
|
"serde_json",
|
|
9232
|
-
"sha2 0.11.
|
|
9239
|
+
"sha2 0.11.1",
|
|
9233
9240
|
"skrifa",
|
|
9234
9241
|
"smallvec",
|
|
9235
9242
|
"stringprep",
|
|
@@ -9245,9 +9252,9 @@ dependencies = [
|
|
|
9245
9252
|
|
|
9246
9253
|
[[package]]
|
|
9247
9254
|
name = "xberg-paddle-ocr"
|
|
9248
|
-
version = "1.3.
|
|
9255
|
+
version = "1.3.9"
|
|
9249
9256
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9250
|
-
checksum = "
|
|
9257
|
+
checksum = "9bb5825a2b84b582c0b96facbf5b09e60d7757adb7797a01ca77bd10c8673ded"
|
|
9251
9258
|
dependencies = [
|
|
9252
9259
|
"geo-clipper",
|
|
9253
9260
|
"geo-types",
|
|
@@ -9262,9 +9269,9 @@ dependencies = [
|
|
|
9262
9269
|
|
|
9263
9270
|
[[package]]
|
|
9264
9271
|
name = "xberg-pdfium-render"
|
|
9265
|
-
version = "1.3.
|
|
9272
|
+
version = "1.3.9"
|
|
9266
9273
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9267
|
-
checksum = "
|
|
9274
|
+
checksum = "279ea61753e944a14282095cf7cc642dae15fc14758cbc2be2fdaf6e061a7820"
|
|
9268
9275
|
dependencies = [
|
|
9269
9276
|
"bitflags 2.13.2",
|
|
9270
9277
|
"bytemuck",
|
|
@@ -9281,7 +9288,7 @@ dependencies = [
|
|
|
9281
9288
|
|
|
9282
9289
|
[[package]]
|
|
9283
9290
|
name = "xberg-rb"
|
|
9284
|
-
version = "1.3.
|
|
9291
|
+
version = "1.3.9"
|
|
9285
9292
|
dependencies = [
|
|
9286
9293
|
"async-trait",
|
|
9287
9294
|
"crawlberg",
|
|
@@ -9297,19 +9304,19 @@ dependencies = [
|
|
|
9297
9304
|
|
|
9298
9305
|
[[package]]
|
|
9299
9306
|
name = "xberg-tesseract"
|
|
9300
|
-
version = "1.3.
|
|
9307
|
+
version = "1.3.9"
|
|
9301
9308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9302
|
-
checksum = "
|
|
9309
|
+
checksum = "014bcdd7cccc5bbad8a323793b0b87a40a277593a23ede64c4117b14df09f725"
|
|
9303
9310
|
dependencies = [
|
|
9304
9311
|
"cc",
|
|
9305
9312
|
"cmake",
|
|
9306
9313
|
"libc",
|
|
9307
9314
|
"reqwest",
|
|
9308
9315
|
"same-file",
|
|
9309
|
-
"sha2 0.11.
|
|
9316
|
+
"sha2 0.11.1",
|
|
9310
9317
|
"tempfile",
|
|
9311
9318
|
"thiserror 2.0.21",
|
|
9312
|
-
"zip 9.0.
|
|
9319
|
+
"zip 9.0.2",
|
|
9313
9320
|
]
|
|
9314
9321
|
|
|
9315
9322
|
[[package]]
|
|
@@ -9400,7 +9407,7 @@ dependencies = [
|
|
|
9400
9407
|
"rand 0.10.3",
|
|
9401
9408
|
"serde",
|
|
9402
9409
|
"serde_json",
|
|
9403
|
-
"sha2 0.11.
|
|
9410
|
+
"sha2 0.11.1",
|
|
9404
9411
|
"tempfile",
|
|
9405
9412
|
"thiserror 2.0.21",
|
|
9406
9413
|
"tokio",
|
|
@@ -9486,7 +9493,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
|
|
|
9486
9493
|
dependencies = [
|
|
9487
9494
|
"proc-macro2",
|
|
9488
9495
|
"quote",
|
|
9489
|
-
"syn 3.0.
|
|
9496
|
+
"syn 3.0.9",
|
|
9490
9497
|
"synstructure",
|
|
9491
9498
|
]
|
|
9492
9499
|
|
|
@@ -9527,7 +9534,7 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
|
9527
9534
|
dependencies = [
|
|
9528
9535
|
"proc-macro2",
|
|
9529
9536
|
"quote",
|
|
9530
|
-
"syn 3.0.
|
|
9537
|
+
"syn 3.0.9",
|
|
9531
9538
|
"synstructure",
|
|
9532
9539
|
]
|
|
9533
9540
|
|
|
@@ -9583,7 +9590,7 @@ checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
|
|
|
9583
9590
|
dependencies = [
|
|
9584
9591
|
"proc-macro2",
|
|
9585
9592
|
"quote",
|
|
9586
|
-
"syn 3.0.
|
|
9593
|
+
"syn 3.0.9",
|
|
9587
9594
|
]
|
|
9588
9595
|
|
|
9589
9596
|
[[package]]
|
|
@@ -9602,9 +9609,9 @@ dependencies = [
|
|
|
9602
9609
|
|
|
9603
9610
|
[[package]]
|
|
9604
9611
|
name = "zip"
|
|
9605
|
-
version = "9.0.
|
|
9612
|
+
version = "9.0.2"
|
|
9606
9613
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9607
|
-
checksum = "
|
|
9614
|
+
checksum = "9e2fc56a6707efb066c40aead2409ebb1224e6dde24a074e9fbc78ced500507b"
|
|
9608
9615
|
dependencies = [
|
|
9609
9616
|
"bzip2",
|
|
9610
9617
|
"crc32fast",
|
|
@@ -9618,7 +9625,7 @@ dependencies = [
|
|
|
9618
9625
|
"time",
|
|
9619
9626
|
"typed-path",
|
|
9620
9627
|
"zopfli",
|
|
9621
|
-
"zstd
|
|
9628
|
+
"zstd",
|
|
9622
9629
|
]
|
|
9623
9630
|
|
|
9624
9631
|
[[package]]
|
|
@@ -9635,9 +9642,9 @@ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
|
|
9635
9642
|
|
|
9636
9643
|
[[package]]
|
|
9637
9644
|
name = "zopfli"
|
|
9638
|
-
version = "0.8.
|
|
9645
|
+
version = "0.8.4"
|
|
9639
9646
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9640
|
-
checksum = "
|
|
9647
|
+
checksum = "aaf7fc5d30c28483d93805c4a5e12b05bbb52407fa67c5f8bd552374cd01fb11"
|
|
9641
9648
|
dependencies = [
|
|
9642
9649
|
"bumpalo",
|
|
9643
9650
|
"crc32fast",
|
|
@@ -9645,31 +9652,13 @@ dependencies = [
|
|
|
9645
9652
|
"simd-adler32",
|
|
9646
9653
|
]
|
|
9647
9654
|
|
|
9648
|
-
[[package]]
|
|
9649
|
-
name = "zstd"
|
|
9650
|
-
version = "0.13.3"
|
|
9651
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9652
|
-
checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
|
|
9653
|
-
dependencies = [
|
|
9654
|
-
"zstd-safe 7.3.0",
|
|
9655
|
-
]
|
|
9656
|
-
|
|
9657
9655
|
[[package]]
|
|
9658
9656
|
name = "zstd"
|
|
9659
9657
|
version = "0.14.2"
|
|
9660
9658
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9661
9659
|
checksum = "057cfd910cfac363a0ada849592624b4c9ff2e10bef504c3433810d78ed96f93"
|
|
9662
9660
|
dependencies = [
|
|
9663
|
-
"zstd-safe
|
|
9664
|
-
]
|
|
9665
|
-
|
|
9666
|
-
[[package]]
|
|
9667
|
-
name = "zstd-safe"
|
|
9668
|
-
version = "7.3.0"
|
|
9669
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9670
|
-
checksum = "64d80649ab6db9d9f6f9c80a40becd948eda4714a0a5ac8c4d157a32231c7882"
|
|
9671
|
-
dependencies = [
|
|
9672
|
-
"zstd-sys",
|
|
9661
|
+
"zstd-safe",
|
|
9673
9662
|
]
|
|
9674
9663
|
|
|
9675
9664
|
[[package]]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:cefb6a172a39f89f9f6c20af423e60c6ab3016057576cb6b9c1f72589894431c
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
6
6
|
[package]
|
|
7
7
|
name = "xberg-rb"
|
|
8
|
-
version = "1.3.
|
|
8
|
+
version = "1.3.9"
|
|
9
9
|
edition = "2024"
|
|
10
10
|
authors = ["Na'aman Hirschfeld <naaman@xberg.io>", "Tobias Perlstein <tobias@xberg.io>"]
|
|
11
11
|
license = "MIT"
|
|
@@ -83,13 +83,13 @@ tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
|
83
83
|
tracing = "0.1"
|
|
84
84
|
|
|
85
85
|
[target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies]
|
|
86
|
-
xberg = { version = "1.3.
|
|
86
|
+
xberg = { version = "1.3.9", default-features = false, features = ["macos-intel-target", "simd-utf8"] }
|
|
87
87
|
|
|
88
88
|
[target.'cfg(not(any(target_os = "windows", all(target_os = "macos", target_arch = "x86_64"))))'.dependencies]
|
|
89
|
-
xberg = { version = "1.3.
|
|
89
|
+
xberg = { version = "1.3.9", features = ["full", "pdf", "pdf-pdfium", "ocr", "paddle-ocr", "paddle-ocr-types", "layout-detection", "layout-types", "embeddings", "embedding-presets", "reranker", "reranker-presets", "sparse-embeddings", "sparse-embedding-presets", "late-interaction", "late-interaction-presets", "chunking", "keywords-yake", "keywords-rake", "language-detection", "html", "tree-sitter", "office", "email", "archives", "stopwords", "auto-rotate", "auto-rotate-types", "tokio-runtime", "api", "api-types", "mcp", "liter-llm", "quality", "svg", "transcription", "transcription-types", "classification", "captioning", "formula-recognition", "ner-onnx", "ner-llm", "diff", "markdown-footnotes", "redaction", "enrichment", "heuristics", "presets", "structured", "url-ingestion"] }
|
|
90
90
|
|
|
91
91
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
92
|
-
xberg = { version = "1.3.
|
|
92
|
+
xberg = { version = "1.3.9", default-features = false, features = ["windows-gnu-target", "simd-utf8"] }
|
|
93
93
|
|
|
94
94
|
# This crate deliberately does not use `[lints]` / `workspace = true`: its C-ABI /
|
|
95
95
|
# PyO3 / napi / ext-php-rs / NIF boundary requires `unsafe` code. Local lint tables
|
data/ext/xberg_rb/src/lib.rs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by alef. DO NOT EDIT.
|
|
2
|
-
// alef:hash:
|
|
2
|
+
// alef:hash:8a7f952b1ec204f9582e176aedbd1b79f4f674addb02087b2d868b77db7e5b11
|
|
3
3
|
// Re-generate with: alef generate
|
|
4
4
|
#![allow(dead_code, unused_imports, unused_variables)]
|
|
5
5
|
#![allow(
|
|
@@ -12250,6 +12250,7 @@ pub struct ExtractionConfig {
|
|
|
12250
12250
|
transcription: Option<TranscriptionConfig>,
|
|
12251
12251
|
use_layout_for_markdown: bool,
|
|
12252
12252
|
include_document_structure: bool,
|
|
12253
|
+
strict_parse: bool,
|
|
12253
12254
|
acceleration: Option<AccelerationConfig>,
|
|
12254
12255
|
cache_namespace: Option<String>,
|
|
12255
12256
|
cache_ttl_secs: Option<u64>,
|
|
@@ -12661,6 +12662,15 @@ impl ExtractionConfig {
|
|
|
12661
12662
|
})?,
|
|
12662
12663
|
None => false,
|
|
12663
12664
|
},
|
|
12665
|
+
strict_parse: match kwargs.get(ruby.to_symbol("strict_parse")) {
|
|
12666
|
+
Some(v) => bool::try_convert(v).map_err(|e| {
|
|
12667
|
+
magnus::Error::new(
|
|
12668
|
+
unsafe { magnus::Ruby::get_unchecked() }.exception_type_error(),
|
|
12669
|
+
format!("invalid value for `strict_parse`: {}", e),
|
|
12670
|
+
)
|
|
12671
|
+
})?,
|
|
12672
|
+
None => false,
|
|
12673
|
+
},
|
|
12664
12674
|
acceleration: match kwargs.get(ruby.to_symbol("acceleration")).filter(|v| !v.is_nil()) {
|
|
12665
12675
|
Some(v) => Some(AccelerationConfig::try_convert(v).map_err(|e| {
|
|
12666
12676
|
magnus::Error::new(
|
|
@@ -12995,6 +13005,10 @@ impl ExtractionConfig {
|
|
|
12995
13005
|
self.include_document_structure
|
|
12996
13006
|
}
|
|
12997
13007
|
|
|
13008
|
+
fn strict_parse(&self) -> bool {
|
|
13009
|
+
self.strict_parse
|
|
13010
|
+
}
|
|
13011
|
+
|
|
12998
13012
|
fn acceleration(&self) -> Option<AccelerationConfig> {
|
|
12999
13013
|
self.acceleration.clone()
|
|
13000
13014
|
}
|
|
@@ -13135,6 +13149,8 @@ impl ExtractionConfig {
|
|
|
13135
13149
|
|
|
13136
13150
|
include_document_structure: self.include_document_structure,
|
|
13137
13151
|
|
|
13152
|
+
strict_parse: self.strict_parse,
|
|
13153
|
+
|
|
13138
13154
|
acceleration: self.acceleration.clone().map(Into::into),
|
|
13139
13155
|
|
|
13140
13156
|
cache_namespace: self.cache_namespace.clone(),
|
|
@@ -13245,6 +13261,8 @@ impl ExtractionConfig {
|
|
|
13245
13261
|
|
|
13246
13262
|
include_document_structure: self.include_document_structure,
|
|
13247
13263
|
|
|
13264
|
+
strict_parse: self.strict_parse,
|
|
13265
|
+
|
|
13248
13266
|
acceleration: self.acceleration.clone().map(Into::into),
|
|
13249
13267
|
|
|
13250
13268
|
cache_namespace: self.cache_namespace.clone(),
|
|
@@ -13349,6 +13367,8 @@ impl ExtractionConfig {
|
|
|
13349
13367
|
|
|
13350
13368
|
include_document_structure: self.include_document_structure,
|
|
13351
13369
|
|
|
13370
|
+
strict_parse: self.strict_parse,
|
|
13371
|
+
|
|
13352
13372
|
acceleration: self.acceleration.clone().map(Into::into),
|
|
13353
13373
|
|
|
13354
13374
|
cache_namespace: self.cache_namespace.clone(),
|
|
@@ -13453,6 +13473,8 @@ impl ExtractionConfig {
|
|
|
13453
13473
|
|
|
13454
13474
|
include_document_structure: self.include_document_structure,
|
|
13455
13475
|
|
|
13476
|
+
strict_parse: self.strict_parse,
|
|
13477
|
+
|
|
13456
13478
|
acceleration: self.acceleration.clone().map(Into::into),
|
|
13457
13479
|
|
|
13458
13480
|
cache_namespace: self.cache_namespace.clone(),
|
|
@@ -13557,6 +13579,8 @@ impl ExtractionConfig {
|
|
|
13557
13579
|
|
|
13558
13580
|
include_document_structure: self.include_document_structure,
|
|
13559
13581
|
|
|
13582
|
+
strict_parse: self.strict_parse,
|
|
13583
|
+
|
|
13560
13584
|
acceleration: self.acceleration.clone().map(Into::into),
|
|
13561
13585
|
|
|
13562
13586
|
cache_namespace: self.cache_namespace.clone(),
|
|
@@ -14271,6 +14295,7 @@ pub struct FileExtractionConfig {
|
|
|
14271
14295
|
result_format: Option<ResultFormat>,
|
|
14272
14296
|
output_format: Option<OutputFormat>,
|
|
14273
14297
|
include_document_structure: Option<bool>,
|
|
14298
|
+
strict_parse: Option<bool>,
|
|
14274
14299
|
#[cfg(feature = "layout-types")]
|
|
14275
14300
|
layout: Option<LayoutDetectionConfig>,
|
|
14276
14301
|
#[cfg(feature = "transcription-types")]
|
|
@@ -14533,6 +14558,15 @@ impl FileExtractionConfig {
|
|
|
14533
14558
|
})?),
|
|
14534
14559
|
None => None,
|
|
14535
14560
|
},
|
|
14561
|
+
strict_parse: match kwargs.get(ruby.to_symbol("strict_parse")).filter(|v| !v.is_nil()) {
|
|
14562
|
+
Some(v) => Some(bool::try_convert(v).map_err(|e| {
|
|
14563
|
+
magnus::Error::new(
|
|
14564
|
+
unsafe { magnus::Ruby::get_unchecked() }.exception_type_error(),
|
|
14565
|
+
format!("invalid value for `strict_parse`: {}", e),
|
|
14566
|
+
)
|
|
14567
|
+
})?),
|
|
14568
|
+
None => None,
|
|
14569
|
+
},
|
|
14536
14570
|
#[cfg(feature = "layout-types")]
|
|
14537
14571
|
layout: match kwargs.get(ruby.to_symbol("layout")).filter(|v| !v.is_nil()) {
|
|
14538
14572
|
Some(v) => Some(LayoutDetectionConfig::try_convert(v).map_err(|e| {
|
|
@@ -14762,6 +14796,10 @@ impl FileExtractionConfig {
|
|
|
14762
14796
|
self.include_document_structure
|
|
14763
14797
|
}
|
|
14764
14798
|
|
|
14799
|
+
fn strict_parse(&self) -> Option<bool> {
|
|
14800
|
+
self.strict_parse
|
|
14801
|
+
}
|
|
14802
|
+
|
|
14765
14803
|
#[cfg(feature = "layout-types")]
|
|
14766
14804
|
fn layout(&self) -> Option<LayoutDetectionConfig> {
|
|
14767
14805
|
self.layout.clone()
|
|
@@ -50712,6 +50750,7 @@ impl From<ExtractionConfig> for xberg::ExtractionConfig {
|
|
|
50712
50750
|
transcription: val.transcription.map(Into::into),
|
|
50713
50751
|
use_layout_for_markdown: val.use_layout_for_markdown,
|
|
50714
50752
|
include_document_structure: val.include_document_structure,
|
|
50753
|
+
strict_parse: val.strict_parse,
|
|
50715
50754
|
acceleration: val.acceleration.map(Into::into),
|
|
50716
50755
|
cache_namespace: val.cache_namespace,
|
|
50717
50756
|
cache_ttl_secs: val.cache_ttl_secs,
|
|
@@ -50783,6 +50822,7 @@ impl From<xberg::ExtractionConfig> for ExtractionConfig {
|
|
|
50783
50822
|
transcription: val.transcription.map(Into::into),
|
|
50784
50823
|
use_layout_for_markdown: val.use_layout_for_markdown,
|
|
50785
50824
|
include_document_structure: val.include_document_structure,
|
|
50825
|
+
strict_parse: val.strict_parse,
|
|
50786
50826
|
acceleration: val.acceleration.map(Into::into),
|
|
50787
50827
|
cache_namespace: val.cache_namespace.map(|v| v.to_string()),
|
|
50788
50828
|
cache_ttl_secs: val.cache_ttl_secs,
|
|
@@ -50960,6 +51000,7 @@ impl From<FileExtractionConfig> for xberg::FileExtractionConfig {
|
|
|
50960
51000
|
result_format: val.result_format.map(Into::into),
|
|
50961
51001
|
output_format: val.output_format.map(Into::into),
|
|
50962
51002
|
include_document_structure: val.include_document_structure,
|
|
51003
|
+
strict_parse: val.strict_parse,
|
|
50963
51004
|
#[cfg(feature = "layout-types")]
|
|
50964
51005
|
layout: val.layout.map(Into::into),
|
|
50965
51006
|
#[cfg(feature = "transcription-types")]
|
|
@@ -51011,6 +51052,7 @@ impl From<xberg::FileExtractionConfig> for FileExtractionConfig {
|
|
|
51011
51052
|
result_format: val.result_format.map(Into::into),
|
|
51012
51053
|
output_format: val.output_format.map(Into::into),
|
|
51013
51054
|
include_document_structure: val.include_document_structure,
|
|
51055
|
+
strict_parse: val.strict_parse,
|
|
51014
51056
|
#[cfg(feature = "layout-types")]
|
|
51015
51057
|
layout: val.layout.map(Into::into),
|
|
51016
51058
|
#[cfg(feature = "transcription-types")]
|
|
@@ -59499,6 +59541,8 @@ fn ruby_init(ruby: &Ruby) -> Result<(), Error> {
|
|
|
59499
59541
|
method!(ExtractionConfig::include_document_structure, 0),
|
|
59500
59542
|
)?;
|
|
59501
59543
|
|
|
59544
|
+
class.define_method("strict_parse", method!(ExtractionConfig::strict_parse, 0))?;
|
|
59545
|
+
|
|
59502
59546
|
class.define_method("acceleration", method!(ExtractionConfig::acceleration, 0))?;
|
|
59503
59547
|
|
|
59504
59548
|
class.define_method("cache_namespace", method!(ExtractionConfig::cache_namespace, 0))?;
|
|
@@ -59713,6 +59757,8 @@ fn ruby_init(ruby: &Ruby) -> Result<(), Error> {
|
|
|
59713
59757
|
method!(FileExtractionConfig::include_document_structure, 0),
|
|
59714
59758
|
)?;
|
|
59715
59759
|
|
|
59760
|
+
class.define_method("strict_parse", method!(FileExtractionConfig::strict_parse, 0))?;
|
|
59761
|
+
|
|
59716
59762
|
#[cfg(feature = "layout-types")]
|
|
59717
59763
|
class.define_method("layout", method!(FileExtractionConfig::layout, 0))?;
|
|
59718
59764
|
|
data/lib/xberg/version.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:54266c8ed71cfc0b41f227d99a4c062e533226b81f15e7dc5499221930624881
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module Xberg
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "1.3.
|
|
9
|
+
VERSION = "1.3.9"
|
|
10
10
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:18c7c7ea2cdd0194d2647e8ae2cc52ce3389914a3c1a9b585c79939242ccbef1
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
@@ -990,6 +990,7 @@ def initialize: (?data: String, ?format: String, ?image_index: Integer, ?page_nu
|
|
|
990
990
|
attr_reader transcription: TranscriptionConfig?
|
|
991
991
|
attr_reader use_layout_for_markdown: bool
|
|
992
992
|
attr_reader include_document_structure: bool
|
|
993
|
+
attr_reader strict_parse: bool
|
|
993
994
|
attr_reader acceleration: AccelerationConfig?
|
|
994
995
|
attr_reader cache_namespace: String?
|
|
995
996
|
attr_reader cache_ttl_secs: Integer?
|
|
@@ -1010,7 +1011,7 @@ def initialize: (?data: String, ?format: String, ?image_index: Integer, ?page_nu
|
|
|
1010
1011
|
attr_reader captioning: CaptioningConfig?
|
|
1011
1012
|
attr_reader qr_codes: bool?
|
|
1012
1013
|
|
|
1013
|
-
def initialize: (?mime_detection_policy: enum_MimeDetectionPolicy, ?use_cache: bool, ?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?ocr_near_empty_fallback: bool, ?ocr_scanned_page_quality_gate: bool, ?ocr_embedded_images: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_options: ConversionOptions, ?html_output: HtmlOutputConfig, ?extraction_timeout_secs: Integer, ?max_concurrent_extractions: Integer, ?result_format: enum_ResultFormat, ?security_limits: SecurityLimits, ?max_embedded_file_bytes: Integer, ?output_format: OutputFormat, ?escape_markdown: bool, ?table_anchors: bool, ?jupyter_cell_rendering: enum_JupyterCellRendering, ?apply_notebook_cell_tags: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?use_layout_for_markdown: bool, ?include_document_structure: bool, ?acceleration: AccelerationConfig, ?cache_namespace: String, ?cache_ttl_secs: Integer, ?email: EmailConfig, ?csv: CsvConfig, ?geojson: GeoJsonExtractionConfig, ?concurrency: ConcurrencyConfig, ?url: UrlExtractionConfig, ?max_archive_depth: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
|
1014
|
+
def initialize: (?mime_detection_policy: enum_MimeDetectionPolicy, ?use_cache: bool, ?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?ocr_near_empty_fallback: bool, ?ocr_scanned_page_quality_gate: bool, ?ocr_embedded_images: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_options: ConversionOptions, ?html_output: HtmlOutputConfig, ?extraction_timeout_secs: Integer, ?max_concurrent_extractions: Integer, ?result_format: enum_ResultFormat, ?security_limits: SecurityLimits, ?max_embedded_file_bytes: Integer, ?output_format: OutputFormat, ?escape_markdown: bool, ?table_anchors: bool, ?jupyter_cell_rendering: enum_JupyterCellRendering, ?apply_notebook_cell_tags: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?use_layout_for_markdown: bool, ?include_document_structure: bool, ?strict_parse: bool, ?acceleration: AccelerationConfig, ?cache_namespace: String, ?cache_ttl_secs: Integer, ?email: EmailConfig, ?csv: CsvConfig, ?geojson: GeoJsonExtractionConfig, ?concurrency: ConcurrencyConfig, ?url: UrlExtractionConfig, ?max_archive_depth: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
|
1014
1015
|
def validate: () -> void
|
|
1015
1016
|
def needs_image_data: () -> bool
|
|
1016
1017
|
def runs_ocr_on_embedded_images: () -> bool
|
|
@@ -1091,6 +1092,7 @@ def initialize: (?genres: Array[String], ?sequences: Array[String], ?annotation:
|
|
|
1091
1092
|
attr_reader result_format: enum_ResultFormat?
|
|
1092
1093
|
attr_reader output_format: OutputFormat?
|
|
1093
1094
|
attr_reader include_document_structure: bool?
|
|
1095
|
+
attr_reader strict_parse: bool?
|
|
1094
1096
|
attr_reader layout: LayoutDetectionConfig?
|
|
1095
1097
|
attr_reader transcription: TranscriptionConfig?
|
|
1096
1098
|
attr_reader timeout_secs: Integer?
|
|
@@ -1106,7 +1108,7 @@ def initialize: (?genres: Array[String], ?sequences: Array[String], ?annotation:
|
|
|
1106
1108
|
attr_reader captioning: CaptioningConfig?
|
|
1107
1109
|
attr_reader qr_codes: bool?
|
|
1108
1110
|
|
|
1109
|
-
def initialize: (?mime_detection_policy: enum_MimeDetectionPolicy, ?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_options: ConversionOptions, ?html_output: HtmlOutputConfig, ?result_format: enum_ResultFormat, ?output_format: OutputFormat, ?include_document_structure: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?timeout_secs: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?url: UrlExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
|
1111
|
+
def initialize: (?mime_detection_policy: enum_MimeDetectionPolicy, ?enable_quality_processing: bool, ?ocr: OcrConfig, ?force_ocr: bool, ?ocr_strategy: OcrStrategy, ?force_ocr_pages: Array[Integer], ?disable_ocr: bool, ?chunking: ChunkingConfig, ?content_filter: ContentFilterConfig, ?images: ImageExtractionConfig, ?pdf_options: PdfConfig, ?token_reduction: TokenReductionOptions, ?language_detection: LanguageDetectionConfig, ?pages: PageConfig, ?keywords: KeywordConfig, ?postprocessor: PostProcessorConfig, ?html_options: ConversionOptions, ?html_output: HtmlOutputConfig, ?result_format: enum_ResultFormat, ?output_format: OutputFormat, ?include_document_structure: bool, ?strict_parse: bool, ?layout: LayoutDetectionConfig, ?transcription: TranscriptionConfig, ?timeout_secs: Integer, ?tree_sitter: TreeSitterConfig, ?structured_extraction: StructuredExtractionConfig, ?url: UrlExtractionConfig, ?ner: NerConfig, ?redaction: RedactionConfig, ?summarization: SummarizationConfig, ?translation: TranslationConfig, ?page_classification: PageClassificationConfig, ?chunk_classification: ChunkClassificationConfig, ?captioning: CaptioningConfig, ?qr_codes: bool) -> void
|
|
1110
1112
|
end
|
|
1111
1113
|
|
|
1112
1114
|
class Footnote
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xberg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Na'aman Hirschfeld
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-10-
|
|
12
|
+
date: 2026-10-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rb_sys
|