datafog-core 0.1.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.
@@ -0,0 +1,576 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
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 = "bitflags"
16
+ version = "2.13.1"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
19
+
20
+ [[package]]
21
+ name = "bumpalo"
22
+ version = "3.20.3"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
25
+
26
+ [[package]]
27
+ name = "cfg-if"
28
+ version = "1.0.4"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
31
+
32
+ [[package]]
33
+ name = "convert_case"
34
+ version = "0.11.0"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49"
37
+ dependencies = [
38
+ "unicode-segmentation",
39
+ ]
40
+
41
+ [[package]]
42
+ name = "ctor"
43
+ version = "1.0.13"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d"
46
+
47
+ [[package]]
48
+ name = "datafog-core"
49
+ version = "0.1.0"
50
+ dependencies = [
51
+ "regex",
52
+ "serde",
53
+ "serde_json",
54
+ ]
55
+
56
+ [[package]]
57
+ name = "datafog-core-python"
58
+ version = "0.1.0"
59
+ dependencies = [
60
+ "datafog-core",
61
+ "pyo3",
62
+ ]
63
+
64
+ [[package]]
65
+ name = "datafog-node"
66
+ version = "0.1.0"
67
+ dependencies = [
68
+ "datafog-core",
69
+ "napi",
70
+ "napi-build",
71
+ "napi-derive",
72
+ ]
73
+
74
+ [[package]]
75
+ name = "datafog-wasm"
76
+ version = "0.1.0"
77
+ dependencies = [
78
+ "datafog-core",
79
+ "serde",
80
+ "serde-wasm-bindgen",
81
+ "wasm-bindgen",
82
+ ]
83
+
84
+ [[package]]
85
+ name = "futures"
86
+ version = "0.3.34"
87
+ source = "registry+https://github.com/rust-lang/crates.io-index"
88
+ checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3"
89
+ dependencies = [
90
+ "futures-channel",
91
+ "futures-core",
92
+ "futures-executor",
93
+ "futures-io",
94
+ "futures-sink",
95
+ "futures-task",
96
+ "futures-util",
97
+ ]
98
+
99
+ [[package]]
100
+ name = "futures-channel"
101
+ version = "0.3.34"
102
+ source = "registry+https://github.com/rust-lang/crates.io-index"
103
+ checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
104
+ dependencies = [
105
+ "futures-core",
106
+ "futures-sink",
107
+ ]
108
+
109
+ [[package]]
110
+ name = "futures-core"
111
+ version = "0.3.34"
112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
113
+ checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
114
+
115
+ [[package]]
116
+ name = "futures-executor"
117
+ version = "0.3.34"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
120
+ dependencies = [
121
+ "futures-core",
122
+ "futures-task",
123
+ "futures-util",
124
+ ]
125
+
126
+ [[package]]
127
+ name = "futures-io"
128
+ version = "0.3.34"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
131
+
132
+ [[package]]
133
+ name = "futures-macro"
134
+ version = "0.3.34"
135
+ source = "registry+https://github.com/rust-lang/crates.io-index"
136
+ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
137
+ dependencies = [
138
+ "proc-macro2",
139
+ "quote",
140
+ "syn 3.0.4",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "futures-sink"
145
+ version = "0.3.34"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
148
+
149
+ [[package]]
150
+ name = "futures-task"
151
+ version = "0.3.34"
152
+ source = "registry+https://github.com/rust-lang/crates.io-index"
153
+ checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
154
+
155
+ [[package]]
156
+ name = "futures-util"
157
+ version = "0.3.34"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
160
+ dependencies = [
161
+ "futures-channel",
162
+ "futures-core",
163
+ "futures-io",
164
+ "futures-macro",
165
+ "futures-sink",
166
+ "futures-task",
167
+ "memchr",
168
+ "pin-project-lite",
169
+ "slab",
170
+ ]
171
+
172
+ [[package]]
173
+ name = "heck"
174
+ version = "0.5.0"
175
+ source = "registry+https://github.com/rust-lang/crates.io-index"
176
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
177
+
178
+ [[package]]
179
+ name = "itoa"
180
+ version = "1.0.18"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
183
+
184
+ [[package]]
185
+ name = "js-sys"
186
+ version = "0.3.104"
187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
188
+ checksum = "0e0c1080212aad755ea003d18543e8768dd432c48819efd73a7bf1e39b7a5a3a"
189
+ dependencies = [
190
+ "cfg-if",
191
+ "futures-util",
192
+ "wasm-bindgen",
193
+ ]
194
+
195
+ [[package]]
196
+ name = "libc"
197
+ version = "0.2.189"
198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
199
+ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
200
+
201
+ [[package]]
202
+ name = "libloading"
203
+ version = "0.9.0"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60"
206
+ dependencies = [
207
+ "cfg-if",
208
+ "windows-link",
209
+ ]
210
+
211
+ [[package]]
212
+ name = "memchr"
213
+ version = "2.8.3"
214
+ source = "registry+https://github.com/rust-lang/crates.io-index"
215
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
216
+
217
+ [[package]]
218
+ name = "napi"
219
+ version = "3.12.2"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ checksum = "58c5f4d5375213fdb7be2655e152386e82f026f9a5ba36a75556e11359aafe09"
222
+ dependencies = [
223
+ "bitflags",
224
+ "ctor",
225
+ "futures",
226
+ "libc",
227
+ "napi-build",
228
+ "napi-sys",
229
+ "nohash-hasher",
230
+ "rustc-hash",
231
+ ]
232
+
233
+ [[package]]
234
+ name = "napi-build"
235
+ version = "2.4.1"
236
+ source = "registry+https://github.com/rust-lang/crates.io-index"
237
+ checksum = "60fdf9b392c50e7c4170fa633bd909490ed7835cea4c046776d1a4dd8d2ae0ab"
238
+
239
+ [[package]]
240
+ name = "napi-derive"
241
+ version = "3.6.3"
242
+ source = "registry+https://github.com/rust-lang/crates.io-index"
243
+ checksum = "0fa55ea69990c90b888e9e77044410e304ce7f35de599dc6d0b5c1923d2e59af"
244
+ dependencies = [
245
+ "convert_case",
246
+ "ctor",
247
+ "napi-derive-backend",
248
+ "proc-macro2",
249
+ "quote",
250
+ "syn 2.0.119",
251
+ ]
252
+
253
+ [[package]]
254
+ name = "napi-derive-backend"
255
+ version = "6.1.2"
256
+ source = "registry+https://github.com/rust-lang/crates.io-index"
257
+ checksum = "df4056ac7c18e4438ccf0edaed4340ca0d269278c8ec19284f7b23cb039fd0ae"
258
+ dependencies = [
259
+ "convert_case",
260
+ "proc-macro2",
261
+ "quote",
262
+ "semver",
263
+ "syn 2.0.119",
264
+ ]
265
+
266
+ [[package]]
267
+ name = "napi-sys"
268
+ version = "3.3.0"
269
+ source = "registry+https://github.com/rust-lang/crates.io-index"
270
+ checksum = "85fbf1fa9f1babfe396d74bbbf52b3643770243e8f5b0b46715d4caf7f0dfc9a"
271
+ dependencies = [
272
+ "libloading",
273
+ ]
274
+
275
+ [[package]]
276
+ name = "nohash-hasher"
277
+ version = "0.2.0"
278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
279
+ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
280
+
281
+ [[package]]
282
+ name = "once_cell"
283
+ version = "1.21.4"
284
+ source = "registry+https://github.com/rust-lang/crates.io-index"
285
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
286
+
287
+ [[package]]
288
+ name = "pin-project-lite"
289
+ version = "0.2.17"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
292
+
293
+ [[package]]
294
+ name = "portable-atomic"
295
+ version = "1.15.0"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
298
+
299
+ [[package]]
300
+ name = "proc-macro2"
301
+ version = "1.0.107"
302
+ source = "registry+https://github.com/rust-lang/crates.io-index"
303
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
304
+ dependencies = [
305
+ "unicode-ident",
306
+ ]
307
+
308
+ [[package]]
309
+ name = "pyo3"
310
+ version = "0.29.2"
311
+ source = "registry+https://github.com/rust-lang/crates.io-index"
312
+ checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
313
+ dependencies = [
314
+ "libc",
315
+ "once_cell",
316
+ "portable-atomic",
317
+ "pyo3-build-config",
318
+ "pyo3-ffi",
319
+ "pyo3-macros",
320
+ ]
321
+
322
+ [[package]]
323
+ name = "pyo3-build-config"
324
+ version = "0.29.2"
325
+ source = "registry+https://github.com/rust-lang/crates.io-index"
326
+ checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
327
+ dependencies = [
328
+ "target-lexicon",
329
+ ]
330
+
331
+ [[package]]
332
+ name = "pyo3-ffi"
333
+ version = "0.29.2"
334
+ source = "registry+https://github.com/rust-lang/crates.io-index"
335
+ checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
336
+ dependencies = [
337
+ "libc",
338
+ "pyo3-build-config",
339
+ ]
340
+
341
+ [[package]]
342
+ name = "pyo3-macros"
343
+ version = "0.29.2"
344
+ source = "registry+https://github.com/rust-lang/crates.io-index"
345
+ checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
346
+ dependencies = [
347
+ "proc-macro2",
348
+ "pyo3-macros-backend",
349
+ "quote",
350
+ "syn 2.0.119",
351
+ ]
352
+
353
+ [[package]]
354
+ name = "pyo3-macros-backend"
355
+ version = "0.29.2"
356
+ source = "registry+https://github.com/rust-lang/crates.io-index"
357
+ checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
358
+ dependencies = [
359
+ "heck",
360
+ "proc-macro2",
361
+ "quote",
362
+ "syn 2.0.119",
363
+ ]
364
+
365
+ [[package]]
366
+ name = "quote"
367
+ version = "1.0.47"
368
+ source = "registry+https://github.com/rust-lang/crates.io-index"
369
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
370
+ dependencies = [
371
+ "proc-macro2",
372
+ ]
373
+
374
+ [[package]]
375
+ name = "regex"
376
+ version = "1.13.1"
377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
378
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
379
+ dependencies = [
380
+ "aho-corasick",
381
+ "memchr",
382
+ "regex-automata",
383
+ "regex-syntax",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "regex-automata"
388
+ version = "0.4.18"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
391
+ dependencies = [
392
+ "aho-corasick",
393
+ "memchr",
394
+ "regex-syntax",
395
+ ]
396
+
397
+ [[package]]
398
+ name = "regex-syntax"
399
+ version = "0.8.11"
400
+ source = "registry+https://github.com/rust-lang/crates.io-index"
401
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
402
+
403
+ [[package]]
404
+ name = "rustc-hash"
405
+ version = "2.1.3"
406
+ source = "registry+https://github.com/rust-lang/crates.io-index"
407
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
408
+
409
+ [[package]]
410
+ name = "rustversion"
411
+ version = "1.0.23"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
414
+
415
+ [[package]]
416
+ name = "semver"
417
+ version = "1.0.28"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
420
+
421
+ [[package]]
422
+ name = "serde"
423
+ version = "1.0.229"
424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
425
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
426
+ dependencies = [
427
+ "serde_core",
428
+ "serde_derive",
429
+ ]
430
+
431
+ [[package]]
432
+ name = "serde-wasm-bindgen"
433
+ version = "0.6.5"
434
+ source = "registry+https://github.com/rust-lang/crates.io-index"
435
+ checksum = "8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b"
436
+ dependencies = [
437
+ "js-sys",
438
+ "serde",
439
+ "wasm-bindgen",
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.4",
460
+ ]
461
+
462
+ [[package]]
463
+ name = "serde_json"
464
+ version = "1.0.151"
465
+ source = "registry+https://github.com/rust-lang/crates.io-index"
466
+ checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
467
+ dependencies = [
468
+ "itoa",
469
+ "memchr",
470
+ "serde",
471
+ "serde_core",
472
+ "zmij",
473
+ ]
474
+
475
+ [[package]]
476
+ name = "slab"
477
+ version = "0.4.12"
478
+ source = "registry+https://github.com/rust-lang/crates.io-index"
479
+ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
480
+
481
+ [[package]]
482
+ name = "syn"
483
+ version = "2.0.119"
484
+ source = "registry+https://github.com/rust-lang/crates.io-index"
485
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
486
+ dependencies = [
487
+ "proc-macro2",
488
+ "quote",
489
+ "unicode-ident",
490
+ ]
491
+
492
+ [[package]]
493
+ name = "syn"
494
+ version = "3.0.4"
495
+ source = "registry+https://github.com/rust-lang/crates.io-index"
496
+ checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f"
497
+ dependencies = [
498
+ "proc-macro2",
499
+ "quote",
500
+ "unicode-ident",
501
+ ]
502
+
503
+ [[package]]
504
+ name = "target-lexicon"
505
+ version = "0.13.5"
506
+ source = "registry+https://github.com/rust-lang/crates.io-index"
507
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
508
+
509
+ [[package]]
510
+ name = "unicode-ident"
511
+ version = "1.0.24"
512
+ source = "registry+https://github.com/rust-lang/crates.io-index"
513
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
514
+
515
+ [[package]]
516
+ name = "unicode-segmentation"
517
+ version = "1.13.3"
518
+ source = "registry+https://github.com/rust-lang/crates.io-index"
519
+ checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
520
+
521
+ [[package]]
522
+ name = "wasm-bindgen"
523
+ version = "0.2.127"
524
+ source = "registry+https://github.com/rust-lang/crates.io-index"
525
+ checksum = "1b70935747edd64d89de3efa29d73789b806c15798f8e7dca4d8ac356b50ce70"
526
+ dependencies = [
527
+ "cfg-if",
528
+ "once_cell",
529
+ "rustversion",
530
+ "wasm-bindgen-macro",
531
+ "wasm-bindgen-shared",
532
+ ]
533
+
534
+ [[package]]
535
+ name = "wasm-bindgen-macro"
536
+ version = "0.2.127"
537
+ source = "registry+https://github.com/rust-lang/crates.io-index"
538
+ checksum = "77775f8f3f7217702089053b94958f8f54061a3f663417df76e19cbdcca29bc1"
539
+ dependencies = [
540
+ "quote",
541
+ "wasm-bindgen-macro-support",
542
+ ]
543
+
544
+ [[package]]
545
+ name = "wasm-bindgen-macro-support"
546
+ version = "0.2.127"
547
+ source = "registry+https://github.com/rust-lang/crates.io-index"
548
+ checksum = "e11d33f857dc2fb11b8bc75aee111aa9cbeb12cd9f25efd3d4c2a3dd4e235284"
549
+ dependencies = [
550
+ "bumpalo",
551
+ "proc-macro2",
552
+ "quote",
553
+ "syn 2.0.119",
554
+ "wasm-bindgen-shared",
555
+ ]
556
+
557
+ [[package]]
558
+ name = "wasm-bindgen-shared"
559
+ version = "0.2.127"
560
+ source = "registry+https://github.com/rust-lang/crates.io-index"
561
+ checksum = "7ef64dbcc55df09c7e5a46182d181c2cfa3e925f3da937ea764728b4bbb9dcbf"
562
+ dependencies = [
563
+ "unicode-ident",
564
+ ]
565
+
566
+ [[package]]
567
+ name = "windows-link"
568
+ version = "0.2.1"
569
+ source = "registry+https://github.com/rust-lang/crates.io-index"
570
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
571
+
572
+ [[package]]
573
+ name = "zmij"
574
+ version = "1.0.23"
575
+ source = "registry+https://github.com/rust-lang/crates.io-index"
576
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,3 @@
1
+ [workspace]
2
+ members = ["crates/core", "bindings/python"]
3
+ resolver = "2"
@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: datafog-core
3
+ Version: 0.1.0
4
+ Classifier: Development Status :: 3 - Alpha
5
+ Classifier: License :: OSI Approved :: MIT License
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3 :: Only
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Classifier: Programming Language :: Rust
14
+ Summary: Fast structured PII detection implemented in Rust
15
+ Keywords: pii,privacy,detection,rust
16
+ Author: DataFog
17
+ License-Expression: MIT
18
+ Requires-Python: >=3.10
19
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
20
+ Project-URL: Homepage, https://github.com/DataFog/datafog-core
21
+ Project-URL: Issues, https://github.com/DataFog/datafog-core/issues
22
+ Project-URL: Repository, https://github.com/DataFog/datafog-core
23
+
24
+ # DataFog Core
25
+
26
+ Fast structured PII detection implemented in Rust, with Python, Node.js, and browser/WASM bindings.
27
+
28
+ ## Supported entities
29
+
30
+ `EMAIL`, `PHONE`, `SSN`, `CREDIT_CARD`, `IP_ADDRESS`, `DATE`, and `ZIP_CODE`.
31
+
32
+ All bindings use the same Rust implementation and return the matched text with zero-based Unicode code-point offsets.
33
+
34
+ ## Repository layout
35
+
36
+ ```text
37
+ crates/core/ Rust scanning library
38
+ bindings/python/ Python extension: datafog-core / datafog_core
39
+ bindings/node/ Node package: @datafog/node
40
+ bindings/wasm/ Browser package: @datafog/wasm
41
+ fixtures/ Shared conformance fixtures
42
+ ```
43
+
44
+ ## Development
45
+
46
+ ```bash
47
+ cargo test --workspace
48
+ ```
49
+
50
+ ### Python
51
+
52
+ ```bash
53
+ python3 -m pip install maturin
54
+ maturin build --manifest-path bindings/python/Cargo.toml --release
55
+ python3 -m venv .venv
56
+ .venv/bin/python -m pip install target/wheels/datafog_core_python-*.whl
57
+ .venv/bin/python bindings/python/tests/test_installed.py
58
+ ```
59
+
60
+ ### Node.js
61
+
62
+ ```bash
63
+ npm ci --prefix bindings/node
64
+ npm run test:package --prefix bindings/node
65
+ ```
66
+
67
+ ### Browser/WASM
68
+
69
+ ```bash
70
+ rustup target add wasm32-unknown-unknown
71
+ cargo install wasm-bindgen-cli --version 0.2.127 --locked
72
+ npm ci --prefix bindings/wasm
73
+ npx --prefix bindings/wasm playwright install chromium
74
+ npm run test:package --prefix bindings/wasm
75
+ ```
76
+
77
+ ```js
78
+ import { init, scan } from "@datafog/wasm";
79
+
80
+ await init();
81
+ console.log(scan("Email jane@example.com"));
82
+ ```
83
+
84
+ ## Package status
85
+
86
+ The repository builds the following packages locally:
87
+
88
+ - `datafog-core` for Rust consumers
89
+ - `datafog-core` for Python consumers, imported as `datafog_core`
90
+ - `@datafog/node` for Node.js consumers
91
+ - `@datafog/wasm` for browser and bundler consumers
92
+
93
+ Publishing and cross-platform release automation are the next production steps.
94
+
95
+ ## License
96
+
97
+ MIT
98
+