anonyma 0.1.0a1__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.
Files changed (47) hide show
  1. anonyma-0.1.0a1/Cargo.lock +610 -0
  2. anonyma-0.1.0a1/Cargo.toml +31 -0
  3. anonyma-0.1.0a1/PKG-INFO +88 -0
  4. anonyma-0.1.0a1/README.md +63 -0
  5. anonyma-0.1.0a1/bindings/python/Cargo.toml +24 -0
  6. anonyma-0.1.0a1/bindings/python/README.md +63 -0
  7. anonyma-0.1.0a1/bindings/python/src/lib.rs +243 -0
  8. anonyma-0.1.0a1/bindings/python/tests/test_api.py +103 -0
  9. anonyma-0.1.0a1/bindings/python/tests/test_conformance.py +105 -0
  10. anonyma-0.1.0a1/bindings/python/tests/test_integrations.py +61 -0
  11. anonyma-0.1.0a1/crates/anonyma-core/Cargo.toml +22 -0
  12. anonyma-0.1.0a1/crates/anonyma-core/README.md +48 -0
  13. anonyma-0.1.0a1/crates/anonyma-core/src/category.rs +120 -0
  14. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/bank_account.rs +144 -0
  15. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/credit_card.rs +62 -0
  16. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/email.rs +51 -0
  17. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/iban.rs +36 -0
  18. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/ip.rs +53 -0
  19. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/mod.rs +212 -0
  20. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/national_id.rs +58 -0
  21. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/ssn.rs +69 -0
  22. anonyma-0.1.0a1/crates/anonyma-core/src/detectors/tax_id.rs +80 -0
  23. anonyma-0.1.0a1/crates/anonyma-core/src/engine.rs +370 -0
  24. anonyma-0.1.0a1/crates/anonyma-core/src/error.rs +78 -0
  25. anonyma-0.1.0a1/crates/anonyma-core/src/jsregex.rs +304 -0
  26. anonyma-0.1.0a1/crates/anonyma-core/src/lib.rs +119 -0
  27. anonyma-0.1.0a1/crates/anonyma-core/src/offsets.rs +48 -0
  28. anonyma-0.1.0a1/crates/anonyma-core/src/presets.rs +341 -0
  29. anonyma-0.1.0a1/crates/anonyma-core/src/receipt.rs +619 -0
  30. anonyma-0.1.0a1/crates/anonyma-core/src/strategy.rs +271 -0
  31. anonyma-0.1.0a1/crates/anonyma-core/src/validators.rs +368 -0
  32. anonyma-0.1.0a1/crates/anonyma-core/src/vault.rs +406 -0
  33. anonyma-0.1.0a1/crates/anonyma-ffi/Cargo.toml +29 -0
  34. anonyma-0.1.0a1/crates/anonyma-ffi/README.md +27 -0
  35. anonyma-0.1.0a1/crates/anonyma-ffi/include/anonyma.h +40 -0
  36. anonyma-0.1.0a1/crates/anonyma-ffi/src/api.rs +475 -0
  37. anonyma-0.1.0a1/crates/anonyma-ffi/src/c_abi.rs +184 -0
  38. anonyma-0.1.0a1/crates/anonyma-ffi/src/lib.rs +25 -0
  39. anonyma-0.1.0a1/crates/anonyma-ffi/tests/conformance.rs +161 -0
  40. anonyma-0.1.0a1/pyproject.toml +41 -0
  41. anonyma-0.1.0a1/python/anonyma/__init__.py +334 -0
  42. anonyma-0.1.0a1/python/anonyma/_native.pyi +44 -0
  43. anonyma-0.1.0a1/python/anonyma/integrations/__init__.py +9 -0
  44. anonyma-0.1.0a1/python/anonyma/integrations/chat.py +47 -0
  45. anonyma-0.1.0a1/python/anonyma/integrations/langchain.py +45 -0
  46. anonyma-0.1.0a1/python/anonyma/integrations/openai.py +44 -0
  47. anonyma-0.1.0a1/python/anonyma/py.typed +0 -0
