swarmauri_crypto_rust 0.3.0.dev37__tar.gz → 0.11.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.
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/Cargo.lock +33 -115
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/Cargo.toml +1 -1
- swarmauri_crypto_rust-0.11.0/NOTICE +7 -0
- swarmauri_crypto_rust-0.11.0/PKG-INFO +521 -0
- swarmauri_crypto_rust-0.11.0/README.md +494 -0
- swarmauri_crypto_rust-0.11.0/docs/readme/quick_start.py +34 -0
- swarmauri_crypto_rust-0.11.0/docs/readme/usage.py +34 -0
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/pyproject.toml +59 -7
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/python/swarmauri_crypto_rust/RustCrypto.py +13 -4
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/src/lib.rs +1 -1
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/tests/unit/test_RustCrypto.py +12 -4
- swarmauri_crypto_rust-0.11.0/tests/unit/test_readme_sources.py +15 -0
- swarmauri_crypto_rust-0.3.0.dev37/PKG-INFO +0 -260
- swarmauri_crypto_rust-0.3.0.dev37/README.md +0 -235
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/LICENSE +0 -0
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/python/swarmauri_crypto_rust/__init__.py +0 -0
- {swarmauri_crypto_rust-0.3.0.dev37 → swarmauri_crypto_rust-0.11.0}/tests/test_readme_example.py +0 -0
|
@@ -2,24 +2,12 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "autocfg"
|
|
7
|
-
version = "1.5.0"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
-
|
|
11
5
|
[[package]]
|
|
12
6
|
name = "base64"
|
|
13
7
|
version = "0.22.1"
|
|
14
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
9
|
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
16
10
|
|
|
17
|
-
[[package]]
|
|
18
|
-
name = "bitflags"
|
|
19
|
-
version = "2.9.3"
|
|
20
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
-
checksum = "34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d"
|
|
22
|
-
|
|
23
11
|
[[package]]
|
|
24
12
|
name = "cc"
|
|
25
13
|
version = "1.2.34"
|
|
@@ -48,15 +36,9 @@ dependencies = [
|
|
|
48
36
|
|
|
49
37
|
[[package]]
|
|
50
38
|
name = "heck"
|
|
51
|
-
version = "0.
|
|
39
|
+
version = "0.5.0"
|
|
52
40
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
-
checksum = "
|
|
54
|
-
|
|
55
|
-
[[package]]
|
|
56
|
-
name = "indoc"
|
|
57
|
-
version = "2.0.6"
|
|
58
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
-
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
|
|
41
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
60
42
|
|
|
61
43
|
[[package]]
|
|
62
44
|
name = "itoa"
|
|
@@ -70,60 +52,18 @@ version = "0.2.175"
|
|
|
70
52
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
53
|
checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
|
|
72
54
|
|
|
73
|
-
[[package]]
|
|
74
|
-
name = "lock_api"
|
|
75
|
-
version = "0.4.13"
|
|
76
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
|
|
78
|
-
dependencies = [
|
|
79
|
-
"autocfg",
|
|
80
|
-
"scopeguard",
|
|
81
|
-
]
|
|
82
|
-
|
|
83
55
|
[[package]]
|
|
84
56
|
name = "memchr"
|
|
85
57
|
version = "2.7.5"
|
|
86
58
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
59
|
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
88
60
|
|
|
89
|
-
[[package]]
|
|
90
|
-
name = "memoffset"
|
|
91
|
-
version = "0.9.1"
|
|
92
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
-
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
94
|
-
dependencies = [
|
|
95
|
-
"autocfg",
|
|
96
|
-
]
|
|
97
|
-
|
|
98
61
|
[[package]]
|
|
99
62
|
name = "once_cell"
|
|
100
63
|
version = "1.21.3"
|
|
101
64
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
65
|
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
103
66
|
|
|
104
|
-
[[package]]
|
|
105
|
-
name = "parking_lot"
|
|
106
|
-
version = "0.12.4"
|
|
107
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
108
|
-
checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
|
|
109
|
-
dependencies = [
|
|
110
|
-
"lock_api",
|
|
111
|
-
"parking_lot_core",
|
|
112
|
-
]
|
|
113
|
-
|
|
114
|
-
[[package]]
|
|
115
|
-
name = "parking_lot_core"
|
|
116
|
-
version = "0.9.11"
|
|
117
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
-
checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
|
|
119
|
-
dependencies = [
|
|
120
|
-
"cfg-if",
|
|
121
|
-
"libc",
|
|
122
|
-
"redox_syscall",
|
|
123
|
-
"smallvec",
|
|
124
|
-
"windows-targets",
|
|
125
|
-
]
|
|
126
|
-
|
|
127
67
|
[[package]]
|
|
128
68
|
name = "portable-atomic"
|
|
129
69
|
version = "1.11.1"
|
|
@@ -150,37 +90,32 @@ dependencies = [
|
|
|
150
90
|
|
|
151
91
|
[[package]]
|
|
152
92
|
name = "pyo3"
|
|
153
|
-
version = "0.
|
|
93
|
+
version = "0.30.1"
|
|
154
94
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
-
checksum = "
|
|
95
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
156
96
|
dependencies = [
|
|
157
|
-
"cfg-if",
|
|
158
|
-
"indoc",
|
|
159
97
|
"libc",
|
|
160
|
-
"
|
|
161
|
-
"parking_lot",
|
|
98
|
+
"once_cell",
|
|
162
99
|
"portable-atomic",
|
|
163
100
|
"pyo3-build-config",
|
|
164
101
|
"pyo3-ffi",
|
|
165
102
|
"pyo3-macros",
|
|
166
|
-
"unindent",
|
|
167
103
|
]
|
|
168
104
|
|
|
169
105
|
[[package]]
|
|
170
106
|
name = "pyo3-build-config"
|
|
171
|
-
version = "0.
|
|
107
|
+
version = "0.30.1"
|
|
172
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
109
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
174
110
|
dependencies = [
|
|
175
|
-
"once_cell",
|
|
176
111
|
"target-lexicon",
|
|
177
112
|
]
|
|
178
113
|
|
|
179
114
|
[[package]]
|
|
180
115
|
name = "pyo3-ffi"
|
|
181
|
-
version = "0.
|
|
116
|
+
version = "0.30.1"
|
|
182
117
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
-
checksum = "
|
|
118
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
184
119
|
dependencies = [
|
|
185
120
|
"libc",
|
|
186
121
|
"pyo3-build-config",
|
|
@@ -188,27 +123,26 @@ dependencies = [
|
|
|
188
123
|
|
|
189
124
|
[[package]]
|
|
190
125
|
name = "pyo3-macros"
|
|
191
|
-
version = "0.
|
|
126
|
+
version = "0.30.1"
|
|
192
127
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
-
checksum = "
|
|
128
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
194
129
|
dependencies = [
|
|
195
130
|
"proc-macro2",
|
|
196
131
|
"pyo3-macros-backend",
|
|
197
132
|
"quote",
|
|
198
|
-
"syn",
|
|
133
|
+
"syn 3.0.9",
|
|
199
134
|
]
|
|
200
135
|
|
|
201
136
|
[[package]]
|
|
202
137
|
name = "pyo3-macros-backend"
|
|
203
|
-
version = "0.
|
|
138
|
+
version = "0.30.1"
|
|
204
139
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
205
|
-
checksum = "
|
|
140
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
206
141
|
dependencies = [
|
|
207
142
|
"heck",
|
|
208
143
|
"proc-macro2",
|
|
209
|
-
"pyo3-build-config",
|
|
210
144
|
"quote",
|
|
211
|
-
"syn",
|
|
145
|
+
"syn 3.0.9",
|
|
212
146
|
]
|
|
213
147
|
|
|
214
148
|
[[package]]
|
|
@@ -222,9 +156,9 @@ dependencies = [
|
|
|
222
156
|
|
|
223
157
|
[[package]]
|
|
224
158
|
name = "rand"
|
|
225
|
-
version = "0.8.
|
|
159
|
+
version = "0.8.6"
|
|
226
160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
-
checksum = "
|
|
161
|
+
checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a"
|
|
228
162
|
dependencies = [
|
|
229
163
|
"libc",
|
|
230
164
|
"rand_chacha",
|
|
@@ -250,15 +184,6 @@ dependencies = [
|
|
|
250
184
|
"getrandom",
|
|
251
185
|
]
|
|
252
186
|
|
|
253
|
-
[[package]]
|
|
254
|
-
name = "redox_syscall"
|
|
255
|
-
version = "0.5.17"
|
|
256
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
-
checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
|
|
258
|
-
dependencies = [
|
|
259
|
-
"bitflags",
|
|
260
|
-
]
|
|
261
|
-
|
|
262
187
|
[[package]]
|
|
263
188
|
name = "ring"
|
|
264
189
|
version = "0.17.14"
|
|
@@ -279,12 +204,6 @@ version = "1.0.20"
|
|
|
279
204
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
205
|
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
281
206
|
|
|
282
|
-
[[package]]
|
|
283
|
-
name = "scopeguard"
|
|
284
|
-
version = "1.2.0"
|
|
285
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
-
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
287
|
-
|
|
288
207
|
[[package]]
|
|
289
208
|
name = "serde"
|
|
290
209
|
version = "1.0.219"
|
|
@@ -302,7 +221,7 @@ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
|
|
302
221
|
dependencies = [
|
|
303
222
|
"proc-macro2",
|
|
304
223
|
"quote",
|
|
305
|
-
"syn",
|
|
224
|
+
"syn 2.0.106",
|
|
306
225
|
]
|
|
307
226
|
|
|
308
227
|
[[package]]
|
|
@@ -323,12 +242,6 @@ version = "1.3.0"
|
|
|
323
242
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
243
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
325
244
|
|
|
326
|
-
[[package]]
|
|
327
|
-
name = "smallvec"
|
|
328
|
-
version = "1.15.1"
|
|
329
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
-
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
331
|
-
|
|
332
245
|
[[package]]
|
|
333
246
|
name = "swarmauri_crypto_rust"
|
|
334
247
|
version = "0.1.0"
|
|
@@ -353,11 +266,22 @@ dependencies = [
|
|
|
353
266
|
"unicode-ident",
|
|
354
267
|
]
|
|
355
268
|
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "syn"
|
|
271
|
+
version = "3.0.9"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
274
|
+
dependencies = [
|
|
275
|
+
"proc-macro2",
|
|
276
|
+
"quote",
|
|
277
|
+
"unicode-ident",
|
|
278
|
+
]
|
|
279
|
+
|
|
356
280
|
[[package]]
|
|
357
281
|
name = "target-lexicon"
|
|
358
|
-
version = "0.
|
|
282
|
+
version = "0.13.5"
|
|
359
283
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
-
checksum = "
|
|
284
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
361
285
|
|
|
362
286
|
[[package]]
|
|
363
287
|
name = "thiserror"
|
|
@@ -376,7 +300,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
|
376
300
|
dependencies = [
|
|
377
301
|
"proc-macro2",
|
|
378
302
|
"quote",
|
|
379
|
-
"syn",
|
|
303
|
+
"syn 2.0.106",
|
|
380
304
|
]
|
|
381
305
|
|
|
382
306
|
[[package]]
|
|
@@ -385,12 +309,6 @@ version = "1.0.18"
|
|
|
385
309
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
310
|
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
387
311
|
|
|
388
|
-
[[package]]
|
|
389
|
-
name = "unindent"
|
|
390
|
-
version = "0.2.4"
|
|
391
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
392
|
-
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
393
|
-
|
|
394
312
|
[[package]]
|
|
395
313
|
name = "untrusted"
|
|
396
314
|
version = "0.9.0"
|
|
@@ -493,5 +411,5 @@ checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
|
|
|
493
411
|
dependencies = [
|
|
494
412
|
"proc-macro2",
|
|
495
413
|
"quote",
|
|
496
|
-
"syn",
|
|
414
|
+
"syn 2.0.106",
|
|
497
415
|
]
|
|
@@ -12,7 +12,7 @@ name = "_rust_crypto"
|
|
|
12
12
|
crate-type = ["cdylib"]
|
|
13
13
|
|
|
14
14
|
[dependencies]
|
|
15
|
-
pyo3 = { version = "0.
|
|
15
|
+
pyo3 = { version = "0.30.1", features = ["extension-module", "abi3-py310"] }
|
|
16
16
|
ring = "0.17"
|
|
17
17
|
rand = "0.8"
|
|
18
18
|
base64 = "0.22"
|