swarmauri_crypto_rust 0.3.0.dev37__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/Cargo.lock +497 -0
- swarmauri_crypto_rust-0.3.0.dev37/Cargo.toml +31 -0
- swarmauri_crypto_rust-0.3.0.dev37/LICENSE +201 -0
- swarmauri_crypto_rust-0.3.0.dev37/PKG-INFO +260 -0
- swarmauri_crypto_rust-0.3.0.dev37/README.md +235 -0
- swarmauri_crypto_rust-0.3.0.dev37/pyproject.toml +82 -0
- swarmauri_crypto_rust-0.3.0.dev37/python/swarmauri_crypto_rust/RustCrypto.py +367 -0
- swarmauri_crypto_rust-0.3.0.dev37/python/swarmauri_crypto_rust/__init__.py +3 -0
- swarmauri_crypto_rust-0.3.0.dev37/src/lib.rs +296 -0
- swarmauri_crypto_rust-0.3.0.dev37/tests/test_readme_example.py +34 -0
- swarmauri_crypto_rust-0.3.0.dev37/tests/unit/test_RustCrypto.py +274 -0
|
@@ -0,0 +1,497 @@
|
|
|
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.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "base64"
|
|
13
|
+
version = "0.22.1"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
16
|
+
|
|
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
|
+
[[package]]
|
|
24
|
+
name = "cc"
|
|
25
|
+
version = "1.2.34"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "42bc4aea80032b7bf409b0bc7ccad88853858911b7713a8062fdc0623867bedc"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"shlex",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "cfg-if"
|
|
34
|
+
version = "1.0.3"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "getrandom"
|
|
40
|
+
version = "0.2.16"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
|
|
43
|
+
dependencies = [
|
|
44
|
+
"cfg-if",
|
|
45
|
+
"libc",
|
|
46
|
+
"wasi",
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
[[package]]
|
|
50
|
+
name = "heck"
|
|
51
|
+
version = "0.4.1"
|
|
52
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
53
|
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
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"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "itoa"
|
|
63
|
+
version = "1.0.15"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "libc"
|
|
69
|
+
version = "0.2.175"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543"
|
|
72
|
+
|
|
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
|
+
[[package]]
|
|
84
|
+
name = "memchr"
|
|
85
|
+
version = "2.7.5"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
88
|
+
|
|
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
|
+
[[package]]
|
|
99
|
+
name = "once_cell"
|
|
100
|
+
version = "1.21.3"
|
|
101
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
103
|
+
|
|
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
|
+
[[package]]
|
|
128
|
+
name = "portable-atomic"
|
|
129
|
+
version = "1.11.1"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "ppv-lite86"
|
|
135
|
+
version = "0.2.21"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
138
|
+
dependencies = [
|
|
139
|
+
"zerocopy",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "proc-macro2"
|
|
144
|
+
version = "1.0.101"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"unicode-ident",
|
|
149
|
+
]
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "pyo3"
|
|
153
|
+
version = "0.20.3"
|
|
154
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
+
checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
|
|
156
|
+
dependencies = [
|
|
157
|
+
"cfg-if",
|
|
158
|
+
"indoc",
|
|
159
|
+
"libc",
|
|
160
|
+
"memoffset",
|
|
161
|
+
"parking_lot",
|
|
162
|
+
"portable-atomic",
|
|
163
|
+
"pyo3-build-config",
|
|
164
|
+
"pyo3-ffi",
|
|
165
|
+
"pyo3-macros",
|
|
166
|
+
"unindent",
|
|
167
|
+
]
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "pyo3-build-config"
|
|
171
|
+
version = "0.20.3"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
|
|
174
|
+
dependencies = [
|
|
175
|
+
"once_cell",
|
|
176
|
+
"target-lexicon",
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "pyo3-ffi"
|
|
181
|
+
version = "0.20.3"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"libc",
|
|
186
|
+
"pyo3-build-config",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "pyo3-macros"
|
|
191
|
+
version = "0.20.3"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
|
|
194
|
+
dependencies = [
|
|
195
|
+
"proc-macro2",
|
|
196
|
+
"pyo3-macros-backend",
|
|
197
|
+
"quote",
|
|
198
|
+
"syn",
|
|
199
|
+
]
|
|
200
|
+
|
|
201
|
+
[[package]]
|
|
202
|
+
name = "pyo3-macros-backend"
|
|
203
|
+
version = "0.20.3"
|
|
204
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
205
|
+
checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
|
|
206
|
+
dependencies = [
|
|
207
|
+
"heck",
|
|
208
|
+
"proc-macro2",
|
|
209
|
+
"pyo3-build-config",
|
|
210
|
+
"quote",
|
|
211
|
+
"syn",
|
|
212
|
+
]
|
|
213
|
+
|
|
214
|
+
[[package]]
|
|
215
|
+
name = "quote"
|
|
216
|
+
version = "1.0.40"
|
|
217
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
|
219
|
+
dependencies = [
|
|
220
|
+
"proc-macro2",
|
|
221
|
+
]
|
|
222
|
+
|
|
223
|
+
[[package]]
|
|
224
|
+
name = "rand"
|
|
225
|
+
version = "0.8.5"
|
|
226
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
227
|
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
228
|
+
dependencies = [
|
|
229
|
+
"libc",
|
|
230
|
+
"rand_chacha",
|
|
231
|
+
"rand_core",
|
|
232
|
+
]
|
|
233
|
+
|
|
234
|
+
[[package]]
|
|
235
|
+
name = "rand_chacha"
|
|
236
|
+
version = "0.3.1"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
239
|
+
dependencies = [
|
|
240
|
+
"ppv-lite86",
|
|
241
|
+
"rand_core",
|
|
242
|
+
]
|
|
243
|
+
|
|
244
|
+
[[package]]
|
|
245
|
+
name = "rand_core"
|
|
246
|
+
version = "0.6.4"
|
|
247
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
248
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
249
|
+
dependencies = [
|
|
250
|
+
"getrandom",
|
|
251
|
+
]
|
|
252
|
+
|
|
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
|
+
[[package]]
|
|
263
|
+
name = "ring"
|
|
264
|
+
version = "0.17.14"
|
|
265
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
266
|
+
checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
|
|
267
|
+
dependencies = [
|
|
268
|
+
"cc",
|
|
269
|
+
"cfg-if",
|
|
270
|
+
"getrandom",
|
|
271
|
+
"libc",
|
|
272
|
+
"untrusted",
|
|
273
|
+
"windows-sys",
|
|
274
|
+
]
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "ryu"
|
|
278
|
+
version = "1.0.20"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
281
|
+
|
|
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
|
+
[[package]]
|
|
289
|
+
name = "serde"
|
|
290
|
+
version = "1.0.219"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"serde_derive",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "serde_derive"
|
|
299
|
+
version = "1.0.219"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
|
302
|
+
dependencies = [
|
|
303
|
+
"proc-macro2",
|
|
304
|
+
"quote",
|
|
305
|
+
"syn",
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "serde_json"
|
|
310
|
+
version = "1.0.143"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"itoa",
|
|
315
|
+
"memchr",
|
|
316
|
+
"ryu",
|
|
317
|
+
"serde",
|
|
318
|
+
]
|
|
319
|
+
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "shlex"
|
|
322
|
+
version = "1.3.0"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
325
|
+
|
|
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
|
+
[[package]]
|
|
333
|
+
name = "swarmauri_crypto_rust"
|
|
334
|
+
version = "0.1.0"
|
|
335
|
+
dependencies = [
|
|
336
|
+
"base64",
|
|
337
|
+
"pyo3",
|
|
338
|
+
"rand",
|
|
339
|
+
"ring",
|
|
340
|
+
"serde",
|
|
341
|
+
"serde_json",
|
|
342
|
+
"thiserror",
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "syn"
|
|
347
|
+
version = "2.0.106"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"proc-macro2",
|
|
352
|
+
"quote",
|
|
353
|
+
"unicode-ident",
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
[[package]]
|
|
357
|
+
name = "target-lexicon"
|
|
358
|
+
version = "0.12.16"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "thiserror"
|
|
364
|
+
version = "1.0.69"
|
|
365
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
367
|
+
dependencies = [
|
|
368
|
+
"thiserror-impl",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "thiserror-impl"
|
|
373
|
+
version = "1.0.69"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"proc-macro2",
|
|
378
|
+
"quote",
|
|
379
|
+
"syn",
|
|
380
|
+
]
|
|
381
|
+
|
|
382
|
+
[[package]]
|
|
383
|
+
name = "unicode-ident"
|
|
384
|
+
version = "1.0.18"
|
|
385
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
387
|
+
|
|
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
|
+
[[package]]
|
|
395
|
+
name = "untrusted"
|
|
396
|
+
version = "0.9.0"
|
|
397
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
398
|
+
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "wasi"
|
|
402
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "windows-sys"
|
|
408
|
+
version = "0.52.0"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
411
|
+
dependencies = [
|
|
412
|
+
"windows-targets",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "windows-targets"
|
|
417
|
+
version = "0.52.6"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
420
|
+
dependencies = [
|
|
421
|
+
"windows_aarch64_gnullvm",
|
|
422
|
+
"windows_aarch64_msvc",
|
|
423
|
+
"windows_i686_gnu",
|
|
424
|
+
"windows_i686_gnullvm",
|
|
425
|
+
"windows_i686_msvc",
|
|
426
|
+
"windows_x86_64_gnu",
|
|
427
|
+
"windows_x86_64_gnullvm",
|
|
428
|
+
"windows_x86_64_msvc",
|
|
429
|
+
]
|
|
430
|
+
|
|
431
|
+
[[package]]
|
|
432
|
+
name = "windows_aarch64_gnullvm"
|
|
433
|
+
version = "0.52.6"
|
|
434
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
435
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
436
|
+
|
|
437
|
+
[[package]]
|
|
438
|
+
name = "windows_aarch64_msvc"
|
|
439
|
+
version = "0.52.6"
|
|
440
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "windows_i686_gnu"
|
|
445
|
+
version = "0.52.6"
|
|
446
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
448
|
+
|
|
449
|
+
[[package]]
|
|
450
|
+
name = "windows_i686_gnullvm"
|
|
451
|
+
version = "0.52.6"
|
|
452
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
453
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
454
|
+
|
|
455
|
+
[[package]]
|
|
456
|
+
name = "windows_i686_msvc"
|
|
457
|
+
version = "0.52.6"
|
|
458
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
459
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
460
|
+
|
|
461
|
+
[[package]]
|
|
462
|
+
name = "windows_x86_64_gnu"
|
|
463
|
+
version = "0.52.6"
|
|
464
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
465
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
466
|
+
|
|
467
|
+
[[package]]
|
|
468
|
+
name = "windows_x86_64_gnullvm"
|
|
469
|
+
version = "0.52.6"
|
|
470
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
471
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
472
|
+
|
|
473
|
+
[[package]]
|
|
474
|
+
name = "windows_x86_64_msvc"
|
|
475
|
+
version = "0.52.6"
|
|
476
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
478
|
+
|
|
479
|
+
[[package]]
|
|
480
|
+
name = "zerocopy"
|
|
481
|
+
version = "0.8.26"
|
|
482
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
483
|
+
checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f"
|
|
484
|
+
dependencies = [
|
|
485
|
+
"zerocopy-derive",
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "zerocopy-derive"
|
|
490
|
+
version = "0.8.26"
|
|
491
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
492
|
+
checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181"
|
|
493
|
+
dependencies = [
|
|
494
|
+
"proc-macro2",
|
|
495
|
+
"quote",
|
|
496
|
+
"syn",
|
|
497
|
+
]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "swarmauri_crypto_rust"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
description = "Rust-based cryptography implementation for Swarmauri"
|
|
6
|
+
license = "Apache-2.0"
|
|
7
|
+
authors = ["Swarmauri <opensource@swarmauri.com>"]
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
|
|
10
|
+
[lib]
|
|
11
|
+
name = "_rust_crypto"
|
|
12
|
+
crate-type = ["cdylib"]
|
|
13
|
+
|
|
14
|
+
[dependencies]
|
|
15
|
+
pyo3 = { version = "0.20", features = ["extension-module"] }
|
|
16
|
+
ring = "0.17"
|
|
17
|
+
rand = "0.8"
|
|
18
|
+
base64 = "0.22"
|
|
19
|
+
serde = { version = "1.0", features = ["derive"] }
|
|
20
|
+
serde_json = "1.0"
|
|
21
|
+
thiserror = "1.0"
|
|
22
|
+
|
|
23
|
+
[profile.release]
|
|
24
|
+
lto = "thin"
|
|
25
|
+
codegen-units = 1
|
|
26
|
+
panic = "abort"
|
|
27
|
+
strip = "symbols"
|
|
28
|
+
|
|
29
|
+
[profile.dev]
|
|
30
|
+
debug = true
|
|
31
|
+
opt-level = 0
|