square-rulerpack-native 0.2.0__tar.gz → 0.3.0__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.
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/Cargo.lock +2 -4
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/Cargo.toml +2 -2
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/PKG-INFO +1 -1
- square_rulerpack_native-0.3.0/dist/square_rulerpack_native-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl +0 -0
- square_rulerpack_native-0.3.0/engine/Cargo.lock +111 -0
- square_rulerpack_native-0.3.0/engine/Cargo.toml +28 -0
- square_rulerpack_native-0.3.0/engine/LICENSE +21 -0
- square_rulerpack_native-0.3.0/engine/README.md +589 -0
- square_rulerpack_native-0.3.0/engine/examples/factor.rs +19 -0
- square_rulerpack_native-0.3.0/engine/examples/fill_bench.rs +26 -0
- square_rulerpack_native-0.3.0/engine/examples/siqs_sweep.rs +41 -0
- square_rulerpack_native-0.3.0/engine/examples/stream_bench.rs +37 -0
- square_rulerpack_native-0.3.0/engine/examples/uecm_bench.rs +31 -0
- square_rulerpack_native-0.3.0/engine/src/arith64.rs +188 -0
- square_rulerpack_native-0.3.0/engine/src/cycles.rs +109 -0
- square_rulerpack_native-0.3.0/engine/src/lib.rs +13 -0
- square_rulerpack_native-0.3.0/engine/src/params.rs +135 -0
- square_rulerpack_native-0.3.0/engine/src/siqs.rs +2481 -0
- square_rulerpack_native-0.3.0/engine/src/uecm.rs +264 -0
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/pyproject.toml +1 -1
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/src/lib.rs +1 -1
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/LICENSE +0 -0
- {square_rulerpack_native-0.2.0 → square_rulerpack_native-0.3.0}/README.md +0 -0
|
@@ -202,9 +202,7 @@ dependencies = [
|
|
|
202
202
|
|
|
203
203
|
[[package]]
|
|
204
204
|
name = "square-rulerpack"
|
|
205
|
-
version = "0.
|
|
206
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
-
checksum = "6ed52ed5e1dc61c06ad2e25fa633abc9bd7fda94c5357d7b7802d18c5a5e6935"
|
|
205
|
+
version = "0.3.0"
|
|
208
206
|
dependencies = [
|
|
209
207
|
"num-bigint",
|
|
210
208
|
"num-integer",
|
|
@@ -215,7 +213,7 @@ dependencies = [
|
|
|
215
213
|
|
|
216
214
|
[[package]]
|
|
217
215
|
name = "square-rulerpack-native"
|
|
218
|
-
version = "0.
|
|
216
|
+
version = "0.3.0"
|
|
219
217
|
dependencies = [
|
|
220
218
|
"num-bigint",
|
|
221
219
|
"num-traits",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "square-rulerpack-native"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
description = "Lars Rocha's square-rulerpack quadratic sieve (Rust) as a Python extension module."
|
|
@@ -14,7 +14,7 @@ crate-type = ["cdylib"]
|
|
|
14
14
|
|
|
15
15
|
[dependencies]
|
|
16
16
|
pyo3 = { version = "0.30", features = ["extension-module", "abi3-py310", "num-bigint"] }
|
|
17
|
-
square-rulerpack = "
|
|
17
|
+
square-rulerpack = { path = "engine" } # the engine crate, vendored: wheels build from this tree alone
|
|
18
18
|
rulerpack = { version = "0.3.1", features = ["big"] }
|
|
19
19
|
num-bigint = "0.4"
|
|
20
20
|
num-traits = "0.2"
|
|
Binary file
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.5.1"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "crossbeam-deque"
|
|
13
|
+
version = "0.8.8"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"crossbeam-epoch",
|
|
18
|
+
"crossbeam-utils",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[[package]]
|
|
22
|
+
name = "crossbeam-epoch"
|
|
23
|
+
version = "0.9.21"
|
|
24
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
25
|
+
checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
|
|
26
|
+
dependencies = [
|
|
27
|
+
"crossbeam-utils",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[[package]]
|
|
31
|
+
name = "crossbeam-utils"
|
|
32
|
+
version = "0.8.23"
|
|
33
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
34
|
+
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "either"
|
|
38
|
+
version = "1.19.0"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "num-bigint"
|
|
44
|
+
version = "0.4.8"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
|
|
47
|
+
dependencies = [
|
|
48
|
+
"num-integer",
|
|
49
|
+
"num-traits",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "num-integer"
|
|
54
|
+
version = "0.1.47"
|
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
57
|
+
dependencies = [
|
|
58
|
+
"num-traits",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "num-traits"
|
|
63
|
+
version = "0.2.19"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"autocfg",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "rayon"
|
|
72
|
+
version = "1.12.0"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
75
|
+
dependencies = [
|
|
76
|
+
"either",
|
|
77
|
+
"rayon-core",
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
[[package]]
|
|
81
|
+
name = "rayon-core"
|
|
82
|
+
version = "1.13.0"
|
|
83
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
85
|
+
dependencies = [
|
|
86
|
+
"crossbeam-deque",
|
|
87
|
+
"crossbeam-utils",
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "rulerpack"
|
|
92
|
+
version = "0.3.1"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "5719c79cb15f909462649c00e447e222e20d79fd14b193882800679872b42cc3"
|
|
95
|
+
dependencies = [
|
|
96
|
+
"num-bigint",
|
|
97
|
+
"num-integer",
|
|
98
|
+
"num-traits",
|
|
99
|
+
"rayon",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "square-rulerpack"
|
|
104
|
+
version = "0.3.0"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"num-bigint",
|
|
107
|
+
"num-integer",
|
|
108
|
+
"num-traits",
|
|
109
|
+
"rayon",
|
|
110
|
+
"rulerpack",
|
|
111
|
+
]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "square-rulerpack"
|
|
3
|
+
version = "0.3.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
license = "MIT"
|
|
6
|
+
description = "Lars Rocha's second factoring engine: self-initialising quadratic sieve with double large primes, cache-sized blocks and square lanes, in pure Rust."
|
|
7
|
+
repository = "https://github.com/oppressionslayer/square-rulerpack-rs"
|
|
8
|
+
authors = ["Lars Rocha"]
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
|
|
11
|
+
[dependencies]
|
|
12
|
+
num-bigint = "0.4"
|
|
13
|
+
num-traits = "0.2"
|
|
14
|
+
num-integer = "0.1"
|
|
15
|
+
rayon = "1"
|
|
16
|
+
rulerpack = { version = "0.3.1", features = ["big"] }
|
|
17
|
+
|
|
18
|
+
[features]
|
|
19
|
+
default = []
|
|
20
|
+
simd = []
|
|
21
|
+
profile = []
|
|
22
|
+
|
|
23
|
+
[profile.release]
|
|
24
|
+
opt-level = 3
|
|
25
|
+
debug = 1
|
|
26
|
+
|
|
27
|
+
[[example]]
|
|
28
|
+
name = "uecm_bench"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Lars Rocha
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|