pdf-textlayer 0.2.0__tar.gz → 0.3.0__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 (33) hide show
  1. pdf_textlayer-0.3.0/Cargo.lock +1008 -0
  2. pdf_textlayer-0.3.0/Cargo.toml +15 -0
  3. pdf_textlayer-0.3.0/PKG-INFO +111 -0
  4. pdf_textlayer-0.3.0/README.md +84 -0
  5. pdf_textlayer-0.3.0/crates/pdf-textlayer/Cargo.toml +33 -0
  6. pdf_textlayer-0.3.0/crates/pdf-textlayer/README.md +28 -0
  7. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/adapters.rs +243 -0
  8. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/cli.rs +131 -0
  9. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/geometry.rs +263 -0
  10. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/lib.rs +221 -0
  11. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/main.rs +3 -0
  12. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/metrics.rs +187 -0
  13. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/metrics_data.rs +681 -0
  14. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/native_text.rs +945 -0
  15. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/overlay.rs +421 -0
  16. pdf_textlayer-0.3.0/crates/pdf-textlayer/src/overlay_font.rs +468 -0
  17. pdf_textlayer-0.3.0/crates/pdf-textlayer/tests/cli.rs +50 -0
  18. pdf_textlayer-0.3.0/crates/pdf-textlayer-python/Cargo.toml +17 -0
  19. pdf_textlayer-0.3.0/crates/pdf-textlayer-python/src/lib.rs +198 -0
  20. pdf_textlayer-0.3.0/pdf_textlayer/__init__.py +29 -0
  21. pdf_textlayer-0.3.0/pdf_textlayer/_native.pyi +61 -0
  22. pdf_textlayer-0.3.0/pdf_textlayer/cli.py +18 -0
  23. pdf_textlayer-0.3.0/pdf_textlayer/core.py +158 -0
  24. pdf_textlayer-0.3.0/pdf_textlayer/types.py +83 -0
  25. {pdf_textlayer-0.2.0 → pdf_textlayer-0.3.0}/pyproject.toml +27 -10
  26. pdf_textlayer-0.2.0/PKG-INFO +0 -184
  27. pdf_textlayer-0.2.0/README.md +0 -159
  28. pdf_textlayer-0.2.0/src/pdf_textlayer/__init__.py +0 -28
  29. pdf_textlayer-0.2.0/src/pdf_textlayer/adapters.py +0 -131
  30. pdf_textlayer-0.2.0/src/pdf_textlayer/cli.py +0 -89
  31. pdf_textlayer-0.2.0/src/pdf_textlayer/core.py +0 -334
  32. {pdf_textlayer-0.2.0 → pdf_textlayer-0.3.0}/LICENSE +0 -0
  33. {pdf_textlayer-0.2.0/src → pdf_textlayer-0.3.0}/pdf_textlayer/py.typed +0 -0
