rust-pgn-reader-python-binding 2.5.2__tar.gz → 2.5.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.
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/Cargo.lock +104 -101
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/Cargo.toml +8 -8
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/PKG-INFO +4 -1
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/README.md +4 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/comment_parsing.rs +24 -18
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/.github/workflows/CI.yml +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/.gitignore +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/benches/parquet_bench.rs +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/pyproject.toml +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/bench.py +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/bench_parquet.py +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/bench_parquet_parallel.py +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/example_rowgroup.py +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/example_str.py +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/lib.rs +0 -0
- {rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/test.py +0 -0
|
@@ -81,9 +81,9 @@ checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
|
|
|
81
81
|
|
|
82
82
|
[[package]]
|
|
83
83
|
name = "arrow"
|
|
84
|
-
version = "
|
|
84
|
+
version = "55.1.0"
|
|
85
85
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
86
|
-
checksum = "
|
|
86
|
+
checksum = "b1bb018b6960c87fd9d025009820406f74e83281185a8bdcb44880d2aa5c9a87"
|
|
87
87
|
dependencies = [
|
|
88
88
|
"arrow-arith",
|
|
89
89
|
"arrow-array",
|
|
@@ -102,24 +102,23 @@ dependencies = [
|
|
|
102
102
|
|
|
103
103
|
[[package]]
|
|
104
104
|
name = "arrow-arith"
|
|
105
|
-
version = "
|
|
105
|
+
version = "55.1.0"
|
|
106
106
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
-
checksum = "
|
|
107
|
+
checksum = "44de76b51473aa888ecd6ad93ceb262fb8d40d1f1154a4df2f069b3590aa7575"
|
|
108
108
|
dependencies = [
|
|
109
109
|
"arrow-array",
|
|
110
110
|
"arrow-buffer",
|
|
111
111
|
"arrow-data",
|
|
112
112
|
"arrow-schema",
|
|
113
113
|
"chrono",
|
|
114
|
-
"half",
|
|
115
114
|
"num",
|
|
116
115
|
]
|
|
117
116
|
|
|
118
117
|
[[package]]
|
|
119
118
|
name = "arrow-array"
|
|
120
|
-
version = "
|
|
119
|
+
version = "55.1.0"
|
|
121
120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
-
checksum = "
|
|
121
|
+
checksum = "29ed77e22744475a9a53d00026cf8e166fe73cf42d89c4c4ae63607ee1cfcc3f"
|
|
123
122
|
dependencies = [
|
|
124
123
|
"ahash",
|
|
125
124
|
"arrow-buffer",
|
|
@@ -133,9 +132,9 @@ dependencies = [
|
|
|
133
132
|
|
|
134
133
|
[[package]]
|
|
135
134
|
name = "arrow-buffer"
|
|
136
|
-
version = "
|
|
135
|
+
version = "55.1.0"
|
|
137
136
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
-
checksum = "
|
|
137
|
+
checksum = "b0391c96eb58bf7389171d1e103112d3fc3e5625ca6b372d606f2688f1ea4cce"
|
|
139
138
|
dependencies = [
|
|
140
139
|
"bytes",
|
|
141
140
|
"half",
|
|
@@ -144,9 +143,9 @@ dependencies = [
|
|
|
144
143
|
|
|
145
144
|
[[package]]
|
|
146
145
|
name = "arrow-cast"
|
|
147
|
-
version = "
|
|
146
|
+
version = "55.1.0"
|
|
148
147
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
-
checksum = "
|
|
148
|
+
checksum = "f39e1d774ece9292697fcbe06b5584401b26bd34be1bec25c33edae65c2420ff"
|
|
150
149
|
dependencies = [
|
|
151
150
|
"arrow-array",
|
|
152
151
|
"arrow-buffer",
|
|
@@ -164,28 +163,25 @@ dependencies = [
|
|
|
164
163
|
|
|
165
164
|
[[package]]
|
|
166
165
|
name = "arrow-csv"
|
|
167
|
-
version = "
|
|
166
|
+
version = "55.1.0"
|
|
168
167
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
-
checksum = "
|
|
168
|
+
checksum = "9055c972a07bf12c2a827debfd34f88d3b93da1941d36e1d9fee85eebe38a12a"
|
|
170
169
|
dependencies = [
|
|
171
170
|
"arrow-array",
|
|
172
|
-
"arrow-buffer",
|
|
173
171
|
"arrow-cast",
|
|
174
|
-
"arrow-data",
|
|
175
172
|
"arrow-schema",
|
|
176
173
|
"chrono",
|
|
177
174
|
"csv",
|
|
178
175
|
"csv-core",
|
|
179
176
|
"lazy_static",
|
|
180
|
-
"lexical-core",
|
|
181
177
|
"regex",
|
|
182
178
|
]
|
|
183
179
|
|
|
184
180
|
[[package]]
|
|
185
181
|
name = "arrow-data"
|
|
186
|
-
version = "
|
|
182
|
+
version = "55.1.0"
|
|
187
183
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
-
checksum = "
|
|
184
|
+
checksum = "cf75ac27a08c7f48b88e5c923f267e980f27070147ab74615ad85b5c5f90473d"
|
|
189
185
|
dependencies = [
|
|
190
186
|
"arrow-buffer",
|
|
191
187
|
"arrow-schema",
|
|
@@ -195,13 +191,12 @@ dependencies = [
|
|
|
195
191
|
|
|
196
192
|
[[package]]
|
|
197
193
|
name = "arrow-ipc"
|
|
198
|
-
version = "
|
|
194
|
+
version = "55.1.0"
|
|
199
195
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
-
checksum = "
|
|
196
|
+
checksum = "a222f0d93772bd058d1268f4c28ea421a603d66f7979479048c429292fac7b2e"
|
|
201
197
|
dependencies = [
|
|
202
198
|
"arrow-array",
|
|
203
199
|
"arrow-buffer",
|
|
204
|
-
"arrow-cast",
|
|
205
200
|
"arrow-data",
|
|
206
201
|
"arrow-schema",
|
|
207
202
|
"flatbuffers",
|
|
@@ -209,9 +204,9 @@ dependencies = [
|
|
|
209
204
|
|
|
210
205
|
[[package]]
|
|
211
206
|
name = "arrow-json"
|
|
212
|
-
version = "
|
|
207
|
+
version = "55.1.0"
|
|
213
208
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
-
checksum = "
|
|
209
|
+
checksum = "9085342bbca0f75e8cb70513c0807cc7351f1fbf5cb98192a67d5e3044acb033"
|
|
215
210
|
dependencies = [
|
|
216
211
|
"arrow-array",
|
|
217
212
|
"arrow-buffer",
|
|
@@ -222,33 +217,32 @@ dependencies = [
|
|
|
222
217
|
"half",
|
|
223
218
|
"indexmap",
|
|
224
219
|
"lexical-core",
|
|
220
|
+
"memchr",
|
|
225
221
|
"num",
|
|
226
222
|
"serde",
|
|
227
223
|
"serde_json",
|
|
224
|
+
"simdutf8",
|
|
228
225
|
]
|
|
229
226
|
|
|
230
227
|
[[package]]
|
|
231
228
|
name = "arrow-ord"
|
|
232
|
-
version = "
|
|
229
|
+
version = "55.1.0"
|
|
233
230
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
-
checksum = "
|
|
231
|
+
checksum = "ab2f1065a5cad7b9efa9e22ce5747ce826aa3855766755d4904535123ef431e7"
|
|
235
232
|
dependencies = [
|
|
236
233
|
"arrow-array",
|
|
237
234
|
"arrow-buffer",
|
|
238
235
|
"arrow-data",
|
|
239
236
|
"arrow-schema",
|
|
240
237
|
"arrow-select",
|
|
241
|
-
"half",
|
|
242
|
-
"num",
|
|
243
238
|
]
|
|
244
239
|
|
|
245
240
|
[[package]]
|
|
246
241
|
name = "arrow-row"
|
|
247
|
-
version = "
|
|
242
|
+
version = "55.1.0"
|
|
248
243
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
-
checksum = "
|
|
244
|
+
checksum = "3703a0e3e92d23c3f756df73d2dc9476873f873a76ae63ef9d3de17fda83b2d8"
|
|
250
245
|
dependencies = [
|
|
251
|
-
"ahash",
|
|
252
246
|
"arrow-array",
|
|
253
247
|
"arrow-buffer",
|
|
254
248
|
"arrow-data",
|
|
@@ -258,15 +252,15 @@ dependencies = [
|
|
|
258
252
|
|
|
259
253
|
[[package]]
|
|
260
254
|
name = "arrow-schema"
|
|
261
|
-
version = "
|
|
255
|
+
version = "55.1.0"
|
|
262
256
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
-
checksum = "
|
|
257
|
+
checksum = "73a47aa0c771b5381de2b7f16998d351a6f4eb839f1e13d48353e17e873d969b"
|
|
264
258
|
|
|
265
259
|
[[package]]
|
|
266
260
|
name = "arrow-select"
|
|
267
|
-
version = "
|
|
261
|
+
version = "55.1.0"
|
|
268
262
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
-
checksum = "
|
|
263
|
+
checksum = "24b7b85575702b23b85272b01bc1c25a01c9b9852305e5d0078c79ba25d995d4"
|
|
270
264
|
dependencies = [
|
|
271
265
|
"ahash",
|
|
272
266
|
"arrow-array",
|
|
@@ -278,9 +272,9 @@ dependencies = [
|
|
|
278
272
|
|
|
279
273
|
[[package]]
|
|
280
274
|
name = "arrow-string"
|
|
281
|
-
version = "
|
|
275
|
+
version = "55.1.0"
|
|
282
276
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
283
|
-
checksum = "
|
|
277
|
+
checksum = "9260fddf1cdf2799ace2b4c2fc0356a9789fa7551e0953e35435536fecefebbd"
|
|
284
278
|
dependencies = [
|
|
285
279
|
"arrow-array",
|
|
286
280
|
"arrow-buffer",
|
|
@@ -314,12 +308,6 @@ version = "0.22.1"
|
|
|
314
308
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
309
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
316
310
|
|
|
317
|
-
[[package]]
|
|
318
|
-
name = "bitflags"
|
|
319
|
-
version = "1.3.2"
|
|
320
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
-
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
322
|
-
|
|
323
311
|
[[package]]
|
|
324
312
|
name = "bitflags"
|
|
325
313
|
version = "2.9.1"
|
|
@@ -328,9 +316,9 @@ checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
|
|
|
328
316
|
|
|
329
317
|
[[package]]
|
|
330
318
|
name = "brotli"
|
|
331
|
-
version = "
|
|
319
|
+
version = "8.0.1"
|
|
332
320
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
-
checksum = "
|
|
321
|
+
checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d"
|
|
334
322
|
dependencies = [
|
|
335
323
|
"alloc-no-stdlib",
|
|
336
324
|
"alloc-stdlib",
|
|
@@ -339,9 +327,9 @@ dependencies = [
|
|
|
339
327
|
|
|
340
328
|
[[package]]
|
|
341
329
|
name = "brotli-decompressor"
|
|
342
|
-
version = "
|
|
330
|
+
version = "5.0.0"
|
|
343
331
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
-
checksum = "
|
|
332
|
+
checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03"
|
|
345
333
|
dependencies = [
|
|
346
334
|
"alloc-no-stdlib",
|
|
347
335
|
"alloc-stdlib",
|
|
@@ -399,14 +387,14 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
399
387
|
|
|
400
388
|
[[package]]
|
|
401
389
|
name = "chrono"
|
|
402
|
-
version = "0.4.
|
|
390
|
+
version = "0.4.41"
|
|
403
391
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
-
checksum = "
|
|
392
|
+
checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
|
|
405
393
|
dependencies = [
|
|
406
394
|
"android-tzdata",
|
|
407
395
|
"iana-time-zone",
|
|
408
396
|
"num-traits",
|
|
409
|
-
"windows-
|
|
397
|
+
"windows-link",
|
|
410
398
|
]
|
|
411
399
|
|
|
412
400
|
[[package]]
|
|
@@ -504,25 +492,22 @@ dependencies = [
|
|
|
504
492
|
|
|
505
493
|
[[package]]
|
|
506
494
|
name = "criterion"
|
|
507
|
-
version = "0.
|
|
495
|
+
version = "0.6.0"
|
|
508
496
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
509
|
-
checksum = "
|
|
497
|
+
checksum = "3bf7af66b0989381bd0be551bd7cc91912a655a58c6918420c9527b1fd8b4679"
|
|
510
498
|
dependencies = [
|
|
511
499
|
"anes",
|
|
512
500
|
"cast",
|
|
513
501
|
"ciborium",
|
|
514
502
|
"clap",
|
|
515
503
|
"criterion-plot",
|
|
516
|
-
"
|
|
517
|
-
"itertools",
|
|
504
|
+
"itertools 0.13.0",
|
|
518
505
|
"num-traits",
|
|
519
|
-
"once_cell",
|
|
520
506
|
"oorandom",
|
|
521
507
|
"plotters",
|
|
522
508
|
"rayon",
|
|
523
509
|
"regex",
|
|
524
510
|
"serde",
|
|
525
|
-
"serde_derive",
|
|
526
511
|
"serde_json",
|
|
527
512
|
"tinytemplate",
|
|
528
513
|
"walkdir",
|
|
@@ -535,7 +520,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
535
520
|
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
|
536
521
|
dependencies = [
|
|
537
522
|
"cast",
|
|
538
|
-
"itertools",
|
|
523
|
+
"itertools 0.10.5",
|
|
539
524
|
]
|
|
540
525
|
|
|
541
526
|
[[package]]
|
|
@@ -604,11 +589,11 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
|
604
589
|
|
|
605
590
|
[[package]]
|
|
606
591
|
name = "flatbuffers"
|
|
607
|
-
version = "
|
|
592
|
+
version = "25.2.10"
|
|
608
593
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
609
|
-
checksum = "
|
|
594
|
+
checksum = "1045398c1bfd89168b5fd3f1fc11f6e70b34f6f66300c87d44d3de849463abf1"
|
|
610
595
|
dependencies = [
|
|
611
|
-
"bitflags
|
|
596
|
+
"bitflags",
|
|
612
597
|
"rustc_version",
|
|
613
598
|
]
|
|
614
599
|
|
|
@@ -619,6 +604,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
619
604
|
checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
|
|
620
605
|
dependencies = [
|
|
621
606
|
"crc32fast",
|
|
607
|
+
"libz-rs-sys",
|
|
622
608
|
"miniz_oxide",
|
|
623
609
|
]
|
|
624
610
|
|
|
@@ -721,21 +707,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
721
707
|
checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02"
|
|
722
708
|
|
|
723
709
|
[[package]]
|
|
724
|
-
name = "
|
|
725
|
-
version = "0.
|
|
710
|
+
name = "itertools"
|
|
711
|
+
version = "0.10.5"
|
|
726
712
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
727
|
-
checksum = "
|
|
713
|
+
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
|
728
714
|
dependencies = [
|
|
729
|
-
"
|
|
730
|
-
"libc",
|
|
731
|
-
"windows-sys",
|
|
715
|
+
"either",
|
|
732
716
|
]
|
|
733
717
|
|
|
734
718
|
[[package]]
|
|
735
719
|
name = "itertools"
|
|
736
|
-
version = "0.
|
|
720
|
+
version = "0.13.0"
|
|
737
721
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
738
|
-
checksum = "
|
|
722
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
739
723
|
dependencies = [
|
|
740
724
|
"either",
|
|
741
725
|
]
|
|
@@ -848,6 +832,15 @@ version = "0.2.15"
|
|
|
848
832
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
849
833
|
checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
|
|
850
834
|
|
|
835
|
+
[[package]]
|
|
836
|
+
name = "libz-rs-sys"
|
|
837
|
+
version = "0.5.0"
|
|
838
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
839
|
+
checksum = "6489ca9bd760fe9642d7644e827b0c9add07df89857b0416ee15c1cc1a3b8c5a"
|
|
840
|
+
dependencies = [
|
|
841
|
+
"zlib-rs",
|
|
842
|
+
]
|
|
843
|
+
|
|
851
844
|
[[package]]
|
|
852
845
|
name = "log"
|
|
853
846
|
version = "0.4.27"
|
|
@@ -860,7 +853,7 @@ version = "0.11.3"
|
|
|
860
853
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
861
854
|
checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5"
|
|
862
855
|
dependencies = [
|
|
863
|
-
"twox-hash",
|
|
856
|
+
"twox-hash 1.6.3",
|
|
864
857
|
]
|
|
865
858
|
|
|
866
859
|
[[package]]
|
|
@@ -878,12 +871,6 @@ dependencies = [
|
|
|
878
871
|
"autocfg",
|
|
879
872
|
]
|
|
880
873
|
|
|
881
|
-
[[package]]
|
|
882
|
-
name = "minimal-lexical"
|
|
883
|
-
version = "0.2.1"
|
|
884
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
885
|
-
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
886
|
-
|
|
887
874
|
[[package]]
|
|
888
875
|
name = "miniz_oxide"
|
|
889
876
|
version = "0.8.8"
|
|
@@ -901,12 +888,11 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
|
901
888
|
|
|
902
889
|
[[package]]
|
|
903
890
|
name = "nom"
|
|
904
|
-
version = "
|
|
891
|
+
version = "8.0.0"
|
|
905
892
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
906
|
-
checksum = "
|
|
893
|
+
checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
|
|
907
894
|
dependencies = [
|
|
908
895
|
"memchr",
|
|
909
|
-
"minimal-lexical",
|
|
910
896
|
]
|
|
911
897
|
|
|
912
898
|
[[package]]
|
|
@@ -1016,9 +1002,9 @@ dependencies = [
|
|
|
1016
1002
|
|
|
1017
1003
|
[[package]]
|
|
1018
1004
|
name = "parquet"
|
|
1019
|
-
version = "
|
|
1005
|
+
version = "55.1.0"
|
|
1020
1006
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1021
|
-
checksum = "
|
|
1007
|
+
checksum = "be7b2d778f6b841d37083ebdf32e33a524acde1266b5884a8ca29bf00dfa1231"
|
|
1022
1008
|
dependencies = [
|
|
1023
1009
|
"ahash",
|
|
1024
1010
|
"arrow-array",
|
|
@@ -1040,11 +1026,11 @@ dependencies = [
|
|
|
1040
1026
|
"num-bigint",
|
|
1041
1027
|
"paste",
|
|
1042
1028
|
"seq-macro",
|
|
1029
|
+
"simdutf8",
|
|
1043
1030
|
"snap",
|
|
1044
1031
|
"thrift",
|
|
1045
|
-
"twox-hash",
|
|
1032
|
+
"twox-hash 2.1.0",
|
|
1046
1033
|
"zstd",
|
|
1047
|
-
"zstd-sys",
|
|
1048
1034
|
]
|
|
1049
1035
|
|
|
1050
1036
|
[[package]]
|
|
@@ -1116,11 +1102,10 @@ dependencies = [
|
|
|
1116
1102
|
|
|
1117
1103
|
[[package]]
|
|
1118
1104
|
name = "pyo3"
|
|
1119
|
-
version = "0.
|
|
1105
|
+
version = "0.25.0"
|
|
1120
1106
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1121
|
-
checksum = "
|
|
1107
|
+
checksum = "f239d656363bcee73afef85277f1b281e8ac6212a1d42aa90e55b90ed43c47a4"
|
|
1122
1108
|
dependencies = [
|
|
1123
|
-
"cfg-if",
|
|
1124
1109
|
"indoc",
|
|
1125
1110
|
"libc",
|
|
1126
1111
|
"memoffset",
|
|
@@ -1134,9 +1119,9 @@ dependencies = [
|
|
|
1134
1119
|
|
|
1135
1120
|
[[package]]
|
|
1136
1121
|
name = "pyo3-build-config"
|
|
1137
|
-
version = "0.
|
|
1122
|
+
version = "0.25.0"
|
|
1138
1123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1139
|
-
checksum = "
|
|
1124
|
+
checksum = "755ea671a1c34044fa165247aaf6f419ca39caa6003aee791a0df2713d8f1b6d"
|
|
1140
1125
|
dependencies = [
|
|
1141
1126
|
"once_cell",
|
|
1142
1127
|
"target-lexicon",
|
|
@@ -1144,9 +1129,9 @@ dependencies = [
|
|
|
1144
1129
|
|
|
1145
1130
|
[[package]]
|
|
1146
1131
|
name = "pyo3-ffi"
|
|
1147
|
-
version = "0.
|
|
1132
|
+
version = "0.25.0"
|
|
1148
1133
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1149
|
-
checksum = "
|
|
1134
|
+
checksum = "fc95a2e67091e44791d4ea300ff744be5293f394f1bafd9f78c080814d35956e"
|
|
1150
1135
|
dependencies = [
|
|
1151
1136
|
"libc",
|
|
1152
1137
|
"pyo3-build-config",
|
|
@@ -1154,9 +1139,9 @@ dependencies = [
|
|
|
1154
1139
|
|
|
1155
1140
|
[[package]]
|
|
1156
1141
|
name = "pyo3-macros"
|
|
1157
|
-
version = "0.
|
|
1142
|
+
version = "0.25.0"
|
|
1158
1143
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1159
|
-
checksum = "
|
|
1144
|
+
checksum = "a179641d1b93920829a62f15e87c0ed791b6c8db2271ba0fd7c2686090510214"
|
|
1160
1145
|
dependencies = [
|
|
1161
1146
|
"proc-macro2",
|
|
1162
1147
|
"pyo3-macros-backend",
|
|
@@ -1166,9 +1151,9 @@ dependencies = [
|
|
|
1166
1151
|
|
|
1167
1152
|
[[package]]
|
|
1168
1153
|
name = "pyo3-macros-backend"
|
|
1169
|
-
version = "0.
|
|
1154
|
+
version = "0.25.0"
|
|
1170
1155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1171
|
-
checksum = "
|
|
1156
|
+
checksum = "9dff85ebcaab8c441b0e3f7ae40a6963ecea8a9f5e74f647e33fcf5ec9a1e89e"
|
|
1172
1157
|
dependencies = [
|
|
1173
1158
|
"heck",
|
|
1174
1159
|
"proc-macro2",
|
|
@@ -1243,7 +1228,7 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
|
1243
1228
|
|
|
1244
1229
|
[[package]]
|
|
1245
1230
|
name = "rust_pgn_reader_python_binding"
|
|
1246
|
-
version = "2.5.
|
|
1231
|
+
version = "2.5.5"
|
|
1247
1232
|
dependencies = [
|
|
1248
1233
|
"arrow",
|
|
1249
1234
|
"criterion",
|
|
@@ -1337,7 +1322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
1337
1322
|
checksum = "f414cadc4e727893d1a3b0dca62aaef4c1c821dcbd969f0b10a92e12d684d53a"
|
|
1338
1323
|
dependencies = [
|
|
1339
1324
|
"arrayvec",
|
|
1340
|
-
"bitflags
|
|
1325
|
+
"bitflags",
|
|
1341
1326
|
"btoi",
|
|
1342
1327
|
"nohash-hasher",
|
|
1343
1328
|
"serde",
|
|
@@ -1349,6 +1334,12 @@ version = "1.3.0"
|
|
|
1349
1334
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1350
1335
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
1351
1336
|
|
|
1337
|
+
[[package]]
|
|
1338
|
+
name = "simdutf8"
|
|
1339
|
+
version = "0.1.5"
|
|
1340
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1341
|
+
checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|
1342
|
+
|
|
1352
1343
|
[[package]]
|
|
1353
1344
|
name = "snap"
|
|
1354
1345
|
version = "1.1.1"
|
|
@@ -1374,9 +1365,9 @@ dependencies = [
|
|
|
1374
1365
|
|
|
1375
1366
|
[[package]]
|
|
1376
1367
|
name = "target-lexicon"
|
|
1377
|
-
version = "0.
|
|
1368
|
+
version = "0.13.2"
|
|
1378
1369
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1379
|
-
checksum = "
|
|
1370
|
+
checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
|
|
1380
1371
|
|
|
1381
1372
|
[[package]]
|
|
1382
1373
|
name = "thrift"
|
|
@@ -1418,6 +1409,12 @@ dependencies = [
|
|
|
1418
1409
|
"static_assertions",
|
|
1419
1410
|
]
|
|
1420
1411
|
|
|
1412
|
+
[[package]]
|
|
1413
|
+
name = "twox-hash"
|
|
1414
|
+
version = "2.1.0"
|
|
1415
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1416
|
+
checksum = "e7b17f197b3050ba473acf9181f7b1d3b66d1cf7356c6cc57886662276e65908"
|
|
1417
|
+
|
|
1421
1418
|
[[package]]
|
|
1422
1419
|
name = "unicode-ident"
|
|
1423
1420
|
version = "1.0.18"
|
|
@@ -1676,7 +1673,7 @@ version = "0.39.0"
|
|
|
1676
1673
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1677
1674
|
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
1678
1675
|
dependencies = [
|
|
1679
|
-
"bitflags
|
|
1676
|
+
"bitflags",
|
|
1680
1677
|
]
|
|
1681
1678
|
|
|
1682
1679
|
[[package]]
|
|
@@ -1699,6 +1696,12 @@ dependencies = [
|
|
|
1699
1696
|
"syn",
|
|
1700
1697
|
]
|
|
1701
1698
|
|
|
1699
|
+
[[package]]
|
|
1700
|
+
name = "zlib-rs"
|
|
1701
|
+
version = "0.5.0"
|
|
1702
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1703
|
+
checksum = "868b928d7949e09af2f6086dfc1e01936064cc7a819253bce650d4e2a2d63ba8"
|
|
1704
|
+
|
|
1702
1705
|
[[package]]
|
|
1703
1706
|
name = "zstd"
|
|
1704
1707
|
version = "0.13.3"
|
|
@@ -1710,18 +1713,18 @@ dependencies = [
|
|
|
1710
1713
|
|
|
1711
1714
|
[[package]]
|
|
1712
1715
|
name = "zstd-safe"
|
|
1713
|
-
version = "7.2.
|
|
1716
|
+
version = "7.2.4"
|
|
1714
1717
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1715
|
-
checksum = "
|
|
1718
|
+
checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
|
|
1716
1719
|
dependencies = [
|
|
1717
1720
|
"zstd-sys",
|
|
1718
1721
|
]
|
|
1719
1722
|
|
|
1720
1723
|
[[package]]
|
|
1721
1724
|
name = "zstd-sys"
|
|
1722
|
-
version = "2.0.
|
|
1725
|
+
version = "2.0.15+zstd.1.5.7"
|
|
1723
1726
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1724
|
-
checksum = "
|
|
1727
|
+
checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237"
|
|
1725
1728
|
dependencies = [
|
|
1726
1729
|
"cc",
|
|
1727
1730
|
"pkg-config",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rust_pgn_reader_python_binding"
|
|
3
|
-
version = "2.5.
|
|
3
|
+
version = "2.5.5"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@@ -10,17 +10,17 @@ crate-type = ["lib", "cdylib"]
|
|
|
10
10
|
# lib is needed for the native benchmark
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
|
-
pyo3 = "0.
|
|
13
|
+
pyo3 = "0.25.0"
|
|
14
14
|
shakmaty = "0.27"
|
|
15
15
|
pgn-reader = "0.26.0"
|
|
16
|
-
nom = "
|
|
17
|
-
rayon = "1.10
|
|
18
|
-
num_cpus = "1.
|
|
16
|
+
nom = "8.0"
|
|
17
|
+
rayon = "1.10"
|
|
18
|
+
num_cpus = "1.17"
|
|
19
19
|
|
|
20
20
|
[dev-dependencies]
|
|
21
|
-
criterion = "0.
|
|
22
|
-
parquet = "
|
|
23
|
-
arrow = "
|
|
21
|
+
criterion = "0.6"
|
|
22
|
+
parquet = "55"
|
|
23
|
+
arrow = "55"
|
|
24
24
|
|
|
25
25
|
[[bench]]
|
|
26
26
|
harness = false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rust_pgn_reader_python_binding
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.5
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -37,3 +37,6 @@ For a more thorough tutorial, follow https://lukesalamone.github.io/posts/how-to
|
|
|
37
37
|
Linux/WSL-only:
|
|
38
38
|
`py-spy record -s -F -n -f speedscope --output profile.speedscope -- python ./src/bench_parquet.py`
|
|
39
39
|
|
|
40
|
+
## Testing
|
|
41
|
+
`cargo test`
|
|
42
|
+
`python -m unittest src/test.py`
|
|
@@ -27,3 +27,7 @@ For a more thorough tutorial, follow https://lukesalamone.github.io/posts/how-to
|
|
|
27
27
|
|
|
28
28
|
Linux/WSL-only:
|
|
29
29
|
`py-spy record -s -F -n -f speedscope --output profile.speedscope -- python ./src/bench_parquet.py`
|
|
30
|
+
|
|
31
|
+
## Testing
|
|
32
|
+
`cargo test`
|
|
33
|
+
`python -m unittest src/test.py`
|
{rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/comment_parsing.rs
RENAMED
|
@@ -4,8 +4,8 @@ use nom::{
|
|
|
4
4
|
character::complete::{char, digit1},
|
|
5
5
|
combinator::{map, opt, recognize},
|
|
6
6
|
multi::{many0, many1},
|
|
7
|
-
sequence::{delimited, pair, preceded
|
|
8
|
-
IResult,
|
|
7
|
+
sequence::{delimited, pair, preceded},
|
|
8
|
+
IResult, Parser,
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
#[derive(Debug, PartialEq)]
|
|
@@ -41,31 +41,35 @@ pub fn parse_comments(input: &str) -> IResult<&str, Vec<CommentContent>> {
|
|
|
41
41
|
_ => unreachable!(),
|
|
42
42
|
}),
|
|
43
43
|
map(text, |s| CommentContent::Text(s.to_string())),
|
|
44
|
-
)))
|
|
44
|
+
)))
|
|
45
|
+
.parse(input)
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
/// Parser for a tag
|
|
48
49
|
fn tag_parser(input: &str) -> IResult<&str, String> {
|
|
49
50
|
delimited(
|
|
50
|
-
|
|
51
|
+
(char('['), char('%')),
|
|
51
52
|
alt((eval_parser, clk_parser)),
|
|
52
53
|
char(']'),
|
|
53
|
-
)
|
|
54
|
+
)
|
|
55
|
+
.parse(input)
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
/// Parser for an eval tag
|
|
57
59
|
fn eval_parser(input: &str) -> IResult<&str, String> {
|
|
58
60
|
map(
|
|
59
|
-
|
|
61
|
+
(tag("eval"), spacing, alt((signed_number, mate_eval))),
|
|
60
62
|
|(_, _, value)| format!("[eval {}]", value),
|
|
61
|
-
)
|
|
63
|
+
)
|
|
64
|
+
.parse(input)
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
/// Parser for a clk tag
|
|
65
68
|
fn clk_parser(input: &str) -> IResult<&str, String> {
|
|
66
|
-
map(
|
|
69
|
+
map((tag("clk"), spacing, time_value), |(_, _, value)| {
|
|
67
70
|
format!("[clk {}]", value)
|
|
68
|
-
})
|
|
71
|
+
})
|
|
72
|
+
.parse(input)
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
/// Parser for a signed number
|
|
@@ -76,21 +80,22 @@ fn signed_number(input: &str) -> IResult<&str, String> {
|
|
|
76
80
|
recognize(pair(digit1, opt(preceded(char('.'), digit1)))),
|
|
77
81
|
)),
|
|
78
82
|
|s: &str| s.to_string(),
|
|
79
|
-
)
|
|
83
|
+
)
|
|
84
|
+
.parse(input)
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
fn mate_eval(input: &str) -> IResult<&str, String> {
|
|
83
|
-
let signed_integer = recognize(
|
|
88
|
+
let signed_integer = recognize((
|
|
84
89
|
opt(char('-')), // Optional minus sign
|
|
85
90
|
digit1, // One or more digits
|
|
86
|
-
))
|
|
87
|
-
map(preceded(char('#'), signed_integer), String::from)(input)
|
|
91
|
+
));
|
|
92
|
+
map(preceded(char('#'), signed_integer), String::from).parse(input)
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
/// Parser for a time value
|
|
91
96
|
fn time_value(input: &str) -> IResult<&str, String> {
|
|
92
97
|
map(
|
|
93
|
-
|
|
98
|
+
(
|
|
94
99
|
digit1, // Hours
|
|
95
100
|
char(':'), // Colon separator
|
|
96
101
|
digit1, // Minutes
|
|
@@ -100,22 +105,23 @@ fn time_value(input: &str) -> IResult<&str, String> {
|
|
|
100
105
|
char('.'), // Dot separator
|
|
101
106
|
digit1, // Fractional seconds
|
|
102
107
|
)),
|
|
103
|
-
)
|
|
108
|
+
),
|
|
104
109
|
|(h, _, m, _, s, frac)| match frac {
|
|
105
110
|
Some(f) => format!("{}:{}:{}.{}", h, m, s, f),
|
|
106
111
|
None => format!("{}:{}:{}", h, m, s),
|
|
107
112
|
},
|
|
108
|
-
)
|
|
113
|
+
)
|
|
114
|
+
.parse(input)
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
/// Parser for text (any characters except '[' and ']')
|
|
112
118
|
fn text(input: &str) -> IResult<&str, &str> {
|
|
113
|
-
is_not("[]")(input)
|
|
119
|
+
is_not("[]").parse(input)
|
|
114
120
|
}
|
|
115
121
|
|
|
116
122
|
/// Parser for spacing (one or more spaces)
|
|
117
123
|
fn spacing(input: &str) -> IResult<&str, &str> {
|
|
118
|
-
recognize(many1(char(' ')))(input)
|
|
124
|
+
recognize(many1(char(' '))).parse(input)
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
#[cfg(test)]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
{rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/bench_parquet.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rust_pgn_reader_python_binding-2.5.2 → rust_pgn_reader_python_binding-2.5.5}/src/example_str.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|