gxhash 0.1.6__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.

@@ -243,7 +243,7 @@ dependencies = [
243
243
 
244
244
  [[package]]
245
245
  name = "py-gxhash"
246
- version = "0.1.6"
246
+ version = "0.1.7"
247
247
  dependencies = [
248
248
  "gxhash",
249
249
  "libc",
@@ -5,7 +5,7 @@ panic = "abort"
5
5
 
6
6
  [package]
7
7
  name = "py-gxhash"
8
- version = "0.1.6"
8
+ version = "0.1.7"
9
9
  edition = "2021"
10
10
 
11
11
  [lib]
@@ -13,8 +13,8 @@ name = "gxhash"
13
13
  crate-type = ["cdylib"]
14
14
 
15
15
  [features]
16
- default = ["gxhash-hybrid"]
17
- gxhash-hybrid = ["gxhash/hybrid"]
16
+ default = []
17
+ hybrid = ["gxhash/hybrid"]
18
18
 
19
19
  [dependencies]
20
20
  pyo3 = "0.24.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gxhash
3
- Version: 0.1.6
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