headson 0.2.4__tar.gz → 0.2.5__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.
Potentially problematic release.
This version of headson might be problematic. Click here for more details.
- {headson-0.2.4 → headson-0.2.5}/Cargo.lock +30 -218
- {headson-0.2.4 → headson-0.2.5}/Cargo.toml +7 -5
- {headson-0.2.4 → headson-0.2.5}/PKG-INFO +1 -1
- {headson-0.2.4 → headson-0.2.5}/pyproject.toml +1 -1
- {headson-0.2.4 → headson-0.2.5}/python/Cargo.lock +35 -227
- {headson-0.2.4 → headson-0.2.5}/python/Cargo.toml +2 -2
- {headson-0.2.4 → headson-0.2.5}/python/src/lib.rs +1 -1
- {headson-0.2.4 → headson-0.2.5}/JSONTestSuite/LICENSE +0 -0
- {headson-0.2.4 → headson-0.2.5}/JSONTestSuite/README.md +0 -0
- {headson-0.2.4 → headson-0.2.5}/LICENSE +0 -0
- {headson-0.2.4 → headson-0.2.5}/README.md +0 -0
- {headson-0.2.4 → headson-0.2.5}/python/README.md +0 -0
- {headson-0.2.4 → headson-0.2.5}/python/headson/__init__.py +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/json_ingest/builder.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/json_ingest/mod.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/lib.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/main.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/build.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/mod.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/scoring.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/snapshots/headson__order__build__tests__order_empty_array_order.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/snapshots/headson__order__build__tests__order_single_string_array_order.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/order/types.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/mod.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/snapshots/headson__serialization__tests__arena_render_empty.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/snapshots/headson__serialization__tests__arena_render_single.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/templates/core.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/templates/js.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/templates/json.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/templates/mod.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/templates/pseudo.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/serialization/types.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__order_empty_array_order.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__order_single_string_array_order.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__pq_empty_array_queue.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__pq_single_string_array_queue.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__queue__tests__pq_empty_array_queue.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__queue__tests__pq_single_string_array_queue.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__tree__tests__build_tree_empty.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__tree__tests__build_tree_single.snap +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/graph.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/json.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/mod.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/search.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/text.rs +0 -0
- {headson-0.2.4 → headson-0.2.5}/src/utils/tree_arena.rs +0 -0
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "ahash"
|
|
7
|
-
version = "0.8.12"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
|
|
10
|
-
dependencies = [
|
|
11
|
-
"cfg-if",
|
|
12
|
-
"once_cell",
|
|
13
|
-
"version_check",
|
|
14
|
-
"zerocopy",
|
|
15
|
-
]
|
|
16
|
-
|
|
17
5
|
[[package]]
|
|
18
6
|
name = "allocator-api2"
|
|
19
7
|
version = "0.2.21"
|
|
@@ -115,12 +103,6 @@ dependencies = [
|
|
|
115
103
|
"serde",
|
|
116
104
|
]
|
|
117
105
|
|
|
118
|
-
[[package]]
|
|
119
|
-
name = "bumpalo"
|
|
120
|
-
version = "3.19.0"
|
|
121
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
-
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
|
123
|
-
|
|
124
106
|
[[package]]
|
|
125
107
|
name = "cfg-if"
|
|
126
108
|
version = "1.0.4"
|
|
@@ -194,12 +176,6 @@ dependencies = [
|
|
|
194
176
|
"memchr",
|
|
195
177
|
]
|
|
196
178
|
|
|
197
|
-
[[package]]
|
|
198
|
-
name = "deunicode"
|
|
199
|
-
version = "1.6.2"
|
|
200
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
-
checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04"
|
|
202
|
-
|
|
203
179
|
[[package]]
|
|
204
180
|
name = "difflib"
|
|
205
181
|
version = "0.4.0"
|
|
@@ -218,6 +194,12 @@ version = "1.0.0"
|
|
|
218
194
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
219
195
|
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
|
|
220
196
|
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "equivalent"
|
|
199
|
+
version = "1.0.2"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
202
|
+
|
|
221
203
|
[[package]]
|
|
222
204
|
name = "errno"
|
|
223
205
|
version = "0.3.14"
|
|
@@ -228,16 +210,6 @@ dependencies = [
|
|
|
228
210
|
"windows-sys 0.60.2",
|
|
229
211
|
]
|
|
230
212
|
|
|
231
|
-
[[package]]
|
|
232
|
-
name = "fake"
|
|
233
|
-
version = "2.10.0"
|
|
234
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
-
checksum = "2d391ba4af7f1d93f01fcf7b2f29e2bc9348e109dfdbf4dcbdc51dfa38dab0b6"
|
|
236
|
-
dependencies = [
|
|
237
|
-
"deunicode",
|
|
238
|
-
"rand",
|
|
239
|
-
]
|
|
240
|
-
|
|
241
213
|
[[package]]
|
|
242
214
|
name = "fastrand"
|
|
243
215
|
version = "2.3.0"
|
|
@@ -246,25 +218,18 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
|
246
218
|
|
|
247
219
|
[[package]]
|
|
248
220
|
name = "float-cmp"
|
|
249
|
-
version = "0.
|
|
221
|
+
version = "0.10.0"
|
|
250
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
251
|
-
checksum = "
|
|
223
|
+
checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8"
|
|
252
224
|
dependencies = [
|
|
253
225
|
"num-traits",
|
|
254
226
|
]
|
|
255
227
|
|
|
256
228
|
[[package]]
|
|
257
|
-
name = "
|
|
258
|
-
version = "0.2.
|
|
229
|
+
name = "foldhash"
|
|
230
|
+
version = "0.2.0"
|
|
259
231
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
-
checksum = "
|
|
261
|
-
dependencies = [
|
|
262
|
-
"cfg-if",
|
|
263
|
-
"js-sys",
|
|
264
|
-
"libc",
|
|
265
|
-
"wasi",
|
|
266
|
-
"wasm-bindgen",
|
|
267
|
-
]
|
|
232
|
+
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
|
|
268
233
|
|
|
269
234
|
[[package]]
|
|
270
235
|
name = "getrandom"
|
|
@@ -280,9 +245,9 @@ dependencies = [
|
|
|
280
245
|
|
|
281
246
|
[[package]]
|
|
282
247
|
name = "halfbrown"
|
|
283
|
-
version = "0.
|
|
248
|
+
version = "0.4.0"
|
|
284
249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
-
checksum = "
|
|
250
|
+
checksum = "0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09"
|
|
286
251
|
dependencies = [
|
|
287
252
|
"hashbrown",
|
|
288
253
|
"serde",
|
|
@@ -290,23 +255,23 @@ dependencies = [
|
|
|
290
255
|
|
|
291
256
|
[[package]]
|
|
292
257
|
name = "hashbrown"
|
|
293
|
-
version = "0.
|
|
258
|
+
version = "0.16.0"
|
|
294
259
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
-
checksum = "
|
|
260
|
+
checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
|
|
296
261
|
dependencies = [
|
|
297
|
-
"ahash",
|
|
298
262
|
"allocator-api2",
|
|
263
|
+
"equivalent",
|
|
264
|
+
"foldhash",
|
|
299
265
|
]
|
|
300
266
|
|
|
301
267
|
[[package]]
|
|
302
268
|
name = "headson"
|
|
303
|
-
version = "0.2.
|
|
269
|
+
version = "0.2.5"
|
|
304
270
|
dependencies = [
|
|
305
271
|
"anyhow",
|
|
306
272
|
"assert_cmd",
|
|
307
273
|
"clap",
|
|
308
274
|
"content_inspector",
|
|
309
|
-
"fake",
|
|
310
275
|
"insta",
|
|
311
276
|
"rand",
|
|
312
277
|
"rand_chacha",
|
|
@@ -347,73 +312,6 @@ version = "1.0.15"
|
|
|
347
312
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
313
|
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
349
314
|
|
|
350
|
-
[[package]]
|
|
351
|
-
name = "js-sys"
|
|
352
|
-
version = "0.3.81"
|
|
353
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
-
checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
|
|
355
|
-
dependencies = [
|
|
356
|
-
"once_cell",
|
|
357
|
-
"wasm-bindgen",
|
|
358
|
-
]
|
|
359
|
-
|
|
360
|
-
[[package]]
|
|
361
|
-
name = "lexical-core"
|
|
362
|
-
version = "1.0.6"
|
|
363
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
364
|
-
checksum = "7d8d125a277f807e55a77304455eb7b1cb52f2b18c143b60e766c120bd64a594"
|
|
365
|
-
dependencies = [
|
|
366
|
-
"lexical-parse-float",
|
|
367
|
-
"lexical-parse-integer",
|
|
368
|
-
"lexical-util",
|
|
369
|
-
"lexical-write-float",
|
|
370
|
-
"lexical-write-integer",
|
|
371
|
-
]
|
|
372
|
-
|
|
373
|
-
[[package]]
|
|
374
|
-
name = "lexical-parse-float"
|
|
375
|
-
version = "1.0.6"
|
|
376
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
377
|
-
checksum = "52a9f232fbd6f550bc0137dcb5f99ab674071ac2d690ac69704593cb4abbea56"
|
|
378
|
-
dependencies = [
|
|
379
|
-
"lexical-parse-integer",
|
|
380
|
-
"lexical-util",
|
|
381
|
-
]
|
|
382
|
-
|
|
383
|
-
[[package]]
|
|
384
|
-
name = "lexical-parse-integer"
|
|
385
|
-
version = "1.0.6"
|
|
386
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
387
|
-
checksum = "9a7a039f8fb9c19c996cd7b2fcce303c1b2874fe1aca544edc85c4a5f8489b34"
|
|
388
|
-
dependencies = [
|
|
389
|
-
"lexical-util",
|
|
390
|
-
]
|
|
391
|
-
|
|
392
|
-
[[package]]
|
|
393
|
-
name = "lexical-util"
|
|
394
|
-
version = "1.0.7"
|
|
395
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
396
|
-
checksum = "2604dd126bb14f13fb5d1bd6a66155079cb9fa655b37f875b3a742c705dbed17"
|
|
397
|
-
|
|
398
|
-
[[package]]
|
|
399
|
-
name = "lexical-write-float"
|
|
400
|
-
version = "1.0.6"
|
|
401
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
-
checksum = "50c438c87c013188d415fbabbb1dceb44249ab81664efbd31b14ae55dabb6361"
|
|
403
|
-
dependencies = [
|
|
404
|
-
"lexical-util",
|
|
405
|
-
"lexical-write-integer",
|
|
406
|
-
]
|
|
407
|
-
|
|
408
|
-
[[package]]
|
|
409
|
-
name = "lexical-write-integer"
|
|
410
|
-
version = "1.0.6"
|
|
411
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
-
checksum = "409851a618475d2d5796377cad353802345cba92c867d9fbcde9cf4eac4e14df"
|
|
413
|
-
dependencies = [
|
|
414
|
-
"lexical-util",
|
|
415
|
-
]
|
|
416
|
-
|
|
417
315
|
[[package]]
|
|
418
316
|
name = "libc"
|
|
419
317
|
version = "0.2.177"
|
|
@@ -426,12 +324,6 @@ version = "0.11.0"
|
|
|
426
324
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
325
|
checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
|
|
428
326
|
|
|
429
|
-
[[package]]
|
|
430
|
-
name = "log"
|
|
431
|
-
version = "0.4.28"
|
|
432
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
-
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
|
434
|
-
|
|
435
327
|
[[package]]
|
|
436
328
|
name = "memchr"
|
|
437
329
|
version = "2.7.6"
|
|
@@ -521,20 +413,19 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
|
521
413
|
|
|
522
414
|
[[package]]
|
|
523
415
|
name = "rand"
|
|
524
|
-
version = "0.
|
|
416
|
+
version = "0.9.2"
|
|
525
417
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
526
|
-
checksum = "
|
|
418
|
+
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
|
|
527
419
|
dependencies = [
|
|
528
|
-
"libc",
|
|
529
420
|
"rand_chacha",
|
|
530
421
|
"rand_core",
|
|
531
422
|
]
|
|
532
423
|
|
|
533
424
|
[[package]]
|
|
534
425
|
name = "rand_chacha"
|
|
535
|
-
version = "0.
|
|
426
|
+
version = "0.9.0"
|
|
536
427
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
-
checksum = "
|
|
428
|
+
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
538
429
|
dependencies = [
|
|
539
430
|
"ppv-lite86",
|
|
540
431
|
"rand_core",
|
|
@@ -542,11 +433,11 @@ dependencies = [
|
|
|
542
433
|
|
|
543
434
|
[[package]]
|
|
544
435
|
name = "rand_core"
|
|
545
|
-
version = "0.
|
|
436
|
+
version = "0.9.3"
|
|
546
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
547
|
-
checksum = "
|
|
438
|
+
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
|
|
548
439
|
dependencies = [
|
|
549
|
-
"getrandom
|
|
440
|
+
"getrandom",
|
|
550
441
|
]
|
|
551
442
|
|
|
552
443
|
[[package]]
|
|
@@ -588,12 +479,6 @@ dependencies = [
|
|
|
588
479
|
"windows-sys 0.60.2",
|
|
589
480
|
]
|
|
590
481
|
|
|
591
|
-
[[package]]
|
|
592
|
-
name = "rustversion"
|
|
593
|
-
version = "1.0.22"
|
|
594
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
595
|
-
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
596
|
-
|
|
597
482
|
[[package]]
|
|
598
483
|
name = "ryu"
|
|
599
484
|
version = "1.0.20"
|
|
@@ -645,13 +530,11 @@ dependencies = [
|
|
|
645
530
|
|
|
646
531
|
[[package]]
|
|
647
532
|
name = "simd-json"
|
|
648
|
-
version = "0.
|
|
533
|
+
version = "0.17.0"
|
|
649
534
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
650
|
-
checksum = "
|
|
535
|
+
checksum = "4255126f310d2ba20048db6321c81ab376f6a6735608bf11f0785c41f01f64e3"
|
|
651
536
|
dependencies = [
|
|
652
|
-
"getrandom 0.2.16",
|
|
653
537
|
"halfbrown",
|
|
654
|
-
"lexical-core",
|
|
655
538
|
"ref-cast",
|
|
656
539
|
"serde",
|
|
657
540
|
"serde_json",
|
|
@@ -695,7 +578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
695
578
|
checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16"
|
|
696
579
|
dependencies = [
|
|
697
580
|
"fastrand",
|
|
698
|
-
"getrandom
|
|
581
|
+
"getrandom",
|
|
699
582
|
"once_cell",
|
|
700
583
|
"rustix",
|
|
701
584
|
"windows-sys 0.60.2",
|
|
@@ -739,9 +622,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
|
739
622
|
|
|
740
623
|
[[package]]
|
|
741
624
|
name = "value-trait"
|
|
742
|
-
version = "0.
|
|
625
|
+
version = "0.12.1"
|
|
743
626
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
744
|
-
checksum = "
|
|
627
|
+
checksum = "8e80f0c733af0720a501b3905d22e2f97662d8eacfe082a75ed7ffb5ab08cb59"
|
|
745
628
|
dependencies = [
|
|
746
629
|
"float-cmp",
|
|
747
630
|
"halfbrown",
|
|
@@ -749,12 +632,6 @@ dependencies = [
|
|
|
749
632
|
"ryu",
|
|
750
633
|
]
|
|
751
634
|
|
|
752
|
-
[[package]]
|
|
753
|
-
name = "version_check"
|
|
754
|
-
version = "0.9.5"
|
|
755
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
756
|
-
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
757
|
-
|
|
758
635
|
[[package]]
|
|
759
636
|
name = "wait-timeout"
|
|
760
637
|
version = "0.2.1"
|
|
@@ -764,12 +641,6 @@ dependencies = [
|
|
|
764
641
|
"libc",
|
|
765
642
|
]
|
|
766
643
|
|
|
767
|
-
[[package]]
|
|
768
|
-
name = "wasi"
|
|
769
|
-
version = "0.11.1+wasi-snapshot-preview1"
|
|
770
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
771
|
-
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
772
|
-
|
|
773
644
|
[[package]]
|
|
774
645
|
name = "wasip2"
|
|
775
646
|
version = "1.0.1+wasi-0.2.4"
|
|
@@ -779,65 +650,6 @@ dependencies = [
|
|
|
779
650
|
"wit-bindgen",
|
|
780
651
|
]
|
|
781
652
|
|
|
782
|
-
[[package]]
|
|
783
|
-
name = "wasm-bindgen"
|
|
784
|
-
version = "0.2.104"
|
|
785
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
786
|
-
checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
|
|
787
|
-
dependencies = [
|
|
788
|
-
"cfg-if",
|
|
789
|
-
"once_cell",
|
|
790
|
-
"rustversion",
|
|
791
|
-
"wasm-bindgen-macro",
|
|
792
|
-
"wasm-bindgen-shared",
|
|
793
|
-
]
|
|
794
|
-
|
|
795
|
-
[[package]]
|
|
796
|
-
name = "wasm-bindgen-backend"
|
|
797
|
-
version = "0.2.104"
|
|
798
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
799
|
-
checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
|
|
800
|
-
dependencies = [
|
|
801
|
-
"bumpalo",
|
|
802
|
-
"log",
|
|
803
|
-
"proc-macro2",
|
|
804
|
-
"quote",
|
|
805
|
-
"syn",
|
|
806
|
-
"wasm-bindgen-shared",
|
|
807
|
-
]
|
|
808
|
-
|
|
809
|
-
[[package]]
|
|
810
|
-
name = "wasm-bindgen-macro"
|
|
811
|
-
version = "0.2.104"
|
|
812
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
813
|
-
checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
|
|
814
|
-
dependencies = [
|
|
815
|
-
"quote",
|
|
816
|
-
"wasm-bindgen-macro-support",
|
|
817
|
-
]
|
|
818
|
-
|
|
819
|
-
[[package]]
|
|
820
|
-
name = "wasm-bindgen-macro-support"
|
|
821
|
-
version = "0.2.104"
|
|
822
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
823
|
-
checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
|
|
824
|
-
dependencies = [
|
|
825
|
-
"proc-macro2",
|
|
826
|
-
"quote",
|
|
827
|
-
"syn",
|
|
828
|
-
"wasm-bindgen-backend",
|
|
829
|
-
"wasm-bindgen-shared",
|
|
830
|
-
]
|
|
831
|
-
|
|
832
|
-
[[package]]
|
|
833
|
-
name = "wasm-bindgen-shared"
|
|
834
|
-
version = "0.2.104"
|
|
835
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
836
|
-
checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
|
|
837
|
-
dependencies = [
|
|
838
|
-
"unicode-ident",
|
|
839
|
-
]
|
|
840
|
-
|
|
841
653
|
[[package]]
|
|
842
654
|
name = "windows-link"
|
|
843
655
|
version = "0.2.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "headson"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.5"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
description = "Budget‑constrained JSON preview renderer"
|
|
6
6
|
readme = "README.md"
|
|
@@ -24,16 +24,15 @@ clap = { version = "4.5.49", features = ["derive"] }
|
|
|
24
24
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
25
25
|
serde_json = "1.0.145"
|
|
26
26
|
unicode-segmentation = "1.12.0"
|
|
27
|
-
simd-json = { version = "0.
|
|
27
|
+
simd-json = { version = "0.17", features = ["serde_impl"] }
|
|
28
28
|
content_inspector = "0.2"
|
|
29
29
|
|
|
30
30
|
[dev-dependencies]
|
|
31
31
|
insta = "1.40.0"
|
|
32
32
|
assert_cmd = "2"
|
|
33
33
|
test_each_file = "0.3"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
rand_chacha = "0.3"
|
|
34
|
+
rand = "0.9"
|
|
35
|
+
rand_chacha = "0.9"
|
|
37
36
|
tempfile = "3"
|
|
38
37
|
|
|
39
38
|
[profile.release]
|
|
@@ -94,3 +93,6 @@ implicit_hasher = "deny"
|
|
|
94
93
|
uninlined_format_args = "deny"
|
|
95
94
|
float_cmp = "deny"
|
|
96
95
|
float_cmp_const = "deny"
|
|
96
|
+
|
|
97
|
+
[lints.rust]
|
|
98
|
+
dead_code = "warn"
|
|
@@ -2,18 +2,6 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "ahash"
|
|
7
|
-
version = "0.8.12"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
|
|
10
|
-
dependencies = [
|
|
11
|
-
"cfg-if",
|
|
12
|
-
"once_cell",
|
|
13
|
-
"version_check",
|
|
14
|
-
"zerocopy",
|
|
15
|
-
]
|
|
16
|
-
|
|
17
5
|
[[package]]
|
|
18
6
|
name = "allocator-api2"
|
|
19
7
|
version = "0.2.21"
|
|
@@ -82,18 +70,6 @@ version = "1.5.0"
|
|
|
82
70
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
71
|
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
84
72
|
|
|
85
|
-
[[package]]
|
|
86
|
-
name = "bumpalo"
|
|
87
|
-
version = "3.19.0"
|
|
88
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
-
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
|
90
|
-
|
|
91
|
-
[[package]]
|
|
92
|
-
name = "cfg-if"
|
|
93
|
-
version = "1.0.4"
|
|
94
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
-
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
96
|
-
|
|
97
73
|
[[package]]
|
|
98
74
|
name = "clap"
|
|
99
75
|
version = "4.5.50"
|
|
@@ -149,33 +125,32 @@ dependencies = [
|
|
|
149
125
|
"memchr",
|
|
150
126
|
]
|
|
151
127
|
|
|
128
|
+
[[package]]
|
|
129
|
+
name = "equivalent"
|
|
130
|
+
version = "1.0.2"
|
|
131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
132
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
133
|
+
|
|
152
134
|
[[package]]
|
|
153
135
|
name = "float-cmp"
|
|
154
|
-
version = "0.
|
|
136
|
+
version = "0.10.0"
|
|
155
137
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
-
checksum = "
|
|
138
|
+
checksum = "b09cf3155332e944990140d967ff5eceb70df778b34f77d8075db46e4704e6d8"
|
|
157
139
|
dependencies = [
|
|
158
140
|
"num-traits",
|
|
159
141
|
]
|
|
160
142
|
|
|
161
143
|
[[package]]
|
|
162
|
-
name = "
|
|
163
|
-
version = "0.2.
|
|
144
|
+
name = "foldhash"
|
|
145
|
+
version = "0.2.0"
|
|
164
146
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
-
checksum = "
|
|
166
|
-
dependencies = [
|
|
167
|
-
"cfg-if",
|
|
168
|
-
"js-sys",
|
|
169
|
-
"libc",
|
|
170
|
-
"wasi",
|
|
171
|
-
"wasm-bindgen",
|
|
172
|
-
]
|
|
147
|
+
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
|
|
173
148
|
|
|
174
149
|
[[package]]
|
|
175
150
|
name = "halfbrown"
|
|
176
|
-
version = "0.
|
|
151
|
+
version = "0.4.0"
|
|
177
152
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
-
checksum = "
|
|
153
|
+
checksum = "0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09"
|
|
179
154
|
dependencies = [
|
|
180
155
|
"hashbrown",
|
|
181
156
|
"serde",
|
|
@@ -183,17 +158,18 @@ dependencies = [
|
|
|
183
158
|
|
|
184
159
|
[[package]]
|
|
185
160
|
name = "hashbrown"
|
|
186
|
-
version = "0.
|
|
161
|
+
version = "0.16.0"
|
|
187
162
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
-
checksum = "
|
|
163
|
+
checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
|
|
189
164
|
dependencies = [
|
|
190
|
-
"ahash",
|
|
191
165
|
"allocator-api2",
|
|
166
|
+
"equivalent",
|
|
167
|
+
"foldhash",
|
|
192
168
|
]
|
|
193
169
|
|
|
194
170
|
[[package]]
|
|
195
171
|
name = "headson"
|
|
196
|
-
version = "0.2.
|
|
172
|
+
version = "0.2.5"
|
|
197
173
|
dependencies = [
|
|
198
174
|
"anyhow",
|
|
199
175
|
"clap",
|
|
@@ -206,7 +182,7 @@ dependencies = [
|
|
|
206
182
|
|
|
207
183
|
[[package]]
|
|
208
184
|
name = "headson-python"
|
|
209
|
-
version = "0.2.
|
|
185
|
+
version = "0.2.5"
|
|
210
186
|
dependencies = [
|
|
211
187
|
"anyhow",
|
|
212
188
|
"headson",
|
|
@@ -240,85 +216,12 @@ version = "1.0.15"
|
|
|
240
216
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
241
217
|
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
242
218
|
|
|
243
|
-
[[package]]
|
|
244
|
-
name = "js-sys"
|
|
245
|
-
version = "0.3.81"
|
|
246
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
-
checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
|
|
248
|
-
dependencies = [
|
|
249
|
-
"once_cell",
|
|
250
|
-
"wasm-bindgen",
|
|
251
|
-
]
|
|
252
|
-
|
|
253
|
-
[[package]]
|
|
254
|
-
name = "lexical-core"
|
|
255
|
-
version = "1.0.6"
|
|
256
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
-
checksum = "7d8d125a277f807e55a77304455eb7b1cb52f2b18c143b60e766c120bd64a594"
|
|
258
|
-
dependencies = [
|
|
259
|
-
"lexical-parse-float",
|
|
260
|
-
"lexical-parse-integer",
|
|
261
|
-
"lexical-util",
|
|
262
|
-
"lexical-write-float",
|
|
263
|
-
"lexical-write-integer",
|
|
264
|
-
]
|
|
265
|
-
|
|
266
|
-
[[package]]
|
|
267
|
-
name = "lexical-parse-float"
|
|
268
|
-
version = "1.0.6"
|
|
269
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
-
checksum = "52a9f232fbd6f550bc0137dcb5f99ab674071ac2d690ac69704593cb4abbea56"
|
|
271
|
-
dependencies = [
|
|
272
|
-
"lexical-parse-integer",
|
|
273
|
-
"lexical-util",
|
|
274
|
-
]
|
|
275
|
-
|
|
276
|
-
[[package]]
|
|
277
|
-
name = "lexical-parse-integer"
|
|
278
|
-
version = "1.0.6"
|
|
279
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
-
checksum = "9a7a039f8fb9c19c996cd7b2fcce303c1b2874fe1aca544edc85c4a5f8489b34"
|
|
281
|
-
dependencies = [
|
|
282
|
-
"lexical-util",
|
|
283
|
-
]
|
|
284
|
-
|
|
285
|
-
[[package]]
|
|
286
|
-
name = "lexical-util"
|
|
287
|
-
version = "1.0.7"
|
|
288
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
289
|
-
checksum = "2604dd126bb14f13fb5d1bd6a66155079cb9fa655b37f875b3a742c705dbed17"
|
|
290
|
-
|
|
291
|
-
[[package]]
|
|
292
|
-
name = "lexical-write-float"
|
|
293
|
-
version = "1.0.6"
|
|
294
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
-
checksum = "50c438c87c013188d415fbabbb1dceb44249ab81664efbd31b14ae55dabb6361"
|
|
296
|
-
dependencies = [
|
|
297
|
-
"lexical-util",
|
|
298
|
-
"lexical-write-integer",
|
|
299
|
-
]
|
|
300
|
-
|
|
301
|
-
[[package]]
|
|
302
|
-
name = "lexical-write-integer"
|
|
303
|
-
version = "1.0.6"
|
|
304
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
-
checksum = "409851a618475d2d5796377cad353802345cba92c867d9fbcde9cf4eac4e14df"
|
|
306
|
-
dependencies = [
|
|
307
|
-
"lexical-util",
|
|
308
|
-
]
|
|
309
|
-
|
|
310
219
|
[[package]]
|
|
311
220
|
name = "libc"
|
|
312
221
|
version = "0.2.177"
|
|
313
222
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
223
|
checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
|
|
315
224
|
|
|
316
|
-
[[package]]
|
|
317
|
-
name = "log"
|
|
318
|
-
version = "0.4.28"
|
|
319
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
320
|
-
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
|
321
|
-
|
|
322
225
|
[[package]]
|
|
323
226
|
name = "memchr"
|
|
324
227
|
version = "2.7.6"
|
|
@@ -372,11 +275,10 @@ dependencies = [
|
|
|
372
275
|
|
|
373
276
|
[[package]]
|
|
374
277
|
name = "pyo3"
|
|
375
|
-
version = "0.
|
|
278
|
+
version = "0.27.1"
|
|
376
279
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
377
|
-
checksum = "
|
|
280
|
+
checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
|
|
378
281
|
dependencies = [
|
|
379
|
-
"cfg-if",
|
|
380
282
|
"indoc",
|
|
381
283
|
"libc",
|
|
382
284
|
"memoffset",
|
|
@@ -390,19 +292,18 @@ dependencies = [
|
|
|
390
292
|
|
|
391
293
|
[[package]]
|
|
392
294
|
name = "pyo3-build-config"
|
|
393
|
-
version = "0.
|
|
295
|
+
version = "0.27.1"
|
|
394
296
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
395
|
-
checksum = "
|
|
297
|
+
checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
|
|
396
298
|
dependencies = [
|
|
397
|
-
"once_cell",
|
|
398
299
|
"target-lexicon",
|
|
399
300
|
]
|
|
400
301
|
|
|
401
302
|
[[package]]
|
|
402
303
|
name = "pyo3-ffi"
|
|
403
|
-
version = "0.
|
|
304
|
+
version = "0.27.1"
|
|
404
305
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
405
|
-
checksum = "
|
|
306
|
+
checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
|
|
406
307
|
dependencies = [
|
|
407
308
|
"libc",
|
|
408
309
|
"pyo3-build-config",
|
|
@@ -410,9 +311,9 @@ dependencies = [
|
|
|
410
311
|
|
|
411
312
|
[[package]]
|
|
412
313
|
name = "pyo3-macros"
|
|
413
|
-
version = "0.
|
|
314
|
+
version = "0.27.1"
|
|
414
315
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
415
|
-
checksum = "
|
|
316
|
+
checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
|
|
416
317
|
dependencies = [
|
|
417
318
|
"proc-macro2",
|
|
418
319
|
"pyo3-macros-backend",
|
|
@@ -422,9 +323,9 @@ dependencies = [
|
|
|
422
323
|
|
|
423
324
|
[[package]]
|
|
424
325
|
name = "pyo3-macros-backend"
|
|
425
|
-
version = "0.
|
|
326
|
+
version = "0.27.1"
|
|
426
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
427
|
-
checksum = "
|
|
328
|
+
checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
|
|
428
329
|
dependencies = [
|
|
429
330
|
"heck",
|
|
430
331
|
"proc-macro2",
|
|
@@ -519,13 +420,11 @@ dependencies = [
|
|
|
519
420
|
|
|
520
421
|
[[package]]
|
|
521
422
|
name = "simd-json"
|
|
522
|
-
version = "0.
|
|
423
|
+
version = "0.17.0"
|
|
523
424
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
524
|
-
checksum = "
|
|
425
|
+
checksum = "4255126f310d2ba20048db6321c81ab376f6a6735608bf11f0785c41f01f64e3"
|
|
525
426
|
dependencies = [
|
|
526
|
-
"getrandom",
|
|
527
427
|
"halfbrown",
|
|
528
|
-
"lexical-core",
|
|
529
428
|
"ref-cast",
|
|
530
429
|
"serde",
|
|
531
430
|
"serde_json",
|
|
@@ -558,9 +457,9 @@ dependencies = [
|
|
|
558
457
|
|
|
559
458
|
[[package]]
|
|
560
459
|
name = "target-lexicon"
|
|
561
|
-
version = "0.
|
|
460
|
+
version = "0.13.3"
|
|
562
461
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
-
checksum = "
|
|
462
|
+
checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
|
|
564
463
|
|
|
565
464
|
[[package]]
|
|
566
465
|
name = "unicode-ident"
|
|
@@ -588,9 +487,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
|
588
487
|
|
|
589
488
|
[[package]]
|
|
590
489
|
name = "value-trait"
|
|
591
|
-
version = "0.
|
|
490
|
+
version = "0.12.1"
|
|
592
491
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
593
|
-
checksum = "
|
|
492
|
+
checksum = "8e80f0c733af0720a501b3905d22e2f97662d8eacfe082a75ed7ffb5ab08cb59"
|
|
594
493
|
dependencies = [
|
|
595
494
|
"float-cmp",
|
|
596
495
|
"halfbrown",
|
|
@@ -598,77 +497,6 @@ dependencies = [
|
|
|
598
497
|
"ryu",
|
|
599
498
|
]
|
|
600
499
|
|
|
601
|
-
[[package]]
|
|
602
|
-
name = "version_check"
|
|
603
|
-
version = "0.9.5"
|
|
604
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
605
|
-
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
606
|
-
|
|
607
|
-
[[package]]
|
|
608
|
-
name = "wasi"
|
|
609
|
-
version = "0.11.1+wasi-snapshot-preview1"
|
|
610
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
611
|
-
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
612
|
-
|
|
613
|
-
[[package]]
|
|
614
|
-
name = "wasm-bindgen"
|
|
615
|
-
version = "0.2.104"
|
|
616
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
617
|
-
checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
|
|
618
|
-
dependencies = [
|
|
619
|
-
"cfg-if",
|
|
620
|
-
"once_cell",
|
|
621
|
-
"rustversion",
|
|
622
|
-
"wasm-bindgen-macro",
|
|
623
|
-
"wasm-bindgen-shared",
|
|
624
|
-
]
|
|
625
|
-
|
|
626
|
-
[[package]]
|
|
627
|
-
name = "wasm-bindgen-backend"
|
|
628
|
-
version = "0.2.104"
|
|
629
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
630
|
-
checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
|
|
631
|
-
dependencies = [
|
|
632
|
-
"bumpalo",
|
|
633
|
-
"log",
|
|
634
|
-
"proc-macro2",
|
|
635
|
-
"quote",
|
|
636
|
-
"syn",
|
|
637
|
-
"wasm-bindgen-shared",
|
|
638
|
-
]
|
|
639
|
-
|
|
640
|
-
[[package]]
|
|
641
|
-
name = "wasm-bindgen-macro"
|
|
642
|
-
version = "0.2.104"
|
|
643
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
644
|
-
checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
|
|
645
|
-
dependencies = [
|
|
646
|
-
"quote",
|
|
647
|
-
"wasm-bindgen-macro-support",
|
|
648
|
-
]
|
|
649
|
-
|
|
650
|
-
[[package]]
|
|
651
|
-
name = "wasm-bindgen-macro-support"
|
|
652
|
-
version = "0.2.104"
|
|
653
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
654
|
-
checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
|
|
655
|
-
dependencies = [
|
|
656
|
-
"proc-macro2",
|
|
657
|
-
"quote",
|
|
658
|
-
"syn",
|
|
659
|
-
"wasm-bindgen-backend",
|
|
660
|
-
"wasm-bindgen-shared",
|
|
661
|
-
]
|
|
662
|
-
|
|
663
|
-
[[package]]
|
|
664
|
-
name = "wasm-bindgen-shared"
|
|
665
|
-
version = "0.2.104"
|
|
666
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
667
|
-
checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
|
|
668
|
-
dependencies = [
|
|
669
|
-
"unicode-ident",
|
|
670
|
-
]
|
|
671
|
-
|
|
672
500
|
[[package]]
|
|
673
501
|
name = "windows-link"
|
|
674
502
|
version = "0.2.1"
|
|
@@ -748,23 +576,3 @@ name = "windows_x86_64_msvc"
|
|
|
748
576
|
version = "0.53.1"
|
|
749
577
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
750
578
|
checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
|
|
751
|
-
|
|
752
|
-
[[package]]
|
|
753
|
-
name = "zerocopy"
|
|
754
|
-
version = "0.8.27"
|
|
755
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
756
|
-
checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
|
|
757
|
-
dependencies = [
|
|
758
|
-
"zerocopy-derive",
|
|
759
|
-
]
|
|
760
|
-
|
|
761
|
-
[[package]]
|
|
762
|
-
name = "zerocopy-derive"
|
|
763
|
-
version = "0.8.27"
|
|
764
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
765
|
-
checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
|
|
766
|
-
dependencies = [
|
|
767
|
-
"proc-macro2",
|
|
768
|
-
"quote",
|
|
769
|
-
"syn",
|
|
770
|
-
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "headson-python"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.5"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
publish = false
|
|
6
6
|
readme = "README.md"
|
|
@@ -11,5 +11,5 @@ crate-type = ["cdylib"]
|
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
13
|
anyhow = "1"
|
|
14
|
-
pyo3 = { version = "0.
|
|
14
|
+
pyo3 = { version = "0.27", features = ["extension-module"] }
|
|
15
15
|
headson_core = { package = "headson", path = ".." }
|
|
@@ -52,7 +52,7 @@ fn summarize(
|
|
|
52
52
|
let per_file_for_priority = budget.max(1);
|
|
53
53
|
let prio = priority_config(per_file_for_priority);
|
|
54
54
|
let input = text.as_bytes().to_vec();
|
|
55
|
-
py.
|
|
55
|
+
py.detach(|| headson_core::headson(input, &cfg, &prio, budget).map_err(to_pyerr))
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
#[pymodule]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__order_empty_array_order.snap
RENAMED
|
File without changes
|
|
File without changes
|
{headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__order__tests__pq_empty_array_queue.snap
RENAMED
|
File without changes
|
|
File without changes
|
{headson-0.2.4 → headson-0.2.5}/src/snapshots/headson__queue__tests__pq_empty_array_queue.snap
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|