xberg 1.0.0.pre.rc.33 → 1.0.0.pre.rc.34

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9c58dd2f7faf056ebc864d535ff983a8a4826c7999a6506ad82af5408c23961
4
- data.tar.gz: effa2a8663dffe2f7136bb327464f88c06ffd58a5ad5f62a9493e883f46f52d8
3
+ metadata.gz: cf47d3f2efc7d844f00708ab91c1336658080ff5d0034aa1fb6772b9cd37ef86
4
+ data.tar.gz: fd283ae6a94a760ee46f4c1fd6ad2c74434cb59b60e6c494acb676050f73ea2d
5
5
  SHA512:
6
- metadata.gz: eea8d788ea172a5dce2f192520bb55ae28af356bdee7f40c13f82b779bc92596a5499a0889708e0a1b6723522537e4cb1f906b0cbc44404d73e8e6a071c70f00
7
- data.tar.gz: 2c1c5dbdb015e2abc5a487895ca995076b8650b0cce43f1184a6c5a61c68baaefe5abc31d0cc6861f19c40bc6eb1bea87bf04dbb0e7e8b912cd51c4e811d3e5f
6
+ metadata.gz: d8a1fb04ca8b61b4c8a31b13d3ea13cb912b6c0d162792a931741a503de39d4e57afc8ea49452f0cff01c3cbb008d0e2ed177a0fc20e2bfc380219ba329789d4
7
+ data.tar.gz: 6b89b365a18babb6998b3aa05582e6d668d3f859d4fb5a7ee988bf476bf275df6d867d935c5f9ac2ac1dfcf09e2249d4376341263fd7d83c37c238cafadc4f72
@@ -461,6 +461,12 @@ version = "0.22.1"
461
461
  source = "registry+https://github.com/rust-lang/crates.io-index"
462
462
  checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
463
463
 
464
+ [[package]]
465
+ name = "base64"
466
+ version = "0.23.0"
467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
468
+ checksum = "b25655df2c3cdd83c5e5b293b88acd880332b2ddadd7c30ac43144fdc0033da9"
469
+
464
470
  [[package]]
465
471
  name = "base64ct"
466
472
  version = "1.8.3"
@@ -2009,6 +2015,12 @@ version = "0.2.7"
2009
2015
  source = "registry+https://github.com/rust-lang/crates.io-index"
2010
2016
  checksum = "caf1079563223d5d59d83c85886a56e586cfd5c1a26292e971a0fa266531ac5a"
2011
2017
 
2018
+ [[package]]
2019
+ name = "fax"
2020
+ version = "0.3.0"
2021
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2022
+ checksum = "70ed8646f3993cad0585c6669ffba6f7e5440a0bfb0a1f16600cae33ce7cf307"
2023
+
2012
2024
  [[package]]
2013
2025
  name = "fd-lock"
2014
2026
  version = "4.0.4"
@@ -2112,6 +2124,15 @@ dependencies = [
2112
2124
  "bytemuck",
2113
2125
  ]
2114
2126
 
2127
+ [[package]]
2128
+ name = "font-types"
2129
+ version = "0.12.1"
2130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2131
+ checksum = "ad67eced03f5504d9cbd3a879b5958b5c54d4e5fd794361c6eb21b05fb703411"
2132
+ dependencies = [
2133
+ "bytemuck",
2134
+ ]
2135
+
2115
2136
  [[package]]
2116
2137
  name = "fontconfig-parser"
2117
2138
  version = "0.5.8"
@@ -2579,6 +2600,18 @@ dependencies = [
2579
2600
  "zerocopy",
2580
2601
  ]
2581
2602
 
2603
+ [[package]]
2604
+ name = "harfrust"
2605
+ version = "0.12.0"
2606
+ source = "registry+https://github.com/rust-lang/crates.io-index"
2607
+ checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9"
2608
+ dependencies = [
2609
+ "bitflags 2.13.1",
2610
+ "bytemuck",
2611
+ "read-fonts 0.41.0",
2612
+ "smallvec",
2613
+ ]
2614
+
2582
2615
  [[package]]
2583
2616
  name = "hashbrown"
2584
2617
  version = "0.12.3"
@@ -3423,36 +3456,6 @@ dependencies = [
3423
3456
  "windows-sys 0.45.0",
3424
3457
  ]
3425
3458
 
