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.
- {gxhash-0.1.6 → gxhash-0.1.7}/Cargo.lock +1 -1
- {gxhash-0.1.6 → gxhash-0.1.7}/Cargo.toml +3 -3
- {gxhash-0.1.6 → gxhash-0.1.7}/PKG-INFO +15 -1
- {gxhash-0.1.6 → gxhash-0.1.7}/README.md +14 -0
- {gxhash-0.1.6 → gxhash-0.1.7}/.cargo/config.toml +0 -0
- {gxhash-0.1.6 → gxhash-0.1.7}/gxhash.pyi +0 -0
- {gxhash-0.1.6 → gxhash-0.1.7}/pyproject.toml +0 -0
- {gxhash-0.1.6 → gxhash-0.1.7}/src/lib.rs +0 -0
|
@@ -5,7 +5,7 @@ panic = "abort"
|
|
|
5
5
|
|
|
6
6
|
[package]
|
|
7
7
|
name = "py-gxhash"
|
|
8
|
-
version = "0.1.
|
|
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 = [
|
|
17
|
-
|
|
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.
|
|
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
|