gxhash 0.1.1__tar.gz → 0.1.3__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 gxhash might be problematic. Click here for more details.
- {gxhash-0.1.1 → gxhash-0.1.3}/Cargo.lock +95 -103
- {gxhash-0.1.1 → gxhash-0.1.3}/PKG-INFO +18 -3
- {gxhash-0.1.1 → gxhash-0.1.3}/py-gxhash/Cargo.lock +36 -36
- {gxhash-0.1.1 → gxhash-0.1.3}/py-gxhash/Cargo.toml +1 -1
- {gxhash-0.1.1 → gxhash-0.1.3}/py-gxhash/README.md +15 -1
- {gxhash-0.1.1 → gxhash-0.1.3}/py-gxhash/gxhash.pyi +6 -10
- {gxhash-0.1.1 → gxhash-0.1.3}/py-gxhash/src/lib.rs +19 -13
- {gxhash-0.1.1 → gxhash-0.1.3}/pyproject.toml +10 -3
- gxhash-0.1.1/.github/workflows/bench.yml +0 -89
- gxhash-0.1.1/.github/workflows/build_test.yml +0 -62
- gxhash-0.1.1/.github/workflows/cross_compile.yml +0 -66
- gxhash-0.1.1/.github/workflows/rust_version.yml +0 -31
- gxhash-0.1.1/benches/hashset.rs +0 -83
- gxhash-0.1.1/benches/ilp.rs +0 -88
- gxhash-0.1.1/benches/quality/main.rs +0 -498
- gxhash-0.1.1/benches/throughput/aarch64.svg +0 -194
- gxhash-0.1.1/benches/throughput/main.rs +0 -186
- gxhash-0.1.1/benches/throughput/result_processor.rs +0 -184
- gxhash-0.1.1/benches/throughput/x86_64-avx2.svg +0 -174
- gxhash-0.1.1/benches/throughput/x86_64-hybrid.svg +0 -152
- gxhash-0.1.1/benches/throughput/x86_64.svg +0 -152
- gxhash-0.1.1/benches/throughput_criterion.rs +0 -94
- gxhash-0.1.1/examples/hello_world.rs +0 -13
- gxhash-0.1.1/py-gxhash/main.py +0 -153
- gxhash-0.1.1/py-gxhash/uv.lock +0 -99
- {gxhash-0.1.1 → gxhash-0.1.3}/.cargo/config.toml +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/.gitattributes +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/.gitignore +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/CITATION.cff +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/Cargo.toml +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/LICENSE +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/README.md +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/build.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/rustfmt.toml +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/gxhash/mod.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/gxhash/platform/arm.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/gxhash/platform/mod.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/gxhash/platform/x86.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/hasher.rs +0 -0
- {gxhash-0.1.1 → gxhash-0.1.3}/src/lib.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is automatically @generated by Cargo.
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
|
-
version =
|
|
3
|
+
version = 3
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "ahash"
|
|
@@ -12,7 +12,7 @@ dependencies = [
|
|
|
12
12
|
"getrandom",
|
|
13
13
|
"once_cell",
|
|
14
14
|
"version_check",
|
|
15
|
-
"zerocopy
|
|
15
|
+
"zerocopy",
|
|
16
16
|
]
|
|
17
17
|
|
|
18
18
|
[[package]]
|
|
@@ -44,9 +44,15 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
|
|
44
44
|
|
|
45
45
|
[[package]]
|
|
46
46
|
name = "bumpalo"
|
|
47
|
-
version = "3.
|
|
47
|
+
version = "3.16.0"
|
|
48
48
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
49
|
-
checksum = "
|
|
49
|
+
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "byteorder"
|
|
53
|
+
version = "1.5.0"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
|
50
56
|
|
|
51
57
|
[[package]]
|
|
52
58
|
name = "cast"
|
|
@@ -89,18 +95,18 @@ dependencies = [
|
|
|
89
95
|
|
|
90
96
|
[[package]]
|
|
91
97
|
name = "clap"
|
|
92
|
-
version = "4.5.
|
|
98
|
+
version = "4.5.21"
|
|
93
99
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
-
checksum = "
|
|
100
|
+
checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f"
|
|
95
101
|
dependencies = [
|
|
96
102
|
"clap_builder",
|
|
97
103
|
]
|
|
98
104
|
|
|
99
105
|
[[package]]
|
|
100
106
|
name = "clap_builder"
|
|
101
|
-
version = "4.5.
|
|
107
|
+
version = "4.5.21"
|
|
102
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
103
|
-
checksum = "
|
|
109
|
+
checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec"
|
|
104
110
|
dependencies = [
|
|
105
111
|
"anstyle",
|
|
106
112
|
"clap_lex",
|
|
@@ -108,9 +114,9 @@ dependencies = [
|
|
|
108
114
|
|
|
109
115
|
[[package]]
|
|
110
116
|
name = "clap_lex"
|
|
111
|
-
version = "0.7.
|
|
117
|
+
version = "0.7.3"
|
|
112
118
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
-
checksum = "
|
|
119
|
+
checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
|
|
114
120
|
|
|
115
121
|
[[package]]
|
|
116
122
|
name = "criterion"
|
|
@@ -150,9 +156,9 @@ dependencies = [
|
|
|
150
156
|
|
|
151
157
|
[[package]]
|
|
152
158
|
name = "crossbeam-deque"
|
|
153
|
-
version = "0.8.
|
|
159
|
+
version = "0.8.5"
|
|
154
160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
-
checksum = "
|
|
161
|
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
|
156
162
|
dependencies = [
|
|
157
163
|
"crossbeam-epoch",
|
|
158
164
|
"crossbeam-utils",
|
|
@@ -169,21 +175,21 @@ dependencies = [
|
|
|
169
175
|
|
|
170
176
|
[[package]]
|
|
171
177
|
name = "crossbeam-utils"
|
|
172
|
-
version = "0.8.
|
|
178
|
+
version = "0.8.20"
|
|
173
179
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
174
|
-
checksum = "
|
|
180
|
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
|
175
181
|
|
|
176
182
|
[[package]]
|
|
177
183
|
name = "crunchy"
|
|
178
|
-
version = "0.2.
|
|
184
|
+
version = "0.2.2"
|
|
179
185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
-
checksum = "
|
|
186
|
+
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
181
187
|
|
|
182
188
|
[[package]]
|
|
183
189
|
name = "either"
|
|
184
|
-
version = "1.
|
|
190
|
+
version = "1.13.0"
|
|
185
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
-
checksum = "
|
|
192
|
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
|
187
193
|
|
|
188
194
|
[[package]]
|
|
189
195
|
name = "fnv"
|
|
@@ -223,9 +229,9 @@ dependencies = [
|
|
|
223
229
|
|
|
224
230
|
[[package]]
|
|
225
231
|
name = "half"
|
|
226
|
-
version = "2.
|
|
232
|
+
version = "2.4.1"
|
|
227
233
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
-
checksum = "
|
|
234
|
+
checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
|
|
229
235
|
dependencies = [
|
|
230
236
|
"cfg-if",
|
|
231
237
|
"crunchy",
|
|
@@ -233,25 +239,25 @@ dependencies = [
|
|
|
233
239
|
|
|
234
240
|
[[package]]
|
|
235
241
|
name = "hermit-abi"
|
|
236
|
-
version = "0.
|
|
242
|
+
version = "0.4.0"
|
|
237
243
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
-
checksum = "
|
|
244
|
+
checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
|
|
239
245
|
|
|
240
246
|
[[package]]
|
|
241
247
|
name = "highway"
|
|
242
|
-
version = "1.
|
|
248
|
+
version = "1.2.0"
|
|
243
249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
244
|
-
checksum = "
|
|
250
|
+
checksum = "c706f1711006204c2ba8fb1a7bd55f689bbf7feca9ff40325206b5e140cff6df"
|
|
245
251
|
|
|
246
252
|
[[package]]
|
|
247
253
|
name = "is-terminal"
|
|
248
|
-
version = "0.4.
|
|
254
|
+
version = "0.4.13"
|
|
249
255
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
-
checksum = "
|
|
256
|
+
checksum = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
|
|
251
257
|
dependencies = [
|
|
252
258
|
"hermit-abi",
|
|
253
259
|
"libc",
|
|
254
|
-
"windows-sys",
|
|
260
|
+
"windows-sys 0.52.0",
|
|
255
261
|
]
|
|
256
262
|
|
|
257
263
|
[[package]]
|
|
@@ -274,17 +280,16 @@ dependencies = [
|
|
|
274
280
|
|
|
275
281
|
[[package]]
|
|
276
282
|
name = "itoa"
|
|
277
|
-
version = "1.0.
|
|
283
|
+
version = "1.0.11"
|
|
278
284
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
-
checksum = "
|
|
285
|
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
|
280
286
|
|
|
281
287
|
[[package]]
|
|
282
288
|
name = "js-sys"
|
|
283
|
-
version = "0.3.
|
|
289
|
+
version = "0.3.72"
|
|
284
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
-
checksum = "
|
|
291
|
+
checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
|
|
286
292
|
dependencies = [
|
|
287
|
-
"once_cell",
|
|
288
293
|
"wasm-bindgen",
|
|
289
294
|
]
|
|
290
295
|
|
|
@@ -296,15 +301,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
296
301
|
|
|
297
302
|
[[package]]
|
|
298
303
|
name = "libc"
|
|
299
|
-
version = "0.2.
|
|
304
|
+
version = "0.2.162"
|
|
300
305
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
-
checksum = "
|
|
306
|
+
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
|
|
302
307
|
|
|
303
308
|
[[package]]
|
|
304
309
|
name = "log"
|
|
305
|
-
version = "0.4.
|
|
310
|
+
version = "0.4.22"
|
|
306
311
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
307
|
-
checksum = "
|
|
312
|
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
|
308
313
|
|
|
309
314
|
[[package]]
|
|
310
315
|
name = "memchr"
|
|
@@ -314,9 +319,9 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|
|
314
319
|
|
|
315
320
|
[[package]]
|
|
316
321
|
name = "metrohash"
|
|
317
|
-
version = "1.0.
|
|
322
|
+
version = "1.0.6"
|
|
318
323
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
-
checksum = "
|
|
324
|
+
checksum = "3ba553cb19e2acbc54baa16faef215126243fe45e53357a3b2e9f4ebc7b0506c"
|
|
320
325
|
|
|
321
326
|
[[package]]
|
|
322
327
|
name = "num-traits"
|
|
@@ -329,15 +334,15 @@ dependencies = [
|
|
|
329
334
|
|
|
330
335
|
[[package]]
|
|
331
336
|
name = "once_cell"
|
|
332
|
-
version = "1.
|
|
337
|
+
version = "1.20.2"
|
|
333
338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
-
checksum = "
|
|
339
|
+
checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
|
|
335
340
|
|
|
336
341
|
[[package]]
|
|
337
342
|
name = "oorandom"
|
|
338
|
-
version = "11.1.
|
|
343
|
+
version = "11.1.4"
|
|
339
344
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
-
checksum = "
|
|
345
|
+
checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
|
|
341
346
|
|
|
342
347
|
[[package]]
|
|
343
348
|
name = "plotters"
|
|
@@ -369,27 +374,27 @@ dependencies = [
|
|
|
369
374
|
|
|
370
375
|
[[package]]
|
|
371
376
|
name = "ppv-lite86"
|
|
372
|
-
version = "0.2.
|
|
377
|
+
version = "0.2.20"
|
|
373
378
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
374
|
-
checksum = "
|
|
379
|
+
checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
|
|
375
380
|
dependencies = [
|
|
376
|
-
"zerocopy
|
|
381
|
+
"zerocopy",
|
|
377
382
|
]
|
|
378
383
|
|
|
379
384
|
[[package]]
|
|
380
385
|
name = "proc-macro2"
|
|
381
|
-
version = "1.0.
|
|
386
|
+
version = "1.0.89"
|
|
382
387
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
-
checksum = "
|
|
388
|
+
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
|
|
384
389
|
dependencies = [
|
|
385
390
|
"unicode-ident",
|
|
386
391
|
]
|
|
387
392
|
|
|
388
393
|
[[package]]
|
|
389
394
|
name = "quote"
|
|
390
|
-
version = "1.0.
|
|
395
|
+
version = "1.0.37"
|
|
391
396
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
-
checksum = "
|
|
397
|
+
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
|
393
398
|
dependencies = [
|
|
394
399
|
"proc-macro2",
|
|
395
400
|
]
|
|
@@ -484,15 +489,15 @@ dependencies = [
|
|
|
484
489
|
|
|
485
490
|
[[package]]
|
|
486
491
|
name = "rustversion"
|
|
487
|
-
version = "1.0.
|
|
492
|
+
version = "1.0.18"
|
|
488
493
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
-
checksum = "
|
|
494
|
+
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
|
|
490
495
|
|
|
491
496
|
[[package]]
|
|
492
497
|
name = "ryu"
|
|
493
|
-
version = "1.0.
|
|
498
|
+
version = "1.0.18"
|
|
494
499
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
-
checksum = "
|
|
500
|
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
|
496
501
|
|
|
497
502
|
[[package]]
|
|
498
503
|
name = "same-file"
|
|
@@ -511,24 +516,24 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
|
|
|
511
516
|
|
|
512
517
|
[[package]]
|
|
513
518
|
name = "semver"
|
|
514
|
-
version = "1.0.
|
|
519
|
+
version = "1.0.23"
|
|
515
520
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
516
|
-
checksum = "
|
|
521
|
+
checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
|
|
517
522
|
|
|
518
523
|
[[package]]
|
|
519
524
|
name = "serde"
|
|
520
|
-
version = "1.0.
|
|
525
|
+
version = "1.0.215"
|
|
521
526
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
-
checksum = "
|
|
527
|
+
checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
|
|
523
528
|
dependencies = [
|
|
524
529
|
"serde_derive",
|
|
525
530
|
]
|
|
526
531
|
|
|
527
532
|
[[package]]
|
|
528
533
|
name = "serde_derive"
|
|
529
|
-
version = "1.0.
|
|
534
|
+
version = "1.0.215"
|
|
530
535
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
531
|
-
checksum = "
|
|
536
|
+
checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
|
|
532
537
|
dependencies = [
|
|
533
538
|
"proc-macro2",
|
|
534
539
|
"quote",
|
|
@@ -537,9 +542,9 @@ dependencies = [
|
|
|
537
542
|
|
|
538
543
|
[[package]]
|
|
539
544
|
name = "serde_json"
|
|
540
|
-
version = "1.0.
|
|
545
|
+
version = "1.0.132"
|
|
541
546
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
542
|
-
checksum = "
|
|
547
|
+
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
|
|
543
548
|
dependencies = [
|
|
544
549
|
"itoa",
|
|
545
550
|
"memchr",
|
|
@@ -555,9 +560,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
555
560
|
|
|
556
561
|
[[package]]
|
|
557
562
|
name = "syn"
|
|
558
|
-
version = "2.0.
|
|
563
|
+
version = "2.0.87"
|
|
559
564
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
560
|
-
checksum = "
|
|
565
|
+
checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
|
|
561
566
|
dependencies = [
|
|
562
567
|
"proc-macro2",
|
|
563
568
|
"quote",
|
|
@@ -599,9 +604,9 @@ dependencies = [
|
|
|
599
604
|
|
|
600
605
|
[[package]]
|
|
601
606
|
name = "unicode-ident"
|
|
602
|
-
version = "1.0.
|
|
607
|
+
version = "1.0.13"
|
|
603
608
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
-
checksum = "
|
|
609
|
+
checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
|
|
605
610
|
|
|
606
611
|
[[package]]
|
|
607
612
|
name = "version_check"
|
|
@@ -627,24 +632,24 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
627
632
|
|
|
628
633
|
[[package]]
|
|
629
634
|
name = "wasm-bindgen"
|
|
630
|
-
version = "0.2.
|
|
635
|
+
version = "0.2.95"
|
|
631
636
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
632
|
-
checksum = "
|
|
637
|
+
checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
|
|
633
638
|
dependencies = [
|
|
634
639
|
"cfg-if",
|
|
635
640
|
"once_cell",
|
|
636
|
-
"rustversion",
|
|
637
641
|
"wasm-bindgen-macro",
|
|
638
642
|
]
|
|
639
643
|
|
|
640
644
|
[[package]]
|
|
641
645
|
name = "wasm-bindgen-backend"
|
|
642
|
-
version = "0.2.
|
|
646
|
+
version = "0.2.95"
|
|
643
647
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
644
|
-
checksum = "
|
|
648
|
+
checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
|
|
645
649
|
dependencies = [
|
|
646
650
|
"bumpalo",
|
|
647
651
|
"log",
|
|
652
|
+
"once_cell",
|
|
648
653
|
"proc-macro2",
|
|
649
654
|
"quote",
|
|
650
655
|
"syn",
|
|
@@ -653,9 +658,9 @@ dependencies = [
|
|
|
653
658
|
|
|
654
659
|
[[package]]
|
|
655
660
|
name = "wasm-bindgen-macro"
|
|
656
|
-
version = "0.2.
|
|
661
|
+
version = "0.2.95"
|
|
657
662
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
658
|
-
checksum = "
|
|
663
|
+
checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
|
|
659
664
|
dependencies = [
|
|
660
665
|
"quote",
|
|
661
666
|
"wasm-bindgen-macro-support",
|
|
@@ -663,9 +668,9 @@ dependencies = [
|
|
|
663
668
|
|
|
664
669
|
[[package]]
|
|
665
670
|
name = "wasm-bindgen-macro-support"
|
|
666
|
-
version = "0.2.
|
|
671
|
+
version = "0.2.95"
|
|
667
672
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
668
|
-
checksum = "
|
|
673
|
+
checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
|
|
669
674
|
dependencies = [
|
|
670
675
|
"proc-macro2",
|
|
671
676
|
"quote",
|
|
@@ -676,18 +681,15 @@ dependencies = [
|
|
|
676
681
|
|
|
677
682
|
[[package]]
|
|
678
683
|
name = "wasm-bindgen-shared"
|
|
679
|
-
version = "0.2.
|
|
684
|
+
version = "0.2.95"
|
|
680
685
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
681
|
-
checksum = "
|
|
682
|
-
dependencies = [
|
|
683
|
-
"unicode-ident",
|
|
684
|
-
]
|
|
686
|
+
checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
|
|
685
687
|
|
|
686
688
|
[[package]]
|
|
687
689
|
name = "web-sys"
|
|
688
|
-
version = "0.3.
|
|
690
|
+
version = "0.3.72"
|
|
689
691
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
690
|
-
checksum = "
|
|
692
|
+
checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112"
|
|
691
693
|
dependencies = [
|
|
692
694
|
"js-sys",
|
|
693
695
|
"wasm-bindgen",
|
|
@@ -699,7 +701,16 @@ version = "0.1.9"
|
|
|
699
701
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
700
702
|
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
|
701
703
|
dependencies = [
|
|
702
|
-
"windows-sys",
|
|
704
|
+
"windows-sys 0.59.0",
|
|
705
|
+
]
|
|
706
|
+
|
|
707
|
+
[[package]]
|
|
708
|
+
name = "windows-sys"
|
|
709
|
+
version = "0.52.0"
|
|
710
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
711
|
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
712
|
+
dependencies = [
|
|
713
|
+
"windows-targets",
|
|
703
714
|
]
|
|
704
715
|
|
|
705
716
|
[[package]]
|
|
@@ -781,16 +792,8 @@ version = "0.7.35"
|
|
|
781
792
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
782
793
|
checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
|
|
783
794
|
dependencies = [
|
|
784
|
-
"
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
[[package]]
|
|
788
|
-
name = "zerocopy"
|
|
789
|
-
version = "0.8.24"
|
|
790
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
791
|
-
checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879"
|
|
792
|
-
dependencies = [
|
|
793
|
-
"zerocopy-derive 0.8.24",
|
|
795
|
+
"byteorder",
|
|
796
|
+
"zerocopy-derive",
|
|
794
797
|
]
|
|
795
798
|
|
|
796
799
|
[[package]]
|
|
@@ -803,14 +806,3 @@ dependencies = [
|
|
|
803
806
|
"quote",
|
|
804
807
|
"syn",
|
|
805
808
|
]
|
|
806
|
-
|
|
807
|
-
[[package]]
|
|
808
|
-
name = "zerocopy-derive"
|
|
809
|
-
version = "0.8.24"
|
|
810
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
811
|
-
checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be"
|
|
812
|
-
dependencies = [
|
|
813
|
-
"proc-macro2",
|
|
814
|
-
"quote",
|
|
815
|
-
"syn",
|
|
816
|
-
]
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: gxhash
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
7
|
+
License: MIT
|
|
7
8
|
Requires-Python: >=3.7
|
|
8
9
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
9
10
|
|
|
@@ -16,7 +17,7 @@ Python bindings for [GxHash](https://github.com/ogxd/gxhash), a blazingly fast a
|
|
|
16
17
|
- **Blazingly Fast**: Minimal-overhead binding to leverage the full speed of GxHash.
|
|
17
18
|
- **Zero Python**: Pure Rust backend with zero additional Python runtime overhead.
|
|
18
19
|
- **Fine-Grained Control**: Build true multi-threaded or async hashing pipelines with GIL-free APIs.
|
|
19
|
-
- **Faster File Hashing**: Hash files
|
|
20
|
+
- **Faster File Hashing**: Hash files using memory-mapped I/O via Rust — 3x faster than Python's sequential I/O.
|
|
20
21
|
- **Async-Ready**: Tokio-powered async hashing for fast and efficient concurrency.
|
|
21
22
|
- **Fully Typesafe**: Predictable, clean API with complete type safety.
|
|
22
23
|
|
|
@@ -41,6 +42,20 @@ if __name__ == "__main__":
|
|
|
41
42
|
main()
|
|
42
43
|
```
|
|
43
44
|
|
|
45
|
+
Hashing bytes asynchronously.
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
from asyncio import run
|
|
49
|
+
from gxhash import GxHash128
|
|
50
|
+
|
|
51
|
+
async def main():
|
|
52
|
+
gxhash = GxHash128(seed=0)
|
|
53
|
+
result = await gxhash.hash_async(b"Hello, world!")
|
|
54
|
+
|
|
55
|
+
if __name__ == "__main__":
|
|
56
|
+
run(main())
|
|
57
|
+
```
|
|
58
|
+
|
|
44
59
|
Hashing a file.
|
|
45
60
|
|
|
46
61
|
```python
|