gxhash 0.1.5__tar.gz → 0.1.7__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.

@@ -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
3
+ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "addr2line"
@@ -25,9 +25,9 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
25
25
 
26
26
  [[package]]
27
27
  name = "backtrace"
28
- version = "0.3.75"
28
+ version = "0.3.74"
29
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
30
- checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002"
30
+ checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a"
31
31
  dependencies = [
32
32
  "addr2line",
33
33
  "cfg-if",
@@ -156,9 +156,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
156
156
 
157
157
  [[package]]
158
158
  name = "indoc"
159
- version = "2.0.5"
159
+ version = "2.0.6"
160
160
  source = "registry+https://github.com/rust-lang/crates.io-index"
161
- checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
161
+ checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
162
162
 
163
163
  [[package]]
164
164
  name = "libc"
@@ -192,9 +192,9 @@ dependencies = [
192
192
 
193
193
  [[package]]
194
194
  name = "miniz_oxide"
195
- version = "0.8.8"
195
+ version = "0.8.5"
196
196
  source = "registry+https://github.com/rust-lang/crates.io-index"
197
- checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a"
197
+ checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5"
198
198
  dependencies = [
199
199
  "adler2",
200
200
  ]
@@ -210,9 +210,9 @@ dependencies = [
210
210
 
211
211
  [[package]]
212
212
  name = "once_cell"
213
- version = "1.20.2"
213
+ version = "1.21.1"
214
214
  source = "registry+https://github.com/rust-lang/crates.io-index"
215
- checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
215
+ checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc"
216
216
 
217
217
  [[package]]
218
218
  name = "pin-project-lite"
@@ -228,22 +228,22 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
228
228
 
229
229
  [[package]]
230
230
  name = "portable-atomic"
231
- version = "1.9.0"
231
+ version = "1.11.0"
232
232
  source = "registry+https://github.com/rust-lang/crates.io-index"
233
- checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2"
233
+ checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
234
234
 
235
235
  [[package]]
236
236
  name = "proc-macro2"
237
- version = "1.0.89"
237
+ version = "1.0.94"
238
238
  source = "registry+https://github.com/rust-lang/crates.io-index"
239
- checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e"
239
+ checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
240
240
  dependencies = [
241
241
  "unicode-ident",
242
242
  ]
243
243
 
244
244
  [[package]]
245
245
  name = "py-gxhash"
246
- version = "0.1.5"
246
+ version = "0.1.7"
247
247
  dependencies = [
248
248
  "gxhash",
249
249
  "libc",
@@ -255,9 +255,9 @@ dependencies = [
255
255
 
256
256
  [[package]]
257
257
  name = "pyo3"
258
- version = "0.24.2"
258
+ version = "0.24.0"
259
259
  source = "registry+https://github.com/rust-lang/crates.io-index"
260
- checksum = "e5203598f366b11a02b13aa20cab591229ff0a89fd121a308a5df751d5fc9219"
260
+ checksum = "7f1c6c3591120564d64db2261bec5f910ae454f01def849b9c22835a84695e86"
261
261
  dependencies = [
262
262
  "cfg-if",
263
263
  "indoc",
@@ -286,9 +286,9 @@ dependencies = [
286
286
 
287
287
  [[package]]
288
288
  name = "pyo3-build-config"
289
- version = "0.24.2"
289
+ version = "0.24.0"
290
290
  source = "registry+https://github.com/rust-lang/crates.io-index"
291
- checksum = "99636d423fa2ca130fa5acde3059308006d46f98caac629418e53f7ebb1e9999"
291
+ checksum = "e9b6c2b34cf71427ea37c7001aefbaeb85886a074795e35f161f5aecc7620a7a"
292
292
  dependencies = [
293
293
  "once_cell",
294
294
  "target-lexicon",
@@ -296,9 +296,9 @@ dependencies = [
296
296
 
297
297
  [[package]]
298
298
  name = "pyo3-ffi"
299
- version = "0.24.2"
299
+ version = "0.24.0"
300
300
  source = "registry+https://github.com/rust-lang/crates.io-index"
301
- checksum = "78f9cf92ba9c409279bc3305b5409d90db2d2c22392d443a87df3a1adad59e33"
301
+ checksum = "5507651906a46432cdda02cd02dd0319f6064f1374c9147c45b978621d2c3a9c"
302
302
  dependencies = [
303
303
  "libc",
304
304
  "pyo3-build-config",
@@ -306,9 +306,9 @@ dependencies = [
306
306
 
307
307
  [[package]]
308
308
  name = "pyo3-macros"
309
- version = "0.24.2"
309
+ version = "0.24.0"
310
310
  source = "registry+https://github.com/rust-lang/crates.io-index"
311
- checksum = "0b999cb1a6ce21f9a6b147dcf1be9ffedf02e0043aec74dc390f3007047cecd9"
311
+ checksum = "b0d394b5b4fd8d97d48336bb0dd2aebabad39f1d294edd6bcd2cccf2eefe6f42"
312
312
  dependencies = [
313
313
  "proc-macro2",
314
314
  "pyo3-macros-backend",
@@ -318,9 +318,9 @@ dependencies = [
318
318
 
319
319
  [[package]]
320
320
  name = "pyo3-macros-backend"
321
- version = "0.24.2"
321
+ version = "0.24.0"
322
322
  source = "registry+https://github.com/rust-lang/crates.io-index"
323
- checksum = "822ece1c7e1012745607d5cf0bcb2874769f0f7cb34c4cde03b9358eb9ef911a"
323
+ checksum = "fd72da09cfa943b1080f621f024d2ef7e2773df7badd51aa30a2be1f8caa7c8e"
324
324
  dependencies = [
325
325
  "heck",
326
326
  "proc-macro2",
@@ -331,9 +331,9 @@ dependencies = [
331
331
 
332
332
  [[package]]
333
333
  name = "quote"
334
- version = "1.0.37"
334
+ version = "1.0.40"
335
335
  source = "registry+https://github.com/rust-lang/crates.io-index"
336
- checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
336
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
337
337
  dependencies = [
338
338
  "proc-macro2",
339
339
  ]
@@ -346,9 +346,9 @@ checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
346
346
 
347
347
  [[package]]
348
348
  name = "rustversion"
349
- version = "1.0.18"
349
+ version = "1.0.20"
350
350
  source = "registry+https://github.com/rust-lang/crates.io-index"
351
- checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
351
+ checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
352
352
 
353
353
  [[package]]
354
354
  name = "slab"
@@ -361,9 +361,9 @@ dependencies = [
361
361
 
362
362
  [[package]]
363
363
  name = "syn"
364
- version = "2.0.87"
364
+ version = "2.0.100"
365
365
  source = "registry+https://github.com/rust-lang/crates.io-index"
366
- checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
366
+ checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
367
367
  dependencies = [
368
368
  "proc-macro2",
369
369
  "quote",
@@ -378,9 +378,9 @@ checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
378
378
 
379
379
  [[package]]
380
380
  name = "tokio"
381
- version = "1.45.0"
381
+ version = "1.44.1"
382
382
  source = "registry+https://github.com/rust-lang/crates.io-index"
383
- checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165"
383
+ checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a"
384
384
  dependencies = [
385
385
  "backtrace",
386
386
  "pin-project-lite",
@@ -388,15 +388,15 @@ dependencies = [
388
388
 
389
389
  [[package]]
390
390
  name = "unicode-ident"
391
- version = "1.0.13"
391
+ version = "1.0.18"
392
392
  source = "registry+https://github.com/rust-lang/crates.io-index"
393
- checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
393
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
394
394
 
395
395
  [[package]]
396
396
  name = "unindent"
397
- version = "0.2.3"
397
+ version = "0.2.4"
398
398
  source = "registry+https://github.com/rust-lang/crates.io-index"
399
- checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
399
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
400
400
 
401
401
  [[package]]
402
402
  name = "windows-targets"
@@ -5,17 +5,21 @@ panic = "abort"
5
5
 
6
6
  [package]
7
7
  name = "py-gxhash"
8
- version = "0.1.5"
8
+ version = "0.1.7"
9
9
  edition = "2021"
10
10
 
11
11
  [lib]
12
12
  name = "gxhash"
13
13
  crate-type = ["cdylib"]
14
14
 
15
+ [features]
16
+ default = []
17
+ hybrid = ["gxhash/hybrid"]
18
+
15
19
  [dependencies]
16
20
  pyo3 = "0.24.0"
17
21
  pyo3-async-runtimes = { version = "0.24.0", features = ["tokio-runtime"] }
18
22
  tokio = "1.44.1"
19
- gxhash = { version = "3.5.0", features = ["hybrid"], default-features = false }
23
+ gxhash = { version = "3.5.0", default-features = false }
20
24
  memmap2 = "0.9.5"
21
25
  libc = "0.2.171"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gxhash
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -23,10 +23,24 @@ Python bindings for [GxHash](https://github.com/ogxd/gxhash), a blazingly fast a
23
23
 
24
24
  ## Installation
25
25
 
26
+ You must have [rustup](https://rustup.rs/) installed and set to `nightly`.
27
+
26
28
  ```bash
27
29
  pip install gxhash
28
30
  ```
29
31
 
32
+ You can install `gxhash` with the `hybrid` feature with the following.
33
+
34
+ ```bash
35
+ pip install gxhash --config-settings build-args="--features hybrid"
36
+ ```
37
+
38
+ By default, `gxhash` uses your system's vectorisation features. You can disable this by setting the relevant `RUSTFLAGS`.
39
+
40
+ ```bash
41
+ RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+aes,+avx2" pip install gxhash
42
+ ```
43
+
30
44
  ## Usage
31
45
 
32
46
  Hashing bytes.
@@ -13,10 +13,24 @@ Python bindings for [GxHash](https://github.com/ogxd/gxhash), a blazingly fast a
13
13
 
14
14
  ## Installation
15
15
 
16
+ You must have [rustup](https://rustup.rs/) installed and set to `nightly`.
17
+
16
18
  ```bash
17
19
  pip install gxhash
18
20
  ```
19
21
 
22
+ You can install `gxhash` with the `hybrid` feature with the following.
23
+
24
+ ```bash
25
+ pip install gxhash --config-settings build-args="--features hybrid"
26
+ ```
27
+
28
+ By default, `gxhash` uses your system's vectorisation features. You can disable this by setting the relevant `RUSTFLAGS`.
29
+
30
+ ```bash
31
+ RUSTFLAGS="-C target-cpu=x86-64 -C target-feature=+aes,+avx2" pip install gxhash
32
+ ```
33
+
20
34
  ## Usage
21
35
 
22
36
  Hashing bytes.
File without changes
File without changes
File without changes
File without changes