@@ -0,0 +1,610 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 3
4
+
5
+ [[package]]
6
+ name = "aho-corasick"
7
+ version = "1.1.5"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "anonyma-core"
16
+ version = "0.1.0"
17
+ dependencies = [
18
+ "getrandom",
19
+ "hmac",
20
+ "regex",
21
+ "serde_json",
22
+ "sha2",
23
+ ]
24
+
25
+ [[package]]
26
+ name = "anonyma-ffi"
27
+ version = "0.1.0"
28
+ dependencies = [
29
+ "anonyma-core",
30
+ "regex",
31
+ "serde_json",
32
+ ]
33
+
34
+ [[package]]
35
+ name = "anonyma-node"
36
+ version = "0.1.0"
37
+ dependencies = [
38
+ "anonyma-core",
39
+ "anonyma-ffi",
40
+ "napi",
41
+ "napi-build",
42
+ "napi-derive",
43
+ ]
44
+
45
+ [[package]]
46
+ name = "anonyma-python"
47
+ version = "0.1.0-alpha.1"
48
+ dependencies = [
49
+ "anonyma-core",
50
+ "anonyma-ffi",
51
+ "pyo3",
52
+ "serde_json",
53
+ ]
54
+
55
+ [[package]]
56
+ name = "anonyma-wasm"
57
+ version = "0.1.0"
58
+ dependencies = [
59
+ "anonyma-core",
60
+ "anonyma-ffi",
61
+ "getrandom",
62
+ "wasm-bindgen",
63
+ ]
64
+
65
+ [[package]]
66
+ name = "bitflags"
67
+ version = "2.13.2"
68
+ source = "registry+https://github.com/rust-lang/crates.io-index"
69
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
70
+
71
+ [[package]]
72
+ name = "block-buffer"
73
+ version = "0.10.4"
74
+ source = "registry+https://github.com/rust-lang/crates.io-index"
75
+ checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
76
+ dependencies = [
77
+ "generic-array",
78
+ ]
79
+
80
+ [[package]]
81
+ name = "bumpalo"
82
+ version = "3.20.4"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
85
+
86
+ [[package]]
87
+ name = "cfg-if"
88
+ version = "1.0.5"
89
+ source = "registry+https://github.com/rust-lang/crates.io-index"
90
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
91
+
92
+ [[package]]
93
+ name = "convert_case"
94
+ version = "0.6.0"
95
+ source = "registry+https://github.com/rust-lang/crates.io-index"
96
+ checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
97
+ dependencies = [
98
+ "unicode-segmentation",
99
+ ]
100
+
101
+ [[package]]
102
+ name = "cpufeatures"
103
+ version = "0.2.17"
104
+ source = "registry+https://github.com/rust-lang/crates.io-index"
105
+ checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
106
+ dependencies = [
107
+ "libc",
108
+ ]
109
+
110
+ [[package]]
111
+ name = "crypto-common"
112
+ version = "0.1.7"
113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
114
+ checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
115
+ dependencies = [
116
+ "generic-array",
117
+ "typenum",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "ctor"
122
+ version = "0.2.9"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
125
+ dependencies = [
126
+ "quote",
127
+ "syn 2.0.119",
128
+ ]
129
+
130
+ [[package]]
131
+ name = "digest"
132
+ version = "0.10.7"
133
+ source = "registry+https://github.com/rust-lang/crates.io-index"
134
+ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
135
+ dependencies = [
136
+ "block-buffer",
137
+ "crypto-common",
138
+ "subtle",
139
+ ]
140
+
141
+ [[package]]
142
+ name = "futures-core"
143
+ version = "0.3.34"
144
+ source = "registry+https://github.com/rust-lang/crates.io-index"
145
+ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
146
+
147
+ [[package]]
148
+ name = "futures-task"
149
+ version = "0.3.34"
150
+ source = "registry+https://github.com/rust-lang/crates.io-index"
151
+ checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
152
+
153
+ [[package]]
154
+ name = "futures-util"
155
+ version = "0.3.34"
156
+ source = "registry+https://github.com/rust-lang/crates.io-index"
157
+ checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
158
+ dependencies = [
159
+ "futures-core",
160
+ "futures-task",
161
+ "pin-project-lite",
162
+ "slab",
163
+ ]
164
+
165
+ [[package]]
166
+ name = "generic-array"
167
+ version = "0.14.7"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
170
+ dependencies = [
171
+ "typenum",
172
+ "version_check",
173
+ ]
174
+
175
+ [[package]]
176
+ name = "getrandom"
177
+ version = "0.2.17"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
180
+ dependencies = [
181
+ "cfg-if",
182
+ "js-sys",
183
+ "libc",
184
+ "wasi",
185
+ "wasm-bindgen",
186
+ ]
187
+
188
+ [[package]]
189
+ name = "heck"
190
+ version = "0.5.0"
191
+ source = "registry+https://github.com/rust-lang/crates.io-index"
192
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
193
+
194
+ [[package]]
195
+ name = "hmac"
196
+ version = "0.12.1"
197
+ source = "registry+https://github.com/rust-lang/crates.io-index"
198
+ checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
199
+ dependencies = [
200
+ "digest",
201
+ ]
202
+
203
+ [[package]]
204
+ name = "itoa"
205
+ version = "1.0.19"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
208
+
209
+ [[package]]
210
+ name = "js-sys"
211
+ version = "0.3.107"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
214
+ dependencies = [
215
+ "cfg-if",
216
+ "futures-util",
217
+ "wasm-bindgen",
218
+ ]
219
+
220
+ [[package]]
221
+ name = "libc"
222
+ version = "0.2.191"
223
+ source = "registry+https://github.com/rust-lang/crates.io-index"
224
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
225
+
226
+ [[package]]
227
+ name = "libloading"
228
+ version = "0.8.9"
229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
230
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
231
+ dependencies = [
232
+ "cfg-if",
233
+ "windows-link",
234
+ ]
235
+
236
+ [[package]]
237
+ name = "memchr"
238
+ version = "2.8.3"
239
+ source = "registry+https://github.com/rust-lang/crates.io-index"
240
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
241
+
242
+ [[package]]
243
+ name = "napi"
244
+ version = "2.16.17"
245
+ source = "registry+https://github.com/rust-lang/crates.io-index"
246
+ checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
247
+ dependencies = [
248
+ "bitflags",
249
+ "ctor",
250
+ "napi-derive",
251
+ "napi-sys",
252
+ "once_cell",
253
+ ]
254
+
255
+ [[package]]
256
+ name = "napi-build"
257
+ version = "2.6.0"
258
+ source = "registry+https://github.com/rust-lang/crates.io-index"
259
+ checksum = "b899b545d3aa6dca985939059f258c5488d34e4ecf39c274e20009748f4b846d"
260
+
261
+ [[package]]
262
+ name = "napi-derive"
263
+ version = "2.16.13"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
266
+ dependencies = [
267
+ "cfg-if",
268
+ "convert_case",
269
+ "napi-derive-backend",
270
+ "proc-macro2",
271
+ "quote",
272
+ "syn 2.0.119",
273
+ ]
274
+
275
+ [[package]]
276
+ name = "napi-derive-backend"
277
+ version = "1.0.75"
278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
279
+ checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf"
280
+ dependencies = [
281
+ "convert_case",
282
+ "once_cell",
283
+ "proc-macro2",
284
+ "quote",
285
+ "regex",
286
+ "semver",
287
+ "syn 2.0.119",
288
+ ]
289
+
290
+ [[package]]
291
+ name = "napi-sys"
292
+ version = "2.4.0"
293
+ source = "registry+https://github.com/rust-lang/crates.io-index"
294
+ checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
295
+ dependencies = [
296
+ "libloading",
297
+ ]
298
+
299
+ [[package]]
300
+ name = "once_cell"
301
+ version = "1.21.4"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
304
+
305
+ [[package]]
306
+ name = "pin-project-lite"
307
+ version = "0.2.18"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752"
310
+
311
+ [[package]]
312
+ name = "portable-atomic"
313
+ version = "1.15.0"
314
+ source = "registry+https://github.com/rust-lang/crates.io-index"
315
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
316
+
317
+ [[package]]
318
+ name = "proc-macro2"
319
+ version = "1.0.107"
320
+ source = "registry+https://github.com/rust-lang/crates.io-index"
321
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
322
+ dependencies = [
323
+ "unicode-ident",
324
+ ]
325
+
326
+ [[package]]
327
+ name = "pyo3"
328
+ version = "0.29.3"
329
+ source = "registry+https://github.com/rust-lang/crates.io-index"
330
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
331
+ dependencies = [
332
+ "libc",
333
+ "once_cell",
334
+ "portable-atomic",
335
+ "pyo3-build-config",
336
+ "pyo3-ffi",
337
+ "pyo3-macros",
338
+ ]
339
+
340
+ [[package]]
341
+ name = "pyo3-build-config"
342
+ version = "0.29.3"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
345
+ dependencies = [
346
+ "target-lexicon",
347
+ ]
348
+
349
+ [[package]]
350
+ name = "pyo3-ffi"
351
+ version = "0.29.3"
352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
353
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
354
+ dependencies = [
355
+ "libc",
356
+ "pyo3-build-config",
357
+ ]
358
+
359
+ [[package]]
360
+ name = "pyo3-macros"
361
+ version = "0.29.3"
362
+ source = "registry+https://github.com/rust-lang/crates.io-index"
363
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
364
+ dependencies = [
365
+ "proc-macro2",
366
+ "pyo3-macros-backend",
367
+ "quote",
368
+ "syn 2.0.119",
369
+ ]
370
+
371
+ [[package]]
372
+ name = "pyo3-macros-backend"
373
+ version = "0.29.3"
374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
375
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
376
+ dependencies = [
377
+ "heck",
378
+ "proc-macro2",
379
+ "quote",
380
+ "syn 2.0.119",
381
+ ]
382
+
383
+ [[package]]
384
+ name = "quote"
385
+ version = "1.0.47"
386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
387
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
388
+ dependencies = [
389
+ "proc-macro2",
390
+ ]
391
+
392
+ [[package]]
393
+ name = "regex"
394
+ version = "1.13.2"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
397
+ dependencies = [
398
+ "aho-corasick",
399
+ "memchr",
400
+ "regex-automata",
401
+ "regex-syntax",
402
+ ]
403
+
404
+ [[package]]
405
+ name = "regex-automata"
406
+ version = "0.4.19"
407
+ source = "registry+https://github.com/rust-lang/crates.io-index"
408
+ checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
409
+ dependencies = [
410
+ "aho-corasick",
411
+ "memchr",
412
+ "regex-syntax",
413
+ ]
414
+
415
+ [[package]]
416
+ name = "regex-syntax"
417
+ version = "0.8.12"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
420
+
421
+ [[package]]
422
+ name = "rustversion"
423
+ version = "1.0.23"
424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
425
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
426
+
427
+ [[package]]
428
+ name = "semver"
429
+ version = "1.0.28"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
432
+
433
+ [[package]]
434
+ name = "serde"
435
+ version = "1.0.229"
436
+ source = "registry+https://github.com/rust-lang/crates.io-index"
437
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
438
+ dependencies = [
439
+ "serde_core",
440
+ ]
441
+
442
+ [[package]]
443
+ name = "serde_core"
444
+ version = "1.0.229"
445
+ source = "registry+https://github.com/rust-lang/crates.io-index"
446
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
447
+ dependencies = [
448
+ "serde_derive",
449
+ ]
450
+
451
+ [[package]]
452
+ name = "serde_derive"
453
+ version = "1.0.229"
454
+ source = "registry+https://github.com/rust-lang/crates.io-index"
455
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
456
+ dependencies = [
457
+ "proc-macro2",
458
+ "quote",
459
+ "syn 3.0.10",
460
+ ]
461
+
462
+ [[package]]
463
+ name = "serde_json"
464
+ version = "1.0.154"
465
+ source = "registry+https://github.com/rust-lang/crates.io-index"
466
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
467
+ dependencies = [
468
+ "itoa",
469
+ "memchr",
470
+ "serde",
471
+ "serde_core",
472
+ "zmij",
473
+ ]
474
+
475
+ [[package]]
476
+ name = "sha2"
477
+ version = "0.10.9"
478
+ source = "registry+https://github.com/rust-lang/crates.io-index"
479
+ checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
480
+ dependencies = [
481
+ "cfg-if",
482
+ "cpufeatures",
483
+ "digest",
484
+ ]
485
+
486
+ [[package]]
487
+ name = "slab"
488
+ version = "0.4.12"
489
+ source = "registry+https://github.com/rust-lang/crates.io-index"
490
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
491
+
492
+ [[package]]
493
+ name = "subtle"
494
+ version = "2.6.1"
495
+ source = "registry+https://github.com/rust-lang/crates.io-index"
496
+ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
497
+
498
+ [[package]]
499
+ name = "syn"
500
+ version = "2.0.119"
501
+ source = "registry+https://github.com/rust-lang/crates.io-index"
502
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
503
+ dependencies = [
504
+ "proc-macro2",
505
+ "quote",
506
+ "unicode-ident",
507
+ ]
508
+
509
+ [[package]]
510
+ name = "syn"
511
+ version = "3.0.10"
512
+ source = "registry+https://github.com/rust-lang/crates.io-index"
513
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
514
+ dependencies = [
515
+ "proc-macro2",
516
+ "quote",
517
+ "unicode-ident",
518
+ ]
519
+
520
+ [[package]]
521
+ name = "target-lexicon"
522
+ version = "0.13.6"
523
+ source = "registry+https://github.com/rust-lang/crates.io-index"
524
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
525
+
526
+ [[package]]
527
+ name = "typenum"
528
+ version = "1.20.1"
529
+ source = "registry+https://github.com/rust-lang/crates.io-index"
530
+ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
531
+
532
+ [[package]]
533
+ name = "unicode-ident"
534
+ version = "1.0.27"
535
+ source = "registry+https://github.com/rust-lang/crates.io-index"
536
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
537
+
538
+ [[package]]
539
+ name = "unicode-segmentation"
540
+ version = "1.13.3"
541
+ source = "registry+https://github.com/rust-lang/crates.io-index"
542
+ checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
543
+
544
+ [[package]]
545
+ name = "version_check"
546
+ version = "0.9.5"
547
+ source = "registry+https://github.com/rust-lang/crates.io-index"
548
+ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
549
+
550
+ [[package]]
551
+ name = "wasi"
552
+ version = "0.11.1+wasi-snapshot-preview1"
553
+ source = "registry+https://github.com/rust-lang/crates.io-index"
554
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
555
+
556
+ [[package]]
557
+ name = "wasm-bindgen"
558
+ version = "0.2.130"
559
+ source = "registry+https://github.com/rust-lang/crates.io-index"
560
+ checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
561
+ dependencies = [
562
+ "cfg-if",
563
+ "rustversion",
564
+ "wasm-bindgen-macro",
565
+ "wasm-bindgen-shared",
566
+ ]
567
+
568
+ [[package]]
569
+ name = "wasm-bindgen-macro"
570
+ version = "0.2.130"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
573
+ dependencies = [
574
+ "quote",
575
+ "wasm-bindgen-macro-support",
576
+ ]
577
+
578
+ [[package]]
579
+ name = "wasm-bindgen-macro-support"
580
+ version = "0.2.130"
581
+ source = "registry+https://github.com/rust-lang/crates.io-index"
582
+ checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
583
+ dependencies = [
584
+ "bumpalo",
585
+ "proc-macro2",
586
+ "quote",
587
+ "syn 3.0.10",
588
+ "wasm-bindgen-shared",
589
+ ]
590
+
591
+ [[package]]
592
+ name = "wasm-bindgen-shared"
593
+ version = "0.2.130"
594
+ source = "registry+https://github.com/rust-lang/crates.io-index"
595
+ checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
596
+ dependencies = [
597
+ "unicode-ident",
598
+ ]
599
+
600
+ [[package]]
601
+ name = "windows-link"
602
+ version = "0.2.1"
603
+ source = "registry+https://github.com/rust-lang/crates.io-index"
604
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
605
+
606
+ [[package]]
607
+ name = "zmij"
608
+ version = "1.0.23"
609
+ source = "registry+https://github.com/rust-lang/crates.io-index"
610
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,31 @@
1
+ # Rust workspace of anonyma: the core engine and the native bindings built on it.
2
+ #
3
+ # The npm workspace (package.json, packages/*) is separate and unchanged; the
4
+ # two meet only in the conformance suite (packages/conformance), which every
5
+ # implementation runs. See docs/rfcs/0001-polyglot-core.md.
6
+
7
+ [workspace]
8
+ resolver = "2"
9
+ members = ["crates/anonyma-core", "crates/anonyma-ffi", "bindings/python"]
10
+
11
+ [workspace.package]
12
+ version = "0.1.0"
13
+ edition = "2021"
14
+ rust-version = "1.75"
15
+ license = "MIT"
16
+ authors = ["Izac Cavalheiro"]
17
+ repository = "https://github.com/izaccavalheiro/anonyma"
18
+ homepage = "https://izaccavalheiro.github.io/anonyma/"
19
+
20
+ [workspace.dependencies]
21
+ anonyma-core = { path = "crates/anonyma-core", version = "0.1.0" }
22
+ regex = "1.10"
23
+ sha2 = "0.10"
24
+ hmac = "0.12"
25
+ getrandom = "0.2"
26
+ serde_json = "1"
27
+
28
+ [profile.release]
29
+ lto = true
30
+ codegen-units = 1
31
+ strip = true