3426
- [[package]]
3427
- name = "jni"
3428
- version = "0.22.4"
3429
- source = "registry+https://github.com/rust-lang/crates.io-index"
3430
- checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
3431
- dependencies = [
3432
- "cfg-if 1.0.4",
3433
- "combine",
3434
- "jni-macros",
3435
- "jni-sys 0.4.1",
3436
- "log",
3437
- "simd_cesu8",
3438
- "thiserror 2.0.19",
3439
- "walkdir",
3440
- "windows-link",
3441
- ]
3442
-
3443
- [[package]]
3444
- name = "jni-macros"
3445
- version = "0.22.4"
3446
- source = "registry+https://github.com/rust-lang/crates.io-index"
3447
- checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
3448
- dependencies = [
3449
- "proc-macro2",
3450
- "quote",
3451
- "rustc_version",
3452
- "simd_cesu8",
3453
- "syn 2.0.119",
3454
- ]
3455
-
3456
3459
  [[package]]
3457
3460
  name = "jni-sys"
3458
3461
  version = "0.3.1"
@@ -3732,9 +3735,9 @@ checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
3732
3735
 
3733
3736
  [[package]]
3734
3737
  name = "liter-llm"
3735
- version = "1.10.1"
3738
+ version = "1.11.0"
3736
3739
  source = "registry+https://github.com/rust-lang/crates.io-index"
