hwarang 0.1.0-aarch64-linux

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8b8cea2ad9c35f1f98e16eb8f9915b16860ed6ac383bfeedb8108f29355cd39b
4
+ data.tar.gz: 51fa505634fd1fd663b819b6229d3d23bcca0fdb4173a5338b50fdbffe244b5b
5
+ SHA512:
6
+ metadata.gz: a5753a7db233f2b145a0102b3a1736e305ed8084d07bee5fe7e686daca7f863ee5565a9b0fc76961abe27421826fe8f2c42c668634dacb9abf3495a07825cb96
7
+ data.tar.gz: c640e4c4a058233fa81a0c3426ccc25fece14983463c0631211f36fd0d5136f77b976171b71d494cb6be8c2dcbf7cd884bd5e42c1362d947c2c62c0fb459986e
data/Cargo.lock ADDED
@@ -0,0 +1,1038 @@
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.8.4"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0"
16
+ dependencies = [
17
+ "cfg-if",
18
+ "cipher",
19
+ "cpufeatures",
20
+ ]
21
+
22
+ [[package]]
23
+ name = "aho-corasick"
24
+ version = "1.1.4"
25
+ source = "registry+https://github.com/rust-lang/crates.io-index"
26
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
27
+ dependencies = [
28
+ "memchr",
29
+ ]
30
+
31
+ [[package]]
32
+ name = "arbitrary"
33
+ version = "1.4.2"
34
+ source = "registry+https://github.com/rust-lang/crates.io-index"
35
+ checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
36
+ dependencies = [
37
+ "derive_arbitrary",
38
+ ]
39
+
40
+ [[package]]
41
+ name = "bindgen"
42
+ version = "0.69.5"
43
+ source = "registry+https://github.com/rust-lang/crates.io-index"
44
+ checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
45
+ dependencies = [
46
+ "bitflags",
47
+ "cexpr",
48
+ "clang-sys",
49
+ "itertools",
50
+ "lazy_static",
51
+ "lazycell",
52
+ "proc-macro2",
53
+ "quote",
54
+ "regex",
55
+ "rustc-hash",
56
+ "shlex",
57
+ "syn",
58
+ ]
59
+
60
+ [[package]]
61
+ name = "bitflags"
62
+ version = "2.11.0"
63
+ source = "registry+https://github.com/rust-lang/crates.io-index"
64
+ checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
65
+
66
+ [[package]]
67
+ name = "block-buffer"
68
+ version = "0.10.4"
69
+ source = "registry+https://github.com/rust-lang/crates.io-index"
70
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
71
+ dependencies = [
72
+ "generic-array",
73
+ ]
74
+
75
+ [[package]]
76
+ name = "block-padding"
77
+ version = "0.3.3"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93"
80
+ dependencies = [
81
+ "generic-array",
82
+ ]
83
+
84
+ [[package]]
85
+ name = "bumpalo"
86
+ version = "3.20.2"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
89
+
90
+ [[package]]
91
+ name = "byteorder"
92
+ version = "1.5.0"
93
+ source = "registry+https://github.com/rust-lang/crates.io-index"
94
+ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
95
+
96
+ [[package]]
97
+ name = "bzip2"
98
+ version = "0.5.2"
99
+ source = "registry+https://github.com/rust-lang/crates.io-index"
100
+ checksum = "49ecfb22d906f800d4fe833b6282cf4dc1c298f5057ca0b5445e5c209735ca47"
101
+ dependencies = [
102
+ "bzip2-sys",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "bzip2-sys"
107
+ version = "0.1.13+1.0.8"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14"
110
+ dependencies = [
111
+ "cc",
112
+ "pkg-config",
113
+ ]
114
+
115
+ [[package]]
116
+ name = "cc"
117
+ version = "1.2.56"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
120
+ dependencies = [
121
+ "find-msvc-tools",
122
+ "jobserver",
123
+ "libc",
124
+ "shlex",
125
+ ]
126
+
127
+ [[package]]
128
+ name = "cexpr"
129
+ version = "0.6.0"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
132
+ dependencies = [
133
+ "nom",
134
+ ]
135
+
136
+ [[package]]
137
+ name = "cfb"
138
+ version = "0.14.0"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "a347dcabdae9c31b0825fd6a8bed285ec9c2acb89c47827126d52fa4f59cece3"
141
+ dependencies = [
142
+ "fnv",
143
+ "uuid",
144
+ "web-time",
145
+ ]
146
+
147
+ [[package]]
148
+ name = "cfg-if"
149
+ version = "1.0.4"
150
+ source = "registry+https://github.com/rust-lang/crates.io-index"
151
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
152
+
153
+ [[package]]
154
+ name = "cipher"
155
+ version = "0.4.4"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
158
+ dependencies = [
159
+ "crypto-common",
160
+ "inout",
161
+ ]
162
+
163
+ [[package]]
164
+ name = "clang-sys"
165
+ version = "1.8.1"
166
+ source = "registry+https://github.com/rust-lang/crates.io-index"
167
+ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
168
+ dependencies = [
169
+ "glob",
170
+ "libc",
171
+ "libloading",
172
+ ]
173
+
174
+ [[package]]
175
+ name = "constant_time_eq"
176
+ version = "0.3.1"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
179
+
180
+ [[package]]
181
+ name = "cpufeatures"
182
+ version = "0.2.17"
183
+ source = "registry+https://github.com/rust-lang/crates.io-index"
184
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
185
+ dependencies = [
186
+ "libc",
187
+ ]
188
+
189
+ [[package]]
190
+ name = "crc"
191
+ version = "3.4.0"
192
+ source = "registry+https://github.com/rust-lang/crates.io-index"
193
+ checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d"
194
+ dependencies = [
195
+ "crc-catalog",
196
+ ]
197
+
198
+ [[package]]
199
+ name = "crc-catalog"
200
+ version = "2.4.0"
201
+ source = "registry+https://github.com/rust-lang/crates.io-index"
202
+ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
203
+
204
+ [[package]]
205
+ name = "crc32fast"
206
+ version = "1.5.0"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
209
+ dependencies = [
210
+ "cfg-if",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "crossbeam-deque"
215
+ version = "0.8.6"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
218
+ dependencies = [
219
+ "crossbeam-epoch",
220
+ "crossbeam-utils",
221
+ ]
222
+
223
+ [[package]]
224
+ name = "crossbeam-epoch"
225
+ version = "0.9.18"
226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
228
+ dependencies = [
229
+ "crossbeam-utils",
230
+ ]
231
+
232
+ [[package]]
233
+ name = "crossbeam-utils"
234
+ version = "0.8.21"
235
+ source = "registry+https://github.com/rust-lang/crates.io-index"
236
+ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
237
+
238
+ [[package]]
239
+ name = "crypto-common"
240
+ version = "0.1.7"
241
+ source = "registry+https://github.com/rust-lang/crates.io-index"
242
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
243
+ dependencies = [
244
+ "generic-array",
245
+ "typenum",
246
+ ]
247
+
248
+ [[package]]
249
+ name = "deflate64"
250
+ version = "0.1.10"
251
+ source = "registry+https://github.com/rust-lang/crates.io-index"
252
+ checksum = "26bf8fc351c5ed29b5c2f0cbbac1b209b74f60ecd62e675a998df72c49af5204"
253
+
254
+ [[package]]
255
+ name = "deranged"
256
+ version = "0.5.8"
257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
258
+ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
259
+ dependencies = [
260
+ "powerfmt",
261
+ ]
262
+
263
+ [[package]]
264
+ name = "derive_arbitrary"
265
+ version = "1.4.2"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
268
+ dependencies = [
269
+ "proc-macro2",
270
+ "quote",
271
+ "syn",
272
+ ]
273
+
274
+ [[package]]
275
+ name = "digest"
276
+ version = "0.10.7"
277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
278
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
279
+ dependencies = [
280
+ "block-buffer",
281
+ "crypto-common",
282
+ "subtle",
283
+ ]
284
+
285
+ [[package]]
286
+ name = "displaydoc"
287
+ version = "0.2.5"
288
+ source = "registry+https://github.com/rust-lang/crates.io-index"
289
+ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
290
+ dependencies = [
291
+ "proc-macro2",
292
+ "quote",
293
+ "syn",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "ecb"
298
+ version = "0.1.2"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "1a8bfa975b1aec2145850fcaa1c6fe269a16578c44705a532ae3edc92b8881c7"
301
+ dependencies = [
302
+ "cipher",
303
+ ]
304
+
305
+ [[package]]
306
+ name = "either"
307
+ version = "1.15.0"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
310
+
311
+ [[package]]
312
+ name = "equivalent"
313
+ version = "1.0.2"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
316
+
317
+ [[package]]
318
+ name = "find-msvc-tools"
319
+ version = "0.1.9"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
322
+
323
+ [[package]]
324
+ name = "flate2"
325
+ version = "1.1.9"
326
+ source = "registry+https://github.com/rust-lang/crates.io-index"
327
+ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
328
+ dependencies = [
329
+ "crc32fast",
330
+ "miniz_oxide",
331
+ ]
332
+
333
+ [[package]]
334
+ name = "fnv"
335
+ version = "1.0.7"
336
+ source = "registry+https://github.com/rust-lang/crates.io-index"
337
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
338
+
339
+ [[package]]
340
+ name = "generic-array"
341
+ version = "0.14.7"
342
+ source = "registry+https://github.com/rust-lang/crates.io-index"
343
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
344
+ dependencies = [
345
+ "typenum",
346
+ "version_check",
347
+ ]
348
+
349
+ [[package]]
350
+ name = "getrandom"
351
+ version = "0.3.4"
352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
353
+ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
354
+ dependencies = [
355
+ "cfg-if",
356
+ "js-sys",
357
+ "libc",
358
+ "r-efi",
359
+ "wasip2",
360
+ "wasm-bindgen",
361
+ ]
362
+
363
+ [[package]]
364
+ name = "glob"
365
+ version = "0.3.3"
366
+ source = "registry+https://github.com/rust-lang/crates.io-index"
367
+ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
368
+
369
+ [[package]]
370
+ name = "hashbrown"
371
+ version = "0.16.1"
372
+ source = "registry+https://github.com/rust-lang/crates.io-index"
373
+ checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
374
+
375
+ [[package]]
376
+ name = "hmac"
377
+ version = "0.12.1"
378
+ source = "registry+https://github.com/rust-lang/crates.io-index"
379
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
380
+ dependencies = [
381
+ "digest",
382
+ ]
383
+
384
+ [[package]]
385
+ name = "hwarang"
386
+ version = "0.1.0"
387
+ source = "registry+https://github.com/rust-lang/crates.io-index"
388
+ checksum = "f565e80fc779e595b349c69f3f7c0fc610721d333609fa451b57db8d164526e1"
389
+ dependencies = [
390
+ "aes",
391
+ "byteorder",
392
+ "cfb",
393
+ "ecb",
394
+ "flate2",
395
+ "quick-xml",
396
+ "thiserror",
397
+ "zip",
398
+ ]
399
+
400
+ [[package]]
401
+ name = "hwarang-ruby"
402
+ version = "0.1.0"
403
+ dependencies = [
404
+ "hwarang",
405
+ "magnus",
406
+ "rayon",
407
+ ]
408
+
409
+ [[package]]
410
+ name = "indexmap"
411
+ version = "2.13.0"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
414
+ dependencies = [
415
+ "equivalent",
416
+ "hashbrown",
417
+ ]
418
+
419
+ [[package]]
420
+ name = "inout"
421
+ version = "0.1.4"
422
+ source = "registry+https://github.com/rust-lang/crates.io-index"
423
+ checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
424
+ dependencies = [
425
+ "block-padding",
426
+ "generic-array",
427
+ ]
428
+
429
+ [[package]]
430
+ name = "itertools"
431
+ version = "0.12.1"
432
+ source = "registry+https://github.com/rust-lang/crates.io-index"
433
+ checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
434
+ dependencies = [
435
+ "either",
436
+ ]
437
+
438
+ [[package]]
439
+ name = "jobserver"
440
+ version = "0.1.34"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
443
+ dependencies = [
444
+ "getrandom",
445
+ "libc",
446
+ ]
447
+
448
+ [[package]]
449
+ name = "js-sys"
450
+ version = "0.3.88"
451
+ source = "registry+https://github.com/rust-lang/crates.io-index"
452
+ checksum = "c7e709f3e3d22866f9c25b3aff01af289b18422cc8b4262fb19103ee80fe513d"
453
+ dependencies = [
454
+ "once_cell",
455
+ "wasm-bindgen",
456
+ ]
457
+
458
+ [[package]]
459
+ name = "lazy_static"
460
+ version = "1.5.0"
461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
462
+ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
463
+
464
+ [[package]]
465
+ name = "lazycell"
466
+ version = "1.3.0"
467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
468
+ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
469
+
470
+ [[package]]
471
+ name = "libc"
472
+ version = "0.2.182"
473
+ source = "registry+https://github.com/rust-lang/crates.io-index"
474
+ checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
475
+
476
+ [[package]]
477
+ name = "libloading"
478
+ version = "0.8.9"
479
+ source = "registry+https://github.com/rust-lang/crates.io-index"
480
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
481
+ dependencies = [
482
+ "cfg-if",
483
+ "windows-link",
484
+ ]
485
+
486
+ [[package]]
487
+ name = "log"
488
+ version = "0.4.29"
489
+ source = "registry+https://github.com/rust-lang/crates.io-index"
490
+ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
491
+
492
+ [[package]]
493
+ name = "lzma-rs"
494
+ version = "0.3.0"
495
+ source = "registry+https://github.com/rust-lang/crates.io-index"
496
+ checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
497
+ dependencies = [
498
+ "byteorder",
499
+ "crc",
500
+ ]
501
+
502
+ [[package]]
503
+ name = "lzma-sys"
504
+ version = "0.1.20"
505
+ source = "registry+https://github.com/rust-lang/crates.io-index"
506
+ checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27"
507
+ dependencies = [
508
+ "cc",
509
+ "libc",
510
+ "pkg-config",
511
+ ]
512
+
513
+ [[package]]
514
+ name = "magnus"
515
+ version = "0.8.2"
516
+ source = "registry+https://github.com/rust-lang/crates.io-index"
517
+ checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
518
+ dependencies = [
519
+ "magnus-macros",
520
+ "rb-sys",
521
+ "rb-sys-env",
522
+ "seq-macro",
523
+ ]
524
+
525
+ [[package]]
526
+ name = "magnus-macros"
527
+ version = "0.8.0"
528
+ source = "registry+https://github.com/rust-lang/crates.io-index"
529
+ checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
530
+ dependencies = [
531
+ "proc-macro2",
532
+ "quote",
533
+ "syn",
534
+ ]
535
+
536
+ [[package]]
537
+ name = "memchr"
538
+ version = "2.8.0"
539
+ source = "registry+https://github.com/rust-lang/crates.io-index"
540
+ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
541
+
542
+ [[package]]
543
+ name = "minimal-lexical"
544
+ version = "0.2.1"
545
+ source = "registry+https://github.com/rust-lang/crates.io-index"
546
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
547
+
548
+ [[package]]
549
+ name = "miniz_oxide"
550
+ version = "0.8.9"
551
+ source = "registry+https://github.com/rust-lang/crates.io-index"
552
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
553
+ dependencies = [
554
+ "adler2",
555
+ "simd-adler32",
556
+ ]
557
+
558
+ [[package]]
559
+ name = "nom"
560
+ version = "7.1.3"
561
+ source = "registry+https://github.com/rust-lang/crates.io-index"
562
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
563
+ dependencies = [
564
+ "memchr",
565
+ "minimal-lexical",
566
+ ]
567
+
568
+ [[package]]
569
+ name = "num-conv"
570
+ version = "0.2.0"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "cf97ec579c3c42f953ef76dbf8d55ac91fb219dde70e49aa4a6b7d74e9919050"
573
+
574
+ [[package]]
575
+ name = "once_cell"
576
+ version = "1.21.3"
577
+ source = "registry+https://github.com/rust-lang/crates.io-index"
578
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
579
+
580
+ [[package]]
581
+ name = "pbkdf2"
582
+ version = "0.12.2"
583
+ source = "registry+https://github.com/rust-lang/crates.io-index"
584
+ checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
585
+ dependencies = [
586
+ "digest",
587
+ "hmac",
588
+ ]
589
+
590
+ [[package]]
591
+ name = "pkg-config"
592
+ version = "0.3.32"
593
+ source = "registry+https://github.com/rust-lang/crates.io-index"
594
+ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
595
+
596
+ [[package]]
597
+ name = "powerfmt"
598
+ version = "0.2.0"
599
+ source = "registry+https://github.com/rust-lang/crates.io-index"
600
+ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
601
+
602
+ [[package]]
603
+ name = "proc-macro2"
604
+ version = "1.0.106"
605
+ source = "registry+https://github.com/rust-lang/crates.io-index"
606
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
607
+ dependencies = [
608
+ "unicode-ident",
609
+ ]
610
+
611
+ [[package]]
612
+ name = "quick-xml"
613
+ version = "0.37.5"
614
+ source = "registry+https://github.com/rust-lang/crates.io-index"
615
+ checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb"
616
+ dependencies = [
617
+ "memchr",
618
+ ]
619
+
620
+ [[package]]
621
+ name = "quote"
622
+ version = "1.0.44"
623
+ source = "registry+https://github.com/rust-lang/crates.io-index"
624
+ checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
625
+ dependencies = [
626
+ "proc-macro2",
627
+ ]
628
+
629
+ [[package]]
630
+ name = "r-efi"
631
+ version = "5.3.0"
632
+ source = "registry+https://github.com/rust-lang/crates.io-index"
633
+ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
634
+
635
+ [[package]]
636
+ name = "rayon"
637
+ version = "1.11.0"
638
+ source = "registry+https://github.com/rust-lang/crates.io-index"
639
+ checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f"
640
+ dependencies = [
641
+ "either",
642
+ "rayon-core",
643
+ ]
644
+
645
+ [[package]]
646
+ name = "rayon-core"
647
+ version = "1.13.0"
648
+ source = "registry+https://github.com/rust-lang/crates.io-index"
649
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
650
+ dependencies = [
651
+ "crossbeam-deque",
652
+ "crossbeam-utils",
653
+ ]
654
+
655
+ [[package]]
656
+ name = "rb-sys"
657
+ version = "0.9.124"
658
+ source = "registry+https://github.com/rust-lang/crates.io-index"
659
+ checksum = "c85c4188462601e2aa1469def389c17228566f82ea72f137ed096f21591bc489"
660
+ dependencies = [
661
+ "rb-sys-build",
662
+ ]
663
+
664
+ [[package]]
665
+ name = "rb-sys-build"
666
+ version = "0.9.124"
667
+ source = "registry+https://github.com/rust-lang/crates.io-index"
668
+ checksum = "568068db4102230882e6d4ae8de6632e224ca75fe5970f6e026a04e91ed635d3"
669
+ dependencies = [
670
+ "bindgen",
671
+ "lazy_static",
672
+ "proc-macro2",
673
+ "quote",
674
+ "regex",
675
+ "shell-words",
676
+ "syn",
677
+ ]
678
+
679
+ [[package]]
680
+ name = "rb-sys-env"
681
+ version = "0.2.3"
682
+ source = "registry+https://github.com/rust-lang/crates.io-index"
683
+ checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
684
+
685
+ [[package]]
686
+ name = "regex"
687
+ version = "1.12.3"
688
+ source = "registry+https://github.com/rust-lang/crates.io-index"
689
+ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
690
+ dependencies = [
691
+ "aho-corasick",
692
+ "memchr",
693
+ "regex-automata",
694
+ "regex-syntax",
695
+ ]
696
+
697
+ [[package]]
698
+ name = "regex-automata"
699
+ version = "0.4.14"
700
+ source = "registry+https://github.com/rust-lang/crates.io-index"
701
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
702
+ dependencies = [
703
+ "aho-corasick",
704
+ "memchr",
705
+ "regex-syntax",
706
+ ]
707
+
708
+ [[package]]
709
+ name = "regex-syntax"
710
+ version = "0.8.9"
711
+ source = "registry+https://github.com/rust-lang/crates.io-index"
712
+ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c"
713
+
714
+ [[package]]
715
+ name = "rustc-hash"
716
+ version = "1.1.0"
717
+ source = "registry+https://github.com/rust-lang/crates.io-index"
718
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
719
+
720
+ [[package]]
721
+ name = "rustversion"
722
+ version = "1.0.22"
723
+ source = "registry+https://github.com/rust-lang/crates.io-index"
724
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
725
+
726
+ [[package]]
727
+ name = "seq-macro"
728
+ version = "0.3.6"
729
+ source = "registry+https://github.com/rust-lang/crates.io-index"
730
+ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
731
+
732
+ [[package]]
733
+ name = "serde_core"
734
+ version = "1.0.228"
735
+ source = "registry+https://github.com/rust-lang/crates.io-index"
736
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
737
+ dependencies = [
738
+ "serde_derive",
739
+ ]
740
+
741
+ [[package]]
742
+ name = "serde_derive"
743
+ version = "1.0.228"
744
+ source = "registry+https://github.com/rust-lang/crates.io-index"
745
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
746
+ dependencies = [
747
+ "proc-macro2",
748
+ "quote",
749
+ "syn",
750
+ ]
751
+
752
+ [[package]]
753
+ name = "sha1"
754
+ version = "0.10.6"
755
+ source = "registry+https://github.com/rust-lang/crates.io-index"
756
+ checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
757
+ dependencies = [
758
+ "cfg-if",
759
+ "cpufeatures",
760
+ "digest",
761
+ ]
762
+
763
+ [[package]]
764
+ name = "shell-words"
765
+ version = "1.1.1"
766
+ source = "registry+https://github.com/rust-lang/crates.io-index"
767
+ checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
768
+
769
+ [[package]]
770
+ name = "shlex"
771
+ version = "1.3.0"
772
+ source = "registry+https://github.com/rust-lang/crates.io-index"
773
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
774
+
775
+ [[package]]
776
+ name = "simd-adler32"
777
+ version = "0.3.8"
778
+ source = "registry+https://github.com/rust-lang/crates.io-index"
779
+ checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
780
+
781
+ [[package]]
782
+ name = "subtle"
783
+ version = "2.6.1"
784
+ source = "registry+https://github.com/rust-lang/crates.io-index"
785
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
786
+
787
+ [[package]]
788
+ name = "syn"
789
+ version = "2.0.117"
790
+ source = "registry+https://github.com/rust-lang/crates.io-index"
791
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
792
+ dependencies = [
793
+ "proc-macro2",
794
+ "quote",
795
+ "unicode-ident",
796
+ ]
797
+
798
+ [[package]]
799
+ name = "thiserror"
800
+ version = "2.0.18"
801
+ source = "registry+https://github.com/rust-lang/crates.io-index"
802
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
803
+ dependencies = [
804
+ "thiserror-impl",
805
+ ]
806
+
807
+ [[package]]
808
+ name = "thiserror-impl"
809
+ version = "2.0.18"
810
+ source = "registry+https://github.com/rust-lang/crates.io-index"
811
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
812
+ dependencies = [
813
+ "proc-macro2",
814
+ "quote",
815
+ "syn",
816
+ ]
817
+
818
+ [[package]]
819
+ name = "time"
820
+ version = "0.3.47"
821
+ source = "registry+https://github.com/rust-lang/crates.io-index"
822
+ checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
823
+ dependencies = [
824
+ "deranged",
825
+ "num-conv",
826
+ "powerfmt",
827
+ "serde_core",
828
+ "time-core",
829
+ ]
830
+
831
+ [[package]]
832
+ name = "time-core"
833
+ version = "0.1.8"
834
+ source = "registry+https://github.com/rust-lang/crates.io-index"
835
+ checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca"
836
+
837
+ [[package]]
838
+ name = "typenum"
839
+ version = "1.19.0"
840
+ source = "registry+https://github.com/rust-lang/crates.io-index"
841
+ checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
842
+
843
+ [[package]]
844
+ name = "unicode-ident"
845
+ version = "1.0.24"
846
+ source = "registry+https://github.com/rust-lang/crates.io-index"
847
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
848
+
849
+ [[package]]
850
+ name = "uuid"
851
+ version = "1.21.0"
852
+ source = "registry+https://github.com/rust-lang/crates.io-index"
853
+ checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb"
854
+ dependencies = [
855
+ "js-sys",
856
+ "wasm-bindgen",
857
+ ]
858
+
859
+ [[package]]
860
+ name = "version_check"
861
+ version = "0.9.5"
862
+ source = "registry+https://github.com/rust-lang/crates.io-index"
863
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
864
+
865
+ [[package]]
866
+ name = "wasip2"
867
+ version = "1.0.2+wasi-0.2.9"
868
+ source = "registry+https://github.com/rust-lang/crates.io-index"
869
+ checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
870
+ dependencies = [
871
+ "wit-bindgen",
872
+ ]
873
+
874
+ [[package]]
875
+ name = "wasm-bindgen"
876
+ version = "0.2.111"
877
+ source = "registry+https://github.com/rust-lang/crates.io-index"
878
+ checksum = "ec1adf1535672f5b7824f817792b1afd731d7e843d2d04ec8f27e8cb51edd8ac"
879
+ dependencies = [
880
+ "cfg-if",
881
+ "once_cell",
882
+ "rustversion",
883
+ "wasm-bindgen-macro",
884
+ "wasm-bindgen-shared",
885
+ ]
886
+
887
+ [[package]]
888
+ name = "wasm-bindgen-macro"
889
+ version = "0.2.111"
890
+ source = "registry+https://github.com/rust-lang/crates.io-index"
891
+ checksum = "19e638317c08b21663aed4d2b9a2091450548954695ff4efa75bff5fa546b3b1"
892
+ dependencies = [
893
+ "quote",
894
+ "wasm-bindgen-macro-support",
895
+ ]
896
+
897
+ [[package]]
898
+ name = "wasm-bindgen-macro-support"
899
+ version = "0.2.111"
900
+ source = "registry+https://github.com/rust-lang/crates.io-index"
901
+ checksum = "2c64760850114d03d5f65457e96fc988f11f01d38fbaa51b254e4ab5809102af"
902
+ dependencies = [
903
+ "bumpalo",
904
+ "proc-macro2",
905
+ "quote",
906
+ "syn",
907
+ "wasm-bindgen-shared",
908
+ ]
909
+
910
+ [[package]]
911
+ name = "wasm-bindgen-shared"
912
+ version = "0.2.111"
913
+ source = "registry+https://github.com/rust-lang/crates.io-index"
914
+ checksum = "60eecd4fe26177cfa3339eb00b4a36445889ba3ad37080c2429879718e20ca41"
915
+ dependencies = [
916
+ "unicode-ident",
917
+ ]
918
+
919
+ [[package]]
920
+ name = "web-time"
921
+ version = "1.1.0"
922
+ source = "registry+https://github.com/rust-lang/crates.io-index"
923
+ checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
924
+ dependencies = [
925
+ "js-sys",
926
+ "wasm-bindgen",
927
+ ]
928
+
929
+ [[package]]
930
+ name = "windows-link"
931
+ version = "0.2.1"
932
+ source = "registry+https://github.com/rust-lang/crates.io-index"
933
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
934
+
935
+ [[package]]
936
+ name = "wit-bindgen"
937
+ version = "0.51.0"
938
+ source = "registry+https://github.com/rust-lang/crates.io-index"
939
+ checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
940
+
941
+ [[package]]
942
+ name = "xz2"
943
+ version = "0.1.7"
944
+ source = "registry+https://github.com/rust-lang/crates.io-index"
945
+ checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2"
946
+ dependencies = [
947
+ "lzma-sys",
948
+ ]
949
+
950
+ [[package]]
951
+ name = "zeroize"
952
+ version = "1.8.2"
953
+ source = "registry+https://github.com/rust-lang/crates.io-index"
954
+ checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
955
+ dependencies = [
956
+ "zeroize_derive",
957
+ ]
958
+
959
+ [[package]]
960
+ name = "zeroize_derive"
961
+ version = "1.4.3"
962
+ source = "registry+https://github.com/rust-lang/crates.io-index"
963
+ checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e"
964
+ dependencies = [
965
+ "proc-macro2",
966
+ "quote",
967
+ "syn",
968
+ ]
969
+
970
+ [[package]]
971
+ name = "zip"
972
+ version = "2.4.2"
973
+ source = "registry+https://github.com/rust-lang/crates.io-index"
974
+ checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50"
975
+ dependencies = [
976
+ "aes",
977
+ "arbitrary",
978
+ "bzip2",
979
+ "constant_time_eq",
980
+ "crc32fast",
981
+ "crossbeam-utils",
982
+ "deflate64",
983
+ "displaydoc",
984
+ "flate2",
985
+ "getrandom",
986
+ "hmac",
987
+ "indexmap",
988
+ "lzma-rs",
989
+ "memchr",
990
+ "pbkdf2",
991
+ "sha1",
992
+ "thiserror",
993
+ "time",
994
+ "xz2",
995
+ "zeroize",
996
+ "zopfli",
997
+ "zstd",
998
+ ]
999
+
1000
+ [[package]]
1001
+ name = "zopfli"
1002
+ version = "0.8.3"
1003
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1004
+ checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249"
1005
+ dependencies = [
1006
+ "bumpalo",
1007
+ "crc32fast",
1008
+ "log",
1009
+ "simd-adler32",
1010
+ ]
1011
+
1012
+ [[package]]
1013
+ name = "zstd"
1014
+ version = "0.13.3"
1015
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1016
+ checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
1017
+ dependencies = [
1018
+ "zstd-safe",
1019
+ ]
1020
+
1021
+ [[package]]
1022
+ name = "zstd-safe"
1023
+ version = "7.2.4"
1024
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1025
+ checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
1026
+ dependencies = [
1027
+ "zstd-sys",
1028
+ ]
1029
+
1030
+ [[package]]
1031
+ name = "zstd-sys"
1032
+ version = "2.0.16+zstd.1.5.7"
1033
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1034
+ checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748"
1035
+ dependencies = [
1036
+ "cc",
1037
+ "pkg-config",
1038
+ ]
data/Cargo.toml ADDED
@@ -0,0 +1,6 @@
1
+ [workspace]
2
+ members = ["ext/hwarang"]
3
+ resolver = "2"
4
+
5
+ [profile.release]
6
+ strip = true
data/README.md ADDED
@@ -0,0 +1,115 @@
1
+ # hwarang
2
+
3
+ HWP/HWPX 문서에서 텍스트를 빠르게 추출하는 Ruby gem입니다.
4
+
5
+ Rust로 작성된 [hwarang](https://crates.io/crates/hwarang) 크레이트의 Ruby 바인딩입니다.
6
+
7
+ ## 지원 포맷
8
+
9
+ - **HWP** (OLE 바이너리) - 한/글 5.x 이상
10
+ - **HWPX** (ZIP/XML) - 한/글 최신 XML 기반 포맷
11
+ - **HWPML** (순수 XML)
12
+
13
+ ## 주요 기능
14
+
15
+ - 매직 바이트 기반 포맷 자동 감지
16
+ - 압축/비압축 스트림 모두 지원
17
+ - 배포문서 복호화 (AES/ECB)
18
+ - 표를 마크다운 테이블로 변환
19
+ - 머리글/꼬리글, 각주/미주, 글상자, 숨은설명 추출
20
+ - rayon 기반 병렬 배치 처리
21
+
22
+ ## 설치
23
+
24
+ ```ruby
25
+ gem install hwarang
26
+ ```
27
+
28
+ 또는 Gemfile에 추가:
29
+
30
+ ```ruby
31
+ gem "hwarang"
32
+ ```
33
+
34
+ 주요 플랫폼(x86_64-linux, aarch64-linux, arm64-darwin)에는 프리컴파일된 네이티브 gem이 제공됩니다. 그 외 플랫폼에서는 소스 gem이 설치되며 Rust 툴체인이 필요합니다.
35
+
36
+ ## 사용법
37
+
38
+ ### 텍스트 추출
39
+
40
+ ```ruby
41
+ require "hwarang"
42
+
43
+ text = Hwarang.extract_text("document.hwp")
44
+ puts text
45
+ ```
46
+
47
+ ### OLE 스트림 목록
48
+
49
+ ```ruby
50
+ streams = Hwarang.list_streams("document.hwp")
51
+ # => ["/FileHeader", "/BodyText/Section0", ...]
52
+ ```
53
+
54
+ ### 배치 처리
55
+
56
+ 여러 파일을 병렬로 처리합니다:
57
+
58
+ ```ruby
59
+ paths = Dir.glob("documents/**/*.hwp")
60
+ results = Hwarang.extract_batch(paths)
61
+
62
+ results.each do |path, result|
63
+ if result.key?("text")
64
+ puts "#{path}: #{result["text"].length} chars"
65
+ else
66
+ puts "#{path}: ERROR - #{result["error"]}"
67
+ end
68
+ end
69
+ ```
70
+
71
+ ## 에러 처리
72
+
73
+ 모든 예외는 `Hwarang::Error`를 상속합니다:
74
+
75
+ ```ruby
76
+ begin
77
+ Hwarang.extract_text("file.hwp")
78
+ rescue Hwarang::PasswordProtectedError
79
+ puts "암호가 걸린 문서입니다"
80
+ rescue Hwarang::FileError => e
81
+ puts "파일 오류: #{e.message}"
82
+ rescue Hwarang::Error => e
83
+ puts "처리 오류: #{e.message}"
84
+ end
85
+ ```
86
+
87
+ | 예외 클래스 | 설명 |
88
+ |-------------|------|
89
+ | `Hwarang::Error` | 기본 예외 클래스 |
90
+ | `Hwarang::FileError` | 파일 I/O 오류 |
91
+ | `Hwarang::InvalidSignatureError` | HWP 파일 시그니처 불일치 |
92
+ | `Hwarang::UnsupportedVersionError` | 지원하지 않는 HWP 버전 |
93
+ | `Hwarang::PasswordProtectedError` | 암호 보호된 문서 |
94
+ | `Hwarang::StreamNotFoundError` | OLE 스트림 없음 |
95
+ | `Hwarang::InvalidRecordHeaderError` | 레코드 헤더 파싱 실패 |
96
+ | `Hwarang::DecompressFailedError` | 스트림 압축 해제 실패 |
97
+ | `Hwarang::DecryptFailedError` | 복호화 실패 |
98
+ | `Hwarang::ParseError` | 일반 파싱 오류 |
99
+ | `Hwarang::UnsupportedFormatError` | 지원하지 않는 파일 형식 |
100
+ | `Hwarang::HwpxError` | HWPX 처리 오류 |
101
+
102
+ ## 벤치마크
103
+
104
+ | 항목 | 결과 |
105
+ |------|------|
106
+ | 파일 수 | 49,353개 (HWP/HWPX) |
107
+ | 총 용량 | 1.0 GB |
108
+ | 소요 시간 | 43.27초 |
109
+ | 처리 속도 | 1,140 files/s |
110
+ | 성공률 | 99.94% (49,321/49,353) |
111
+ | 환경 | Apple M1, 16GB RAM, 8코어, Ruby 4.0 |
112
+
113
+ ## License
114
+
115
+ MIT
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ module Hwarang
2
+ VERSION = "0.1.0"
3
+ end
data/lib/hwarang.rb ADDED
@@ -0,0 +1,7 @@
1
+ require_relative "hwarang/version"
2
+
3
+ begin
4
+ require "hwarang/#{RUBY_VERSION.to_f}/hwarang"
5
+ rescue LoadError
6
+ require "hwarang/hwarang"
7
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hwarang
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: aarch64-linux
6
+ authors:
7
+ - Lee Wonsup
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-02-24 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Ruby bindings for the hwarang Rust library. Extracts text from HWP and
14
+ HWPX documents.
15
+ email: onesup.lee@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Cargo.lock
21
+ - Cargo.toml
22
+ - README.md
23
+ - lib/hwarang.rb
24
+ - lib/hwarang/3.1/hwarang.so
25
+ - lib/hwarang/3.2/hwarang.so
26
+ - lib/hwarang/3.3/hwarang.so
27
+ - lib/hwarang/3.4/hwarang.so
28
+ - lib/hwarang/version.rb
29
+ homepage: https://github.com/teammilestone/hwarang-ruby
30
+ licenses:
31
+ - MIT
32
+ metadata: {}
33
+ post_install_message:
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '3.1'
42
+ - - "<"
43
+ - !ruby/object:Gem::Version
44
+ version: 3.5.dev
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 3.5.23
52
+ signing_key:
53
+ specification_version: 4
54
+ summary: Fast HWP/HWPX document text extractor
55
+ test_files: []