@@ -0,0 +1,1008 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 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
+
11
+ [[package]]
12
+ name = "aes"
13
+ version = "0.9.4"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "fc0fc36d7440d015b45468ba08a21e80e056ebbd014c611c6298bb7503e04bd1"
16
+ dependencies = [
17
+ "cipher",
18
+ "cpubits",
19
+ "cpufeatures",
20
+ ]
21
+
22
+ [[package]]
23
+ name = "aho-corasick"
24
+ version = "1.1.5"
25
+ source = "registry+https://github.com/rust-lang/crates.io-index"
26
+ checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
27
+ dependencies = [
28
+ "memchr",
29
+ ]
30
+
31
+ [[package]]
32
+ name = "alloc-no-stdlib"
33
+ version = "2.0.4"
34
+ source = "registry+https://github.com/rust-lang/crates.io-index"
35
+ checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
36
+
37
+ [[package]]
38
+ name = "alloc-stdlib"
39
+ version = "0.2.4"
40
+ source = "registry+https://github.com/rust-lang/crates.io-index"
41
+ checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195"
42
+ dependencies = [
43
+ "alloc-no-stdlib",
44
+ ]
45
+
46
+ [[package]]
47
+ name = "anstream"
48
+ version = "1.0.0"
49
+ source = "registry+https://github.com/rust-lang/crates.io-index"
50
+ checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
51
+ dependencies = [
52
+ "anstyle",
53
+ "anstyle-parse",
54
+ "anstyle-query",
55
+ "anstyle-wincon",
56
+ "colorchoice",
57
+ "is_terminal_polyfill",
58
+ "utf8parse",
59
+ ]
60
+
61
+ [[package]]
62
+ name = "anstyle"
63
+ version = "1.0.14"
64
+ source = "registry+https://github.com/rust-lang/crates.io-index"
65
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
66
+
67
+ [[package]]
68
+ name = "anstyle-parse"
69
+ version = "1.0.0"
70
+ source = "registry+https://github.com/rust-lang/crates.io-index"
71
+ checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
72
+ dependencies = [
73
+ "utf8parse",
74
+ ]
75
+
76
+ [[package]]
77
+ name = "anstyle-query"
78
+ version = "1.1.5"
79
+ source = "registry+https://github.com/rust-lang/crates.io-index"
80
+ checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
81
+ dependencies = [
82
+ "windows-sys",
83
+ ]
84
+
85
+ [[package]]
86
+ name = "anstyle-wincon"
87
+ version = "3.0.11"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
90
+ dependencies = [
91
+ "anstyle",
92
+ "once_cell_polyfill",
93
+ "windows-sys",
94
+ ]
95
+
96
+ [[package]]
97
+ name = "bitflags"
98
+ version = "2.13.2"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
101
+
102
+ [[package]]
103
+ name = "block-buffer"
104
+ version = "0.12.1"
105
+ source = "registry+https://github.com/rust-lang/crates.io-index"
106
+ checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
107
+ dependencies = [
108
+ "hybrid-array",
109
+ ]
110
+
111
+ [[package]]
112
+ name = "block-padding"
113
+ version = "0.4.2"
114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
115
+ checksum = "710f1dd022ef4e93f8a438b4ba958de7f64308434fa6a87104481645cc30068b"
116
+ dependencies = [
117
+ "hybrid-array",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "brotli-decompressor"
122
+ version = "5.0.3"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
125
+ dependencies = [
126
+ "alloc-no-stdlib",
127
+ "alloc-stdlib",
128
+ ]
129
+
130
+ [[package]]
131
+ name = "cbc"
132
+ version = "0.2.1"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896"
135
+ dependencies = [
136
+ "cipher",
137
+ ]
138
+
139
+ [[package]]
140
+ name = "cfg-if"
141
+ version = "1.0.5"
142
+ source = "registry+https://github.com/rust-lang/crates.io-index"
143
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
144
+
145
+ [[package]]
146
+ name = "chacha20"
147
+ version = "0.10.2"
148
+ source = "registry+https://github.com/rust-lang/crates.io-index"
149
+ checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
150
+ dependencies = [
151
+ "cfg-if",
152
+ "cpufeatures",
153
+ "rand_core",
154
+ ]
155
+
156
+ [[package]]
157
+ name = "cipher"
158
+ version = "0.5.2"
159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
160
+ checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
161
+ dependencies = [
162
+ "crypto-common",
163
+ "inout",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "clap"
168
+ version = "4.6.7"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
171
+ dependencies = [
172
+ "clap_builder",
173
+ "clap_derive",
174
+ ]
175
+
176
+ [[package]]
177
+ name = "clap_builder"
178
+ version = "4.6.7"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
181
+ dependencies = [
182
+ "anstream",
183
+ "anstyle",
184
+ "clap_lex",
185
+ "strsim",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "clap_derive"
190
+ version = "4.6.7"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
193
+ dependencies = [
194
+ "heck",
195
+ "proc-macro2",
196
+ "quote",
197
+ "syn 3.0.10",
198
+ ]
199
+
200
+ [[package]]
201
+ name = "clap_lex"
202
+ version = "1.1.1"
203
+ source = "registry+https://github.com/rust-lang/crates.io-index"
204
+ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
205
+
206
+ [[package]]
207
+ name = "colorchoice"
208
+ version = "1.0.5"
209
+ source = "registry+https://github.com/rust-lang/crates.io-index"
210
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
211
+
212
+ [[package]]
213
+ name = "const-oid"
214
+ version = "0.10.3"
215
+ source = "registry+https://github.com/rust-lang/crates.io-index"
216
+ checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
217
+
218
+ [[package]]
219
+ name = "convert_case"
220
+ version = "0.6.0"
221
+ source = "registry+https://github.com/rust-lang/crates.io-index"
222
+ checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
223
+ dependencies = [
224
+ "unicode-segmentation",
225
+ ]
226
+
227
+ [[package]]
228
+ name = "core_detect"
229
+ version = "1.0.0"
230
+ source = "registry+https://github.com/rust-lang/crates.io-index"
231
+ checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48"
232
+
233
+ [[package]]
234
+ name = "cpubits"
235
+ version = "0.1.1"
236
+ source = "registry+https://github.com/rust-lang/crates.io-index"
237
+ checksum = "15b85f9c39137c3a891689859392b1bd49812121d0d61c9caf00d46ed5ce06ae"
238
+
239
+ [[package]]
240
+ name = "cpufeatures"
241
+ version = "0.3.1"
242
+ source = "registry+https://github.com/rust-lang/crates.io-index"
243
+ checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
244
+ dependencies = [
245
+ "libc",
246
+ ]
247
+
248
+ [[package]]
249
+ name = "crc32fast"
250
+ version = "1.5.5"
251
+ source = "registry+https://github.com/rust-lang/crates.io-index"
252
+ checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64"
253
+ dependencies = [
254
+ "cfg-if",
255
+ ]
256
+
257
+ [[package]]
258
+ name = "crossbeam-deque"
259
+ version = "0.8.8"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
262
+ dependencies = [
263
+ "crossbeam-epoch",
264
+ "crossbeam-utils",
265
+ ]
266
+
267
+ [[package]]
268
+ name = "crossbeam-epoch"
269
+ version = "0.9.21"
270
+ source = "registry+https://github.com/rust-lang/crates.io-index"
271
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
272
+ dependencies = [
273
+ "crossbeam-utils",
274
+ ]
275
+
276
+ [[package]]
277
+ name = "crossbeam-utils"
278
+ version = "0.8.23"
279
+ source = "registry+https://github.com/rust-lang/crates.io-index"
280
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
281
+
282
+ [[package]]
283
+ name = "crypto-common"
284
+ version = "0.2.2"
285
+ source = "registry+https://github.com/rust-lang/crates.io-index"
286
+ checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
287
+ dependencies = [
288
+ "hybrid-array",
289
+ ]
290
+
291
+ [[package]]
292
+ name = "ctor"
293
+ version = "0.2.9"
294
+ source = "registry+https://github.com/rust-lang/crates.io-index"
295
+ checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
296
+ dependencies = [
297
+ "quote",
298
+ "syn 2.0.119",
299
+ ]
300
+
301
+ [[package]]
302
+ name = "digest"
303
+ version = "0.11.3"
304
+ source = "registry+https://github.com/rust-lang/crates.io-index"
305
+ checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
306
+ dependencies = [
307
+ "block-buffer",
308
+ "const-oid",
309
+ "crypto-common",
310
+ ]
311
+
312
+ [[package]]
313
+ name = "ecb"
314
+ version = "0.2.1"
315
+ source = "registry+https://github.com/rust-lang/crates.io-index"
316
+ checksum = "26f2a8b3e564eba0877223dc343703ad0385794e882e6d13f3a4dd5c6b1f41ac"
317
+ dependencies = [
318
+ "cipher",
319
+ ]
320
+
321
+ [[package]]
322
+ name = "either"
323
+ version = "1.19.0"
324
+ source = "registry+https://github.com/rust-lang/crates.io-index"
325
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
326
+
327
+ [[package]]
328
+ name = "encoding_rs"
329
+ version = "0.8.44"
330
+ source = "registry+https://github.com/rust-lang/crates.io-index"
331
+ checksum = "89253175e704ab869b04f9db224d38630e0211a53841a79181deae0889e169f5"
332
+ dependencies = [
333
+ "cfg-if",
334
+ "core_detect",
335
+ "multiversion_no_op",
336
+ "rustversion",
337
+ "scopeguard",
338
+ "simdutf8",
339
+ ]
340
+
341
+ [[package]]
342
+ name = "equivalent"
343
+ version = "1.0.3"
344
+ source = "registry+https://github.com/rust-lang/crates.io-index"
345
+ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
346
+
347
+ [[package]]
348
+ name = "flate2"
349
+ version = "1.1.11"
350
+ source = "registry+https://github.com/rust-lang/crates.io-index"
351
+ checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4"
352
+ dependencies = [
353
+ "crc32fast",
354
+ "miniz_oxide",
355
+ "zlib-rs",
356
+ ]
357
+
358
+ [[package]]
359
+ name = "getrandom"
360
+ version = "0.4.3"
361
+ source = "registry+https://github.com/rust-lang/crates.io-index"
362
+ checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
363
+ dependencies = [
364
+ "cfg-if",
365
+ "libc",
366
+ "r-efi",
367
+ "rand_core",
368
+ ]
369
+
370
+ [[package]]
371
+ name = "hashbrown"
372
+ version = "0.17.1"
373
+ source = "registry+https://github.com/rust-lang/crates.io-index"
374
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
375
+
376
+ [[package]]
377
+ name = "heck"
378
+ version = "0.5.0"
379
+ source = "registry+https://github.com/rust-lang/crates.io-index"
380
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
381
+
382
+ [[package]]
383
+ name = "hybrid-array"
384
+ version = "0.4.15"
385
+ source = "registry+https://github.com/rust-lang/crates.io-index"
386
+ checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
387
+ dependencies = [
388
+ "typenum",
389
+ ]
390
+
391
+ [[package]]
392
+ name = "indexmap"
393
+ version = "2.14.2"
394
+ source = "registry+https://github.com/rust-lang/crates.io-index"
395
+ checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
396
+ dependencies = [
397
+ "equivalent",
398
+ "hashbrown",
399
+ ]
400
+
401
+ [[package]]
402
+ name = "inout"
403
+ version = "0.2.6"
404
+ source = "registry+https://github.com/rust-lang/crates.io-index"
405
+ checksum = "3a580c13f0ffc335ef42dd3f6b1a41b726051c5e1656d9a3aa6fddb3c5dfbbf9"
406
+ dependencies = [
407
+ "block-padding",
408
+ "hybrid-array",
409
+ ]
410
+
411
+ [[package]]
412
+ name = "is_terminal_polyfill"
413
+ version = "1.70.2"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
416
+
417
+ [[package]]
418
+ name = "itoa"
419
+ version = "1.0.19"
420
+ source = "registry+https://github.com/rust-lang/crates.io-index"
421
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
422
+
423
+ [[package]]
424
+ name = "libc"
425
+ version = "0.2.191"
426
+ source = "registry+https://github.com/rust-lang/crates.io-index"
427
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
428
+
429
+ [[package]]
430
+ name = "libloading"
431
+ version = "0.8.9"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
434
+ dependencies = [
435
+ "cfg-if",
436
+ "windows-link",
437
+ ]
438
+
439
+ [[package]]
440
+ name = "log"
441
+ version = "0.4.35"
442
+ source = "registry+https://github.com/rust-lang/crates.io-index"
443
+ checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
444
+
445
+ [[package]]
446
+ name = "lopdf"
447
+ version = "0.47.0"
448
+ source = "registry+https://github.com/rust-lang/crates.io-index"
449
+ checksum = "c6ad532ff9262dd4bfd6e085400cbb39959d48cb8d08518b01b68f77bdf6feca"
450
+ dependencies = [
451
+ "aes",
452
+ "bitflags",
453
+ "brotli-decompressor",
454
+ "cbc",
455
+ "ecb",
456
+ "encoding_rs",
457
+ "flate2",
458
+ "getrandom",
459
+ "indexmap",
460
+ "itoa",
461
+ "log",
462
+ "md-5",
463
+ "nom",
464
+ "rand",
465
+ "rangemap",
466
+ "rayon",
467
+ "sha2",
468
+ "stringprep",
469
+ "thiserror",
470
+ "weezl",
471
+ ]
472
+
473
+ [[package]]
474
+ name = "md-5"
475
+ version = "0.11.0"
476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
477
+ checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98"
478
+ dependencies = [
479
+ "cfg-if",
480
+ "digest",
481
+ ]
482
+
483
+ [[package]]
484
+ name = "memchr"
485
+ version = "2.8.3"
486
+ source = "registry+https://github.com/rust-lang/crates.io-index"
487
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
488
+
489
+ [[package]]
490
+ name = "miniz_oxide"
491
+ version = "0.9.1"
492
+ source = "registry+https://github.com/rust-lang/crates.io-index"
493
+ checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
494
+ dependencies = [
495
+ "adler2",
496
+ "simd-adler32",
497
+ ]
498
+
499
+ [[package]]
500
+ name = "multiversion_no_op"
501
+ version = "1.0.0"
502
+ source = "registry+https://github.com/rust-lang/crates.io-index"
503
+ checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"
504
+
505
+ [[package]]
506
+ name = "napi"
507
+ version = "2.16.17"
508
+ source = "registry+https://github.com/rust-lang/crates.io-index"
509
+ checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
510
+ dependencies = [
511
+ "bitflags",
512
+ "ctor",
513
+ "napi-derive",
514
+ "napi-sys",
515
+ "once_cell",
516
+ ]
517
+
518
+ [[package]]
519
+ name = "napi-build"
520
+ version = "2.6.0"
521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
522
+ checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
523
+
524
+ [[package]]
525
+ name = "napi-derive"
526
+ version = "2.16.13"
527
+ source = "registry+https://github.com/rust-lang/crates.io-index"
528
+ checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
529
+ dependencies = [
530
+ "cfg-if",
531
+ "convert_case",
532
+ "napi-derive-backend",
533
+ "proc-macro2",
534
+ "quote",
535
+ "syn 2.0.119",
536
+ ]
537
+
538
+ [[package]]
539
+ name = "napi-derive-backend"
540
+ version = "1.0.75"
541
+ source = "registry+https://github.com/rust-lang/crates.io-index"
542
+ checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf"
543
+ dependencies = [
544
+ "convert_case",
545
+ "once_cell",
546
+ "proc-macro2",
547
+ "quote",
548
+ "regex",
549
+ "semver",
550
+ "syn 2.0.119",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "napi-sys"
555
+ version = "2.4.0"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
558
+ dependencies = [
559
+ "libloading",
560
+ ]
561
+
562
+ [[package]]
563
+ name = "nom"
564
+ version = "8.0.0"
565
+ source = "registry+https://github.com/rust-lang/crates.io-index"
566
+ checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
567
+ dependencies = [
568
+ "memchr",
569
+ ]
570
+
571
+ [[package]]
572
+ name = "once_cell"
573
+ version = "1.21.4"
574
+ source = "registry+https://github.com/rust-lang/crates.io-index"
575
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
576
+
577
+ [[package]]
578
+ name = "once_cell_polyfill"
579
+ version = "1.70.2"
580
+ source = "registry+https://github.com/rust-lang/crates.io-index"
581
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
582
+
583
+ [[package]]
584
+ name = "pdf-textlayer"
585
+ version = "0.3.0"
586
+ dependencies = [
587
+ "clap",
588
+ "flate2",
589
+ "lopdf",
590
+ "serde_json",
591
+ "thiserror",
592
+ "unicode-width",
593
+ ]
594
+
595
+ [[package]]
596
+ name = "pdf-textlayer-napi"
597
+ version = "0.3.0"
598
+ dependencies = [
599
+ "napi",
600
+ "napi-build",
601
+ "napi-derive",
602
+ "pdf-textlayer",
603
+ ]
604
+
605
+ [[package]]
606
+ name = "pdf-textlayer-python"
607
+ version = "0.3.0"
608
+ dependencies = [
609
+ "pdf-textlayer",
610
+ "pyo3",
611
+ ]
612
+
613
+ [[package]]
614
+ name = "portable-atomic"
615
+ version = "1.15.0"
616
+ source = "registry+https://github.com/rust-lang/crates.io-index"
617
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
618
+
619
+ [[package]]
620
+ name = "proc-macro2"
621
+ version = "1.0.107"
622
+ source = "registry+https://github.com/rust-lang/crates.io-index"
623
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
624
+ dependencies = [
625
+ "unicode-ident",
626
+ ]
627
+
628
+ [[package]]
629
+ name = "pyo3"
630
+ version = "0.29.3"
631
+ source = "registry+https://github.com/rust-lang/crates.io-index"
632
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
633
+ dependencies = [
634
+ "libc",
635
+ "once_cell",
636
+ "portable-atomic",
637
+ "pyo3-build-config",
638
+ "pyo3-ffi",
639
+ "pyo3-macros",
640
+ ]
641
+
642
+ [[package]]
643
+ name = "pyo3-build-config"
644
+ version = "0.29.3"
645
+ source = "registry+https://github.com/rust-lang/crates.io-index"
646
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
647
+ dependencies = [
648
+ "target-lexicon",
649
+ ]
650
+
651
+ [[package]]
652
+ name = "pyo3-ffi"
653
+ version = "0.29.3"
654
+ source = "registry+https://github.com/rust-lang/crates.io-index"
655
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
656
+ dependencies = [
657
+ "libc",
658
+ "pyo3-build-config",
659
+ ]
660
+
661
+ [[package]]
662
+ name = "pyo3-macros"
663
+ version = "0.29.3"
664
+ source = "registry+https://github.com/rust-lang/crates.io-index"
665
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
666
+ dependencies = [
667
+ "proc-macro2",
668
+ "pyo3-macros-backend",
669
+ "quote",
670
+ "syn 2.0.119",
671
+ ]
672
+
673
+ [[package]]
674
+ name = "pyo3-macros-backend"
675
+ version = "0.29.3"
676
+ source = "registry+https://github.com/rust-lang/crates.io-index"
677
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
678
+ dependencies = [
679
+ "heck",
680
+ "proc-macro2",
681
+ "quote",
682
+ "syn 2.0.119",
683
+ ]
684
+
685
+ [[package]]
686
+ name = "quote"
687
+ version = "1.0.47"
688
+ source = "registry+https://github.com/rust-lang/crates.io-index"
689
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
690
+ dependencies = [
691
+ "proc-macro2",
692
+ ]
693
+
694
+ [[package]]
695
+ name = "r-efi"
696
+ version = "6.0.0"
697
+ source = "registry+https://github.com/rust-lang/crates.io-index"
698
+ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
699
+
700
+ [[package]]
701
+ name = "rand"
702
+ version = "0.10.3"
703
+ source = "registry+https://github.com/rust-lang/crates.io-index"
704
+ checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
705
+ dependencies = [
706
+ "chacha20",
707
+ "getrandom",
708
+ "rand_core",
709
+ ]
710
+
711
+ [[package]]
712
+ name = "rand_core"
713
+ version = "0.10.1"
714
+ source = "registry+https://github.com/rust-lang/crates.io-index"
715
+ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
716
+
717
+ [[package]]
718
+ name = "rangemap"
719
+ version = "1.8.0"
720
+ source = "registry+https://github.com/rust-lang/crates.io-index"
721
+ checksum = "a611d15b50743feb4c76b7d03edcb0e64f399c26961e4efe6975bc398be6aa3d"
722
+
723
+ [[package]]
724
+ name = "rayon"
725
+ version = "1.12.0"
726
+ source = "registry+https://github.com/rust-lang/crates.io-index"
727
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
728
+ dependencies = [
729
+ "either",
730
+ "rayon-core",
731
+ ]
732
+
733
+ [[package]]
734
+ name = "rayon-core"
735
+ version = "1.13.0"
736
+ source = "registry+https://github.com/rust-lang/crates.io-index"
737
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
738
+ dependencies = [
739
+ "crossbeam-deque",
740
+ "crossbeam-utils",
741
+ ]
742
+
743
+ [[package]]
744
+ name = "regex"
745
+ version = "1.13.1"
746
+ source = "registry+https://github.com/rust-lang/crates.io-index"
747
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
748
+ dependencies = [
749
+ "aho-corasick",
750
+ "memchr",
751
+ "regex-automata",
752
+ "regex-syntax",
753
+ ]
754
+
755
+ [[package]]
756
+ name = "regex-automata"
757
+ version = "0.4.18"
758
+ source = "registry+https://github.com/rust-lang/crates.io-index"
759
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
760
+ dependencies = [
761
+ "aho-corasick",
762
+ "memchr",
763
+ "regex-syntax",
764
+ ]
765
+
766
+ [[package]]
767
+ name = "regex-syntax"
768
+ version = "0.8.11"
769
+ source = "registry+https://github.com/rust-lang/crates.io-index"
770
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
771
+
772
+ [[package]]
773
+ name = "rustversion"
774
+ version = "1.0.23"
775
+ source = "registry+https://github.com/rust-lang/crates.io-index"
776
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
777
+
778
+ [[package]]
779
+ name = "scopeguard"
780
+ version = "1.2.0"
781
+ source = "registry+https://github.com/rust-lang/crates.io-index"
782
+ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
783
+
784
+ [[package]]
785
+ name = "semver"
786
+ version = "1.0.28"
787
+ source = "registry+https://github.com/rust-lang/crates.io-index"
788
+ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
789
+
790
+ [[package]]
791
+ name = "serde"
792
+ version = "1.0.229"
793
+ source = "registry+https://github.com/rust-lang/crates.io-index"
794
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
795
+ dependencies = [
796
+ "serde_core",
797
+ ]
798
+
799
+ [[package]]
800
+ name = "serde_core"
801
+ version = "1.0.229"
802
+ source = "registry+https://github.com/rust-lang/crates.io-index"
803
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
804
+ dependencies = [
805
+ "serde_derive",
806
+ ]
807
+
808
+ [[package]]
809
+ name = "serde_derive"
810
+ version = "1.0.229"
811
+ source = "registry+https://github.com/rust-lang/crates.io-index"
812
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
813
+ dependencies = [
814
+ "proc-macro2",
815
+ "quote",
816
+ "syn 3.0.10",
817
+ ]
818
+
819
+ [[package]]
820
+ name = "serde_json"
821
+ version = "1.0.154"
822
+ source = "registry+https://github.com/rust-lang/crates.io-index"
823
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
824
+ dependencies = [
825
+ "itoa",
826
+ "memchr",
827
+ "serde",
828
+ "serde_core",
829
+ "zmij",
830
+ ]
831
+
832
+ [[package]]
833
+ name = "sha2"
834
+ version = "0.11.1"
835
+ source = "registry+https://github.com/rust-lang/crates.io-index"
836
+ checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19"
837
+ dependencies = [
838
+ "cfg-if",
839
+ "cpufeatures",
840
+ "digest",
841
+ ]
842
+
843
+ [[package]]
844
+ name = "simd-adler32"
845
+ version = "0.3.10"
846
+ source = "registry+https://github.com/rust-lang/crates.io-index"
847
+ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
848
+
849
+ [[package]]
850
+ name = "simdutf8"
851
+ version = "0.1.5"
852
+ source = "registry+https://github.com/rust-lang/crates.io-index"
853
+ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
854
+
855
+ [[package]]
856
+ name = "stringprep"
857
+ version = "0.1.5"
858
+ source = "registry+https://github.com/rust-lang/crates.io-index"
859
+ checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
860
+ dependencies = [
861
+ "unicode-bidi",
862
+ "unicode-normalization",
863
+ "unicode-properties",
864
+ ]
865
+
866
+ [[package]]
867
+ name = "strsim"
868
+ version = "0.11.1"
869
+ source = "registry+https://github.com/rust-lang/crates.io-index"
870
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
871
+
872
+ [[package]]
873
+ name = "syn"
874
+ version = "2.0.119"
875
+ source = "registry+https://github.com/rust-lang/crates.io-index"
876
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
877
+ dependencies = [
878
+ "proc-macro2",
879
+ "quote",
880
+ "unicode-ident",
881
+ ]
882
+
883
+ [[package]]
884
+ name = "syn"
885
+ version = "3.0.10"
886
+ source = "registry+https://github.com/rust-lang/crates.io-index"
887
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
888
+ dependencies = [
889
+ "proc-macro2",
890
+ "quote",
891
+ "unicode-ident",
892
+ ]
893
+
894
+ [[package]]
895
+ name = "target-lexicon"
896
+ version = "0.13.5"
897
+ source = "registry+https://github.com/rust-lang/crates.io-index"
898
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
899
+
900
+ [[package]]
901
+ name = "thiserror"
902
+ version = "2.0.21"
903
+ source = "registry+https://github.com/rust-lang/crates.io-index"
904
+ checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
905
+ dependencies = [
906
+ "thiserror-impl",
907
+ ]
908
+
909
+ [[package]]
910
+ name = "thiserror-impl"
911
+ version = "2.0.21"
912
+ source = "registry+https://github.com/rust-lang/crates.io-index"
913
+ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
914
+ dependencies = [
915
+ "proc-macro2",
916
+ "quote",
917
+ "syn 3.0.10",
918
+ ]
919
+
920
+ [[package]]
921
+ name = "tinyvec"
922
+ version = "1.13.3"
923
+ source = "registry+https://github.com/rust-lang/crates.io-index"
924
+ checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
925
+
926
+ [[package]]
927
+ name = "typenum"
928
+ version = "1.20.1"
929
+ source = "registry+https://github.com/rust-lang/crates.io-index"
930
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
931
+
932
+ [[package]]
933
+ name = "unicode-bidi"
934
+ version = "0.3.18"
935
+ source = "registry+https://github.com/rust-lang/crates.io-index"
936
+ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
937
+
938
+ [[package]]
939
+ name = "unicode-ident"
940
+ version = "1.0.27"
941
+ source = "registry+https://github.com/rust-lang/crates.io-index"
942
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
943
+
944
+ [[package]]
945
+ name = "unicode-normalization"
946
+ version = "0.1.26"
947
+ source = "registry+https://github.com/rust-lang/crates.io-index"
948
+ checksum = "75cd3fb03d5288b3ba9a1ee103ac7e9cbb59f0b03d64f8ddfcc04dd42758a85d"
949
+ dependencies = [
950
+ "tinyvec",
951
+ ]
952
+
953
+ [[package]]
954
+ name = "unicode-properties"
955
+ version = "0.1.5"
956
+ source = "registry+https://github.com/rust-lang/crates.io-index"
957
+ checksum = "993ad287eb20e8ba755312801cfe1413e0f25d604075863acaddca10b04c1833"
958
+
959
+ [[package]]
960
+ name = "unicode-segmentation"
961
+ version = "1.13.3"
962
+ source = "registry+https://github.com/rust-lang/crates.io-index"
963
+ checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
964
+
965
+ [[package]]
966
+ name = "unicode-width"
967
+ version = "0.2.3"
968
+ source = "registry+https://github.com/rust-lang/crates.io-index"
969
+ checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557"
970
+
971
+ [[package]]
972
+ name = "utf8parse"
973
+ version = "0.2.2"
974
+ source = "registry+https://github.com/rust-lang/crates.io-index"
975
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
976
+
977
+ [[package]]
978
+ name = "weezl"
979
+ version = "0.2.1"
980
+ source = "registry+https://github.com/rust-lang/crates.io-index"
981
+ checksum = "d4ca08e5ef825b65b056d9efbd95c8750683f0a6d0466d02e96dc2e4e360f3d2"
982
+
983
+ [[package]]
984
+ name = "windows-link"
985
+ version = "0.2.1"
986
+ source = "registry+https://github.com/rust-lang/crates.io-index"
987
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
988
+
989
+ [[package]]
990
+ name = "windows-sys"
991
+ version = "0.61.2"
992
+ source = "registry+https://github.com/rust-lang/crates.io-index"
993
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
994
+ dependencies = [
995
+ "windows-link",
996
+ ]
997
+
998
+ [[package]]
999
+ name = "zlib-rs"
1000
+ version = "0.6.8"
1001
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1002
+ checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
1003
+
1004
+ [[package]]
1005
+ name = "zmij"
1006
+ version = "1.0.23"
1007
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1008
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"