3737
- checksum = "c69b78084d1eed21747ab8352bbdedb0462724ff46e03986241aa71d326a81fa"
3740
+ checksum = "016fbd9e5fc66d4cb10eb5faa45242e54add93101816926fe9348bcfb0cb051a"
3738
3741
  dependencies = [
3739
3742
  "ahash 0.8.12",
3740
3743
  "arc-swap",
@@ -4800,9 +4803,9 @@ dependencies = [
4800
4803
 
4801
4804
  [[package]]
4802
4805
  name = "pdf_oxide"
4803
- version = "0.3.74"
4806
+ version = "0.3.75"
4804
4807
  source = "registry+https://github.com/rust-lang/crates.io-index"
4805
- checksum = "1b97a8330bf3a3a4011ad84704b3bdcb9b0ef3fd5b03a1bdc371dde40bee1689"
4808
+ checksum = "2e00ca5f52780bb764da7fc1783c0c6f549fcf960d69734c8d7cf7996bdbb49d"
4806
4809
  dependencies = [
4807
4810
  "aes 0.9.1",
4808
4811
  "base64 0.22.1",
@@ -4815,10 +4818,11 @@ dependencies = [
4815
4818
  "encoding_rs",
4816
4819
  "env_logger",
4817
4820
  "fast_image_resize",
4818
- "fax",
4821
+ "fax 0.3.0",
4819
4822
  "flate2",
4820
4823
  "fontdb",
4821
4824
  "getrandom 0.4.3",
4825
+ "harfrust",
4822
4826
  "hayro-jbig2",
4823
4827
  "hayro-jpeg2000 0.4.0",
4824
4828
  "image 0.25.10",
@@ -4832,7 +4836,6 @@ dependencies = [
4832
4836
  "phf 0.14.0",
4833
4837
  "quick-xml 0.41.0",
4834
4838
  "regex",
4835
- "rustybuzz",
4836
4839
  "serde",
4837
4840
  "serde_json",
4838
4841
  "sha2 0.11.0",
@@ -5664,7 +5667,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
5664
5667
  checksum = "c4ed38b89c2c77ff968c524145ad65fb010f38af5c7a224b53b81d47ac2daa81"
5665
5668
  dependencies = [
5666
5669
  "bytemuck",
5667
- "font-types",
5670
+ "font-types 0.11.3",
5671
+ ]
5672
+
5673
+ [[package]]
5674
+ name = "read-fonts"
5675
+ version = "0.41.0"
5676
+ source = "registry+https://github.com/rust-lang/crates.io-index"
5677
+ checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709"
5678
+ dependencies = [
5679
+ "bytemuck",
5680
+ "font-types 0.12.1",
5681
+ "once_cell",
5668
5682
  ]
5669
5683
 
5670
5684
  [[package]]
@@ -5815,7 +5829,7 @@ dependencies = [
5815
5829
  "quinn",
5816
5830
  "rustls",
5817
5831
  "rustls-pki-types",
5818
- "rustls-platform-verifier 0.7.0",
5832
+ "rustls-platform-verifier",
5819
5833
  "serde",
5820
5834
  "serde_json",
5821
5835
  "serde_urlencoded",
@@ -6032,15 +6046,6 @@ version = "2.1.3"
6032
6046
  source = "registry+https://github.com/rust-lang/crates.io-index"
6033
6047
  checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
6034
6048
 
6035
- [[package]]
6036
- name = "rustc_version"
6037
- version = "0.4.1"
6038
- source = "registry+https://github.com/rust-lang/crates.io-index"
6039
- checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
6040
- dependencies = [
6041
- "semver",
6042
- ]
6043
-
6044
6049
  [[package]]
6045
6050
  name = "rustfft"
6046
6051
  version = "6.4.1"
@@ -6098,9 +6103,9 @@ dependencies = [
6098
6103
 
6099
6104
  [[package]]
6100
6105
  name = "rustls-pki-types"
6101
- version = "1.15.0"
6106
+ version = "1.15.1"
6102
6107
  source = "registry+https://github.com/rust-lang/crates.io-index"
6103
- checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046"
6108
+ checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
6104
6109
  dependencies = [
6105
6110
  "web-time",
6106
6111
  "zeroize",
@@ -6114,28 +6119,7 @@ checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784"
6114
6119
  dependencies = [
6115
6120
  "core-foundation 0.10.1",
6116
6121
  "core-foundation-sys",
6117
- "jni 0.21.1",
6118
- "log",
6119
- "once_cell",
6120
- "rustls",
6121
- "rustls-native-certs",
6122
- "rustls-platform-verifier-android",
6123
- "rustls-webpki",
6124
- "security-framework",
6125
- "security-framework-sys",
6126
- "webpki-root-certs",
6127
- "windows-sys 0.61.2",
6128
- ]
6129
-
6130
- [[package]]
6131
- name = "rustls-platform-verifier"
6132
- version = "0.7.0"
6133
- source = "registry+https://github.com/rust-lang/crates.io-index"
6134
- checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0"
6135
- dependencies = [
6136
- "core-foundation 0.10.1",
6137
- "core-foundation-sys",
6138
- "jni 0.22.4",
6122
+ "jni",
6139
6123
  "log",
6140
6124
  "once_cell",
6141
6125
  "rustls",
@@ -6172,24 +6156,6 @@ version = "1.0.23"
6172
6156
  source = "registry+https://github.com/rust-lang/crates.io-index"
6173
6157
  checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
6174
6158
 
6175
- [[package]]
6176
- name = "rustybuzz"
6177
- version = "0.20.1"
6178
- source = "registry+https://github.com/rust-lang/crates.io-index"
6179
- checksum = "fd3c7c96f8a08ee34eff8857b11b49b07d71d1c3f4e88f8a88d4c9e9f90b1702"
6180
- dependencies = [
6181
- "bitflags 2.13.1",
6182
- "bytemuck",
6183
- "core_maths",
6184
- "log",
6185
- "smallvec",
6186
- "ttf-parser",
6187
- "unicode-bidi-mirroring",
6188
- "unicode-ccc",
6189
- "unicode-properties",
6190
- "unicode-script",
6191
- ]
6192
-
6193
6159
  [[package]]
6194
6160
  name = "ryu"
6195
6161
  version = "1.0.23"
@@ -6334,12 +6300,6 @@ dependencies = [
6334
6300
  "libc",
6335
6301
  ]
6336
6302
 
6337
- [[package]]
6338
- name = "semver"
6339
- version = "1.0.28"
6340
- source = "registry+https://github.com/rust-lang/crates.io-index"
6341
- checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
6342
-
6343
6303
  [[package]]
6344
6304
  name = "seq-macro"
6345
6305
  version = "0.3.6"
@@ -6590,16 +6550,6 @@ version = "0.3.10"
6590
6550
  source = "registry+https://github.com/rust-lang/crates.io-index"
6591
6551
  checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
6592
6552
 
6593
- [[package]]
6594
- name = "simd_cesu8"
6595
- version = "1.2.0"
6596
- source = "registry+https://github.com/rust-lang/crates.io-index"
6597
- checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520"
6598
- dependencies = [
6599
- "rustc_version",
6600
- "simdutf8",
6601
- ]
6602
-
6603
6553
  [[package]]
6604
6554
  name = "simd_helpers"
6605
6555
  version = "0.1.0"
@@ -6646,7 +6596,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
6646
6596
  checksum = "0c34617370ae968efb7161bb2beb517d9084659aae19e24b89e3db25b46e4564"
6647
6597
  dependencies = [
6648
6598
  "bytemuck",
6649
- "read-fonts",
6599
+ "read-fonts 0.39.2",
6650
6600
  ]
6651
6601
 
6652
6602
  [[package]]
@@ -7263,7 +7213,7 @@ version = "0.11.3"
7263
7213
  source = "registry+https://github.com/rust-lang/crates.io-index"
7264
7214
  checksum = "b63feaf3343d35b6ca4d50483f94843803b0f51634937cc2ec519fc32232bc52"
7265
7215
  dependencies = [
7266
- "fax",
7216
+ "fax 0.2.7",
7267
7217
  "flate2",
7268
7218
  "half",
7269
7219
  "quick-error",
@@ -7915,18 +7865,6 @@ version = "0.3.18"
7915
7865
  source = "registry+https://github.com/rust-lang/crates.io-index"
7916
7866
  checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
7917
7867
 
7918
- [[package]]
7919
- name = "unicode-bidi-mirroring"
7920
- version = "0.4.0"
7921
- source = "registry+https://github.com/rust-lang/crates.io-index"
7922
- checksum = "5dfa6e8c60bb66d49db113e0125ee8711b7647b5579dc7f5f19c42357ed039fe"
7923
-
7924
- [[package]]
7925
- name = "unicode-ccc"
7926
- version = "0.4.0"
7927
- source = "registry+https://github.com/rust-lang/crates.io-index"
7928
- checksum = "ce61d488bcdc9bc8b5d1772c404828b17fc481c0a582b5581e95fb233aef503e"
7929
-
7930
7868
  [[package]]
7931
7869
  name = "unicode-general-category"
7932
7870
  version = "1.1.0"
@@ -7969,12 +7907,6 @@ version = "0.1.4"
7969
7907
  source = "registry+https://github.com/rust-lang/crates.io-index"
7970
7908
  checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
7971
7909
 
7972
- [[package]]
7973
- name = "unicode-script"
7974
- version = "0.5.8"
7975
- source = "registry+https://github.com/rust-lang/crates.io-index"
7976
- checksum = "383ad40bb927465ec0ce7720e033cb4ca06912855fc35db31b5755d0de75b1ee"
7977
-
7978
7910
  [[package]]
7979
7911
  name = "unicode-segmentation"
7980
7912
  version = "1.13.3"
@@ -8034,7 +7966,7 @@ dependencies = [
8034
7966
  "percent-encoding",
8035
7967
  "rustls",
8036
7968
  "rustls-pki-types",
8037
- "rustls-platform-verifier 0.6.2",
7969
+ "rustls-platform-verifier",
8038
7970
  "serde",
8039
7971
  "serde_json",
8040
7972
  "socks",
@@ -8833,11 +8765,11 @@ version = "0.48.1"
8833
8765
  source = "registry+https://github.com/rust-lang/crates.io-index"
8834
8766
  checksum = "cb731d4c4d93eacc69a1ad2f270f905788a98e4a3438267bcafbe08d3431c8d8"
8835
8767
  dependencies = [
8836
- "font-types",
8768
+ "font-types 0.11.3",
8837
8769
  "indexmap",
8838
8770
  "kurbo",
8839
8771
  "log",
8840
- "read-fonts",
8772
+ "read-fonts 0.39.2",
8841
8773
  ]
8842
8774
 
8843
8775
  [[package]]
@@ -8867,16 +8799,16 @@ dependencies = [
8867
8799
 
8868
8800
  [[package]]
8869
8801
  name = "xberg"
8870
- version = "1.0.0-rc.33"
8802
+ version = "1.0.0-rc.35"
8871
8803
  source = "registry+https://github.com/rust-lang/crates.io-index"
8872
- checksum = "0bf1060d70870a43018bf4c9a44d8582fa8d5f3be3ecea967f03e86d93ebb2ca"
8804
+ checksum = "0581ec37e59e63cb6319bbfa19cd301c4035b2a221c1c3cb6e793e0951a63736"
8873
8805
  dependencies = [
8874
8806
  "aes-gcm",
8875
8807
  "ahash 0.8.12",
8876
8808
  "async-trait",
8877
8809
  "auto_enums",
8878
8810
  "axum",
8879
- "base64 0.22.1",
8811
+ "base64 0.23.0",
8880
8812
  "biblatex",
8881
8813
  "biblib",
8882
8814
  "bitvec",
@@ -8895,6 +8827,7 @@ dependencies = [
8895
8827
  "fast_image_resize",
8896
8828
  "flate2",
8897
8829
  "fs2",
8830
+ "futures",
8898
8831
  "getrandom 0.2.17",
8899
8832
  "getrandom 0.3.4",
8900
8833
  "getrandom 0.4.3",
@@ -8991,9 +8924,9 @@ dependencies = [
8991
8924
 
8992
8925
  [[package]]
8993
8926
  name = "xberg-gliner"
8994
- version = "1.0.0-rc.33"
8927
+ version = "1.0.0-rc.35"
8995
8928
  source = "registry+https://github.com/rust-lang/crates.io-index"
8996
- checksum = "65f21f1c7a0f96f502d1ec5aa35405c3c1a1ec168fb77f7401ab14450264f395"
8929
+ checksum = "33c64291b8a897f09c6f30e1d9f789a389275c6af75e050fcec06c44d4d869c4"
8997
8930
  dependencies = [
8998
8931
  "getrandom 0.2.17",
8999
8932
  "getrandom 0.3.4",
@@ -9007,9 +8940,9 @@ dependencies = [
9007
8940
 
9008
8941
  [[package]]
9009
8942
  name = "xberg-libheif"
9010
- version = "1.0.0-rc.33"
8943
+ version = "1.0.0-rc.35"
9011
8944
  source = "registry+https://github.com/rust-lang/crates.io-index"
9012
- checksum = "2147eac7d54ba62b5f6dd9cd170fdafb32b29924532bafb1e161cd8e5b9c51fa"
8945
+ checksum = "c5571fe5c6b798deca7a884b126fe284a3d8a74f80250b6771d9ff050b32cd58"
9013
8946
  dependencies = [
9014
8947
  "cfg-if 1.0.4",
9015
8948
  "enumn",
@@ -9020,9 +8953,9 @@ dependencies = [
9020
8953
 
9021
8954
  [[package]]
9022
8955
  name = "xberg-paddle-ocr"
9023
- version = "1.0.0-rc.33"
8956
+ version = "1.0.0-rc.35"
9024
8957
  source = "registry+https://github.com/rust-lang/crates.io-index"
9025
- checksum = "0d574aa7d5752564411a8ee1d78fc98efdfa69ae2e385b3fdab919cb29247c8e"
8958
+ checksum = "2c46b77432007b4830e359fadb5db7d6cdab9ce401fe73364f672d9fa6e33309"
9026
8959
  dependencies = [
9027
8960
  "geo-clipper",
9028
8961
  "geo-types",
@@ -9037,7 +8970,7 @@ dependencies = [
9037
8970
 
9038
8971
  [[package]]
9039
8972
  name = "xberg-rb"
9040
- version = "1.0.0-rc.33"
8973
+ version = "1.0.0-rc.34"
9041
8974
  dependencies = [
9042
8975
  "async-trait",
9043
8976
  "crawlberg",
@@ -9052,9 +8985,9 @@ dependencies = [
9052
8985
 
9053
8986
  [[package]]
9054
8987
  name = "xberg-tesseract"
9055
- version = "1.0.0-rc.33"
8988
+ version = "1.0.0-rc.35"
9056
8989
  source = "registry+https://github.com/rust-lang/crates.io-index"
9057
- checksum = "955a17a1528e0b1f3260f5ec3cc0bacc31645e4db59300d1db6f79782329253d"
8990
+ checksum = "2a132a94a86ccfd18ae24a29089fe511d1609a2ea7d1a496cafe9f61b5cdeee1"
9058
8991
  dependencies = [
9059
8992
  "cc",
9060
8993
  "cmake",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "xberg-rb"
3
- version = "1.0.0-rc.33"
3
+ version = "1.0.0-rc.34"
4
4
  edition = "2024"
5
5
  license = "MIT"
6
6
  description = "High-performance document intelligence library"
@@ -64,10 +64,10 @@ serde = { version = "1", features = ["derive"] }
64
64
  serde_json = "1"
65
65
  tokio = { version = "1", features = ["rt-multi-thread"] }
66
66
  [target.'cfg(not(any(target_os = "windows", all(target_os = "macos", target_arch = "x86_64"))))'.dependencies]
67
- xberg = { version = "1.0.0-rc.33", features = ["full", "pdf", "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", "ner-onnx", "ner-llm", "diff", "markdown-footnotes", "redaction", "enrichment", "heuristics", "presets", "structured", "url-ingestion"] }
67
+ xberg = { version = "1.0.0-rc.34", features = ["full", "pdf", "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", "ner-onnx", "ner-llm", "diff", "markdown-footnotes", "redaction", "enrichment", "heuristics", "presets", "structured", "url-ingestion"] }
68
68
 
69
69
  [target.'cfg(target_os = "windows")'.dependencies]
70
- xberg = { version = "1.0.0-rc.33", features = ["windows-target"] }
70
+ xberg = { version = "1.0.0-rc.34", features = ["windows-target"] }
71
71
 
72
72
  [target.'cfg(all(target_os = "macos", target_arch = "x86_64"))'.dependencies]
73
- xberg = { version = "1.0.0-rc.33", features = ["macos-intel-target"] }
73
+ xberg = { version = "1.0.0-rc.34", features = ["macos-intel-target"] }
@@ -1,5 +1,5 @@
1
1
  // This file is auto-generated by alef. DO NOT EDIT.
2
- // alef:hash:5d08f1be5b4c1fa04c24ca290ca4b06275054d9e7515f174e0df09fda497db73
2
+ // alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
3
3
  // Re-generate with: alef generate
4
4
  #![allow(dead_code, unused_imports, unused_variables)]
5
5
  #![allow(
@@ -3239,6 +3239,8 @@ pub struct OcrQualityThresholds {
3239
3239
  alnum_ws_ratio_threshold: f64,
3240
3240
  pipeline_min_quality: f64,
3241
3241
  min_undecodable_ratio: f64,
3242
+ enable_provenance_ocr_routing: bool,
3243
+ min_provenance_fallback_ratio: f64,
3242
3244
  }
3243
3245
 
3244
3246
  unsafe impl IntoValueFromNative for OcrQualityThresholds {}
@@ -3350,6 +3352,14 @@ impl OcrQualityThresholds {
3350
3352
  .get(ruby.to_symbol("min_undecodable_ratio"))
3351
3353
  .and_then(|v| f64::try_convert(v).ok())
3352
3354
  .unwrap_or_default(),
3355
+ enable_provenance_ocr_routing: kwargs
3356
+ .get(ruby.to_symbol("enable_provenance_ocr_routing"))
3357
+ .and_then(|v| bool::try_convert(v).ok())
3358
+ .unwrap_or_default(),
3359
+ min_provenance_fallback_ratio: kwargs
3360
+ .get(ruby.to_symbol("min_provenance_fallback_ratio"))
3361
+ .and_then(|v| f64::try_convert(v).ok())
3362
+ .unwrap_or_default(),
3353
3363
  })
3354
3364
  }
3355
3365
 
@@ -3420,6 +3430,14 @@ impl OcrQualityThresholds {
3420
3430
  fn min_undecodable_ratio(&self) -> f64 {
3421
3431
  self.min_undecodable_ratio
3422
3432
  }
3433
+
3434
+ fn enable_provenance_ocr_routing(&self) -> bool {
3435
+ self.enable_provenance_ocr_routing
3436
+ }
3437
+
3438
+ fn min_provenance_fallback_ratio(&self) -> f64 {
3439
+ self.min_provenance_fallback_ratio
3440
+ }
3423
3441
  }
3424
3442
 
3425
3443
  #[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
@@ -31587,6 +31605,8 @@ impl From<OcrQualityThresholds> for xberg::OcrQualityThresholds {
31587
31605
  alnum_ws_ratio_threshold: val.alnum_ws_ratio_threshold,
31588
31606
  pipeline_min_quality: val.pipeline_min_quality,
31589
31607
  min_undecodable_ratio: val.min_undecodable_ratio,
31608
+ enable_provenance_ocr_routing: val.enable_provenance_ocr_routing,
31609
+ min_provenance_fallback_ratio: val.min_provenance_fallback_ratio,
31590
31610
  ..Default::default()
31591
31611
  }
31592
31612
  }
@@ -31613,6 +31633,8 @@ impl From<xberg::OcrQualityThresholds> for OcrQualityThresholds {
31613
31633
  alnum_ws_ratio_threshold: val.alnum_ws_ratio_threshold,
31614
31634
  pipeline_min_quality: val.pipeline_min_quality,
31615
31635
  min_undecodable_ratio: val.min_undecodable_ratio,
31636
+ enable_provenance_ocr_routing: val.enable_provenance_ocr_routing,
31637
+ min_provenance_fallback_ratio: val.min_provenance_fallback_ratio,
31616
31638
  }
31617
31639
  }
31618
31640
  }
@@ -39315,6 +39337,16 @@ fn ruby_init(ruby: &Ruby) -> Result<(), Error> {
39315
39337
  method!(OcrQualityThresholds::min_undecodable_ratio, 0),
39316
39338
  )?;
39317
39339
 
39340
+ class.define_method(
39341
+ "enable_provenance_ocr_routing",
39342
+ method!(OcrQualityThresholds::enable_provenance_ocr_routing, 0),
39343
+ )?;
39344
+
39345
+ class.define_method(
39346
+ "min_provenance_fallback_ratio",
39347
+ method!(OcrQualityThresholds::min_provenance_fallback_ratio, 0),
39348
+ )?;
39349
+
39318
39350
  let class = module.define_class("OcrPipelineStage", ruby.class_object())?;
39319
39351
 
39320
39352
  class.define_singleton_method("new", function!(OcrPipelineStage::new, -1))?;
data/lib/xberg/native.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:5d08f1be5b4c1fa04c24ca290ca4b06275054d9e7515f174e0df09fda497db73
2
+ # alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
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:5d08f1be5b4c1fa04c24ca290ca4b06275054d9e7515f174e0df09fda497db73
2
+ # alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module Xberg
8
8
  ## The version string for this package.
9
- VERSION = "1.0.0.pre.rc.33"
9
+ VERSION = "1.0.0.pre.rc.34"
10
10
  end
data/lib/xberg.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:5d08f1be5b4c1fa04c24ca290ca4b06275054d9e7515f174e0df09fda497db73
2
+ # alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
  # frozen_string_literal: true
data/lib/xberg_rb.so CHANGED
Binary file
data/sig/types.rbs CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:5d08f1be5b4c1fa04c24ca290ca4b06275054d9e7515f174e0df09fda497db73
2
+ # alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify --exit-code
5
5
 
@@ -366,8 +366,10 @@ def initialize: (?backend: NerBackendKind, ?categories: Array[EntityCategory], ?
366
366
  attr_accessor alnum_ws_ratio_threshold: Float?
367
367
  attr_accessor pipeline_min_quality: Float?
368
368
  attr_accessor min_undecodable_ratio: Float?
369
+ attr_accessor enable_provenance_ocr_routing: bool?
370
+ attr_accessor min_provenance_fallback_ratio: Float?
369
371
 
370
- def initialize: (?min_total_non_whitespace: Integer, ?min_non_whitespace_per_page: Float, ?min_meaningful_word_len: Integer, ?min_meaningful_words: Integer, ?min_alnum_ratio: Float, ?min_garbage_chars: Integer, ?max_fragmented_word_ratio: Float, ?critical_fragmented_word_ratio: Float, ?min_avg_word_length: Float, ?min_words_for_avg_length_check: Integer, ?min_consecutive_repeat_ratio: Float, ?min_words_for_repeat_check: Integer, ?substantive_min_chars: Integer, ?non_text_min_chars: Integer, ?alnum_ws_ratio_threshold: Float, ?pipeline_min_quality: Float, ?min_undecodable_ratio: Float) -> void
372
+ def initialize: (?min_total_non_whitespace: Integer, ?min_non_whitespace_per_page: Float, ?min_meaningful_word_len: Integer, ?min_meaningful_words: Integer, ?min_alnum_ratio: Float, ?min_garbage_chars: Integer, ?max_fragmented_word_ratio: Float, ?critical_fragmented_word_ratio: Float, ?min_avg_word_length: Float, ?min_words_for_avg_length_check: Integer, ?min_consecutive_repeat_ratio: Float, ?min_words_for_repeat_check: Integer, ?substantive_min_chars: Integer, ?non_text_min_chars: Integer, ?alnum_ws_ratio_threshold: Float, ?pipeline_min_quality: Float, ?min_undecodable_ratio: Float, ?enable_provenance_ocr_routing: bool, ?min_provenance_fallback_ratio: Float) -> void
371
373
  def self.default: () -> OcrQualityThresholds
372
374
  end
373
375
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xberg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc.33
4
+ version: 1.0.0.pre.rc.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Na'aman Hirschfeld <naaman@xberg.io>
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-23 00:00:00.000000000 Z
11
+ date: 2026-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys