kren 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.
kren-0.1.0/Cargo.lock ADDED
@@ -0,0 +1,579 @@
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.4"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
10
+ dependencies = [
11
+ "memchr",
12
+ ]
13
+
14
+ [[package]]
15
+ name = "autocfg"
16
+ version = "1.5.0"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
19
+
20
+ [[package]]
21
+ name = "bitflags"
22
+ version = "2.10.0"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
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.6.0"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
37
+ dependencies = [
38
+ "unicode-segmentation",
39
+ ]
40
+
41
+ [[package]]
42
+ name = "ctor"
43
+ version = "0.2.9"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501"
46
+ dependencies = [
47
+ "quote",
48
+ "syn",
49
+ ]
50
+
51
+ [[package]]
52
+ name = "getrandom"
53
+ version = "0.2.17"
54
+ source = "registry+https://github.com/rust-lang/crates.io-index"
55
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
56
+ dependencies = [
57
+ "cfg-if",
58
+ "libc",
59
+ "wasi",
60
+ ]
61
+
62
+ [[package]]
63
+ name = "heck"
64
+ version = "0.5.0"
65
+ source = "registry+https://github.com/rust-lang/crates.io-index"
66
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
67
+
68
+ [[package]]
69
+ name = "indoc"
70
+ version = "2.0.7"
71
+ source = "registry+https://github.com/rust-lang/crates.io-index"
72
+ checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
73
+ dependencies = [
74
+ "rustversion",
75
+ ]
76
+
77
+ [[package]]
78
+ name = "kren-core"
79
+ version = "0.1.0"
80
+ dependencies = [
81
+ "libc",
82
+ "rand",
83
+ "thiserror",
84
+ "windows",
85
+ ]
86
+
87
+ [[package]]
88
+ name = "kren-node"
89
+ version = "0.1.0"
90
+ dependencies = [
91
+ "kren-core",
92
+ "napi",
93
+ "napi-build",
94
+ "napi-derive",
95
+ ]
96
+
97
+ [[package]]
98
+ name = "kren-python"
99
+ version = "0.1.0"
100
+ dependencies = [
101
+ "kren-core",
102
+ "pyo3",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "libc"
107
+ version = "0.2.180"
108
+ source = "registry+https://github.com/rust-lang/crates.io-index"
109
+ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
110
+
111
+ [[package]]
112
+ name = "libloading"
113
+ version = "0.8.9"
114
+ source = "registry+https://github.com/rust-lang/crates.io-index"
115
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
116
+ dependencies = [
117
+ "cfg-if",
118
+ "windows-link",
119
+ ]
120
+
121
+ [[package]]
122
+ name = "memchr"
123
+ version = "2.7.6"
124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
125
+ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
126
+
127
+ [[package]]
128
+ name = "memoffset"
129
+ version = "0.9.1"
130
+ source = "registry+https://github.com/rust-lang/crates.io-index"
131
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
132
+ dependencies = [
133
+ "autocfg",
134
+ ]
135
+
136
+ [[package]]
137
+ name = "napi"
138
+ version = "2.16.17"
139
+ source = "registry+https://github.com/rust-lang/crates.io-index"
140
+ checksum = "55740c4ae1d8696773c78fdafd5d0e5fe9bc9f1b071c7ba493ba5c413a9184f3"
141
+ dependencies = [
142
+ "bitflags",
143
+ "ctor",
144
+ "napi-derive",
145
+ "napi-sys",
146
+ "once_cell",
147
+ ]
148
+
149
+ [[package]]
150
+ name = "napi-build"
151
+ version = "2.3.1"
152
+ source = "registry+https://github.com/rust-lang/crates.io-index"
153
+ checksum = "d376940fd5b723c6893cd1ee3f33abbfd86acb1cd1ec079f3ab04a2a3bc4d3b1"
154
+
155
+ [[package]]
156
+ name = "napi-derive"
157
+ version = "2.16.13"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "7cbe2585d8ac223f7d34f13701434b9d5f4eb9c332cccce8dee57ea18ab8ab0c"
160
+ dependencies = [
161
+ "cfg-if",
162
+ "convert_case",
163
+ "napi-derive-backend",
164
+ "proc-macro2",
165
+ "quote",
166
+ "syn",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "napi-derive-backend"
171
+ version = "1.0.75"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "1639aaa9eeb76e91c6ae66da8ce3e89e921cd3885e99ec85f4abacae72fc91bf"
174
+ dependencies = [
175
+ "convert_case",
176
+ "once_cell",
177
+ "proc-macro2",
178
+ "quote",
179
+ "regex",
180
+ "semver",
181
+ "syn",
182
+ ]
183
+
184
+ [[package]]
185
+ name = "napi-sys"
186
+ version = "2.4.0"
187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
188
+ checksum = "427802e8ec3a734331fec1035594a210ce1ff4dc5bc1950530920ab717964ea3"
189
+ dependencies = [
190
+ "libloading",
191
+ ]
192
+
193
+ [[package]]
194
+ name = "once_cell"
195
+ version = "1.21.3"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
198
+
199
+ [[package]]
200
+ name = "portable-atomic"
201
+ version = "1.13.1"
202
+ source = "registry+https://github.com/rust-lang/crates.io-index"
203
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
204
+
205
+ [[package]]
206
+ name = "ppv-lite86"
207
+ version = "0.2.21"
208
+ source = "registry+https://github.com/rust-lang/crates.io-index"
209
+ checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
210
+ dependencies = [
211
+ "zerocopy",
212
+ ]
213
+
214
+ [[package]]
215
+ name = "proc-macro2"
216
+ version = "1.0.106"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
219
+ dependencies = [
220
+ "unicode-ident",
221
+ ]
222
+
223
+ [[package]]
224
+ name = "pyo3"
225
+ version = "0.22.6"
226
+ source = "registry+https://github.com/rust-lang/crates.io-index"
227
+ checksum = "f402062616ab18202ae8319da13fa4279883a2b8a9d9f83f20dbade813ce1884"
228
+ dependencies = [
229
+ "cfg-if",
230
+ "indoc",
231
+ "libc",
232
+ "memoffset",
233
+ "once_cell",
234
+ "portable-atomic",
235
+ "pyo3-build-config",
236
+ "pyo3-ffi",
237
+ "pyo3-macros",
238
+ "unindent",
239
+ ]
240
+
241
+ [[package]]
242
+ name = "pyo3-build-config"
243
+ version = "0.22.6"
244
+ source = "registry+https://github.com/rust-lang/crates.io-index"
245
+ checksum = "b14b5775b5ff446dd1056212d778012cbe8a0fbffd368029fd9e25b514479c38"
246
+ dependencies = [
247
+ "once_cell",
248
+ "target-lexicon",
249
+ ]
250
+
251
+ [[package]]
252
+ name = "pyo3-ffi"
253
+ version = "0.22.6"
254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
255
+ checksum = "9ab5bcf04a2cdcbb50c7d6105de943f543f9ed92af55818fd17b660390fc8636"
256
+ dependencies = [
257
+ "libc",
258
+ "pyo3-build-config",
259
+ ]
260
+
261
+ [[package]]
262
+ name = "pyo3-macros"
263
+ version = "0.22.6"
264
+ source = "registry+https://github.com/rust-lang/crates.io-index"
265
+ checksum = "0fd24d897903a9e6d80b968368a34e1525aeb719d568dba8b3d4bfa5dc67d453"
266
+ dependencies = [
267
+ "proc-macro2",
268
+ "pyo3-macros-backend",
269
+ "quote",
270
+ "syn",
271
+ ]
272
+
273
+ [[package]]
274
+ name = "pyo3-macros-backend"
275
+ version = "0.22.6"
276
+ source = "registry+https://github.com/rust-lang/crates.io-index"
277
+ checksum = "36c011a03ba1e50152b4b394b479826cad97e7a21eb52df179cd91ac411cbfbe"
278
+ dependencies = [
279
+ "heck",
280
+ "proc-macro2",
281
+ "pyo3-build-config",
282
+ "quote",
283
+ "syn",
284
+ ]
285
+
286
+ [[package]]
287
+ name = "quote"
288
+ version = "1.0.44"
289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
290
+ checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
291
+ dependencies = [
292
+ "proc-macro2",
293
+ ]
294
+
295
+ [[package]]
296
+ name = "rand"
297
+ version = "0.8.5"
298
+ source = "registry+https://github.com/rust-lang/crates.io-index"
299
+ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
300
+ dependencies = [
301
+ "libc",
302
+ "rand_chacha",
303
+ "rand_core",
304
+ ]
305
+
306
+ [[package]]
307
+ name = "rand_chacha"
308
+ version = "0.3.1"
309
+ source = "registry+https://github.com/rust-lang/crates.io-index"
310
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
311
+ dependencies = [
312
+ "ppv-lite86",
313
+ "rand_core",
314
+ ]
315
+
316
+ [[package]]
317
+ name = "rand_core"
318
+ version = "0.6.4"
319
+ source = "registry+https://github.com/rust-lang/crates.io-index"
320
+ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
321
+ dependencies = [
322
+ "getrandom",
323
+ ]
324
+
325
+ [[package]]
326
+ name = "regex"
327
+ version = "1.12.3"
328
+ source = "registry+https://github.com/rust-lang/crates.io-index"
329
+ checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
330
+ dependencies = [
331
+ "aho-corasick",
332
+ "memchr",
333
+ "regex-automata",
334
+ "regex-syntax",
335
+ ]
336
+
337
+ [[package]]
338
+ name = "regex-automata"
339
+ version = "0.4.14"
340
+ source = "registry+https://github.com/rust-lang/crates.io-index"
341
+ checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
342
+ dependencies = [
343
+ "aho-corasick",
344
+ "memchr",
345
+ "regex-syntax",
346
+ ]
347
+
348
+ [[package]]
349
+ name = "regex-syntax"
350
+ version = "0.8.9"
351
+ source = "registry+https://github.com/rust-lang/crates.io-index"
352
+ checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c"
353
+
354
+ [[package]]
355
+ name = "rustversion"
356
+ version = "1.0.22"
357
+ source = "registry+https://github.com/rust-lang/crates.io-index"
358
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
359
+
360
+ [[package]]
361
+ name = "semver"
362
+ version = "1.0.27"
363
+ source = "registry+https://github.com/rust-lang/crates.io-index"
364
+ checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2"
365
+
366
+ [[package]]
367
+ name = "syn"
368
+ version = "2.0.114"
369
+ source = "registry+https://github.com/rust-lang/crates.io-index"
370
+ checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
371
+ dependencies = [
372
+ "proc-macro2",
373
+ "quote",
374
+ "unicode-ident",
375
+ ]
376
+
377
+ [[package]]
378
+ name = "target-lexicon"
379
+ version = "0.12.16"
380
+ source = "registry+https://github.com/rust-lang/crates.io-index"
381
+ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
382
+
383
+ [[package]]
384
+ name = "thiserror"
385
+ version = "1.0.69"
386
+ source = "registry+https://github.com/rust-lang/crates.io-index"
387
+ checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
388
+ dependencies = [
389
+ "thiserror-impl",
390
+ ]
391
+
392
+ [[package]]
393
+ name = "thiserror-impl"
394
+ version = "1.0.69"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
397
+ dependencies = [
398
+ "proc-macro2",
399
+ "quote",
400
+ "syn",
401
+ ]
402
+
403
+ [[package]]
404
+ name = "unicode-ident"
405
+ version = "1.0.22"
406
+ source = "registry+https://github.com/rust-lang/crates.io-index"
407
+ checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
408
+
409
+ [[package]]
410
+ name = "unicode-segmentation"
411
+ version = "1.12.0"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
414
+
415
+ [[package]]
416
+ name = "unindent"
417
+ version = "0.2.4"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
420
+
421
+ [[package]]
422
+ name = "wasi"
423
+ version = "0.11.1+wasi-snapshot-preview1"
424
+ source = "registry+https://github.com/rust-lang/crates.io-index"
425
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
426
+
427
+ [[package]]
428
+ name = "windows"
429
+ version = "0.58.0"
430
+ source = "registry+https://github.com/rust-lang/crates.io-index"
431
+ checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"
432
+ dependencies = [
433
+ "windows-core",
434
+ "windows-targets",
435
+ ]
436
+
437
+ [[package]]
438
+ name = "windows-core"
439
+ version = "0.58.0"
440
+ source = "registry+https://github.com/rust-lang/crates.io-index"
441
+ checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
442
+ dependencies = [
443
+ "windows-implement",
444
+ "windows-interface",
445
+ "windows-result",
446
+ "windows-strings",
447
+ "windows-targets",
448
+ ]
449
+
450
+ [[package]]
451
+ name = "windows-implement"
452
+ version = "0.58.0"
453
+ source = "registry+https://github.com/rust-lang/crates.io-index"
454
+ checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"
455
+ dependencies = [
456
+ "proc-macro2",
457
+ "quote",
458
+ "syn",
459
+ ]
460
+
461
+ [[package]]
462
+ name = "windows-interface"
463
+ version = "0.58.0"
464
+ source = "registry+https://github.com/rust-lang/crates.io-index"
465
+ checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"
466
+ dependencies = [
467
+ "proc-macro2",
468
+ "quote",
469
+ "syn",
470
+ ]
471
+
472
+ [[package]]
473
+ name = "windows-link"
474
+ version = "0.2.1"
475
+ source = "registry+https://github.com/rust-lang/crates.io-index"
476
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
477
+
478
+ [[package]]
479
+ name = "windows-result"
480
+ version = "0.2.0"
481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
482
+ checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
483
+ dependencies = [
484
+ "windows-targets",
485
+ ]
486
+
487
+ [[package]]
488
+ name = "windows-strings"
489
+ version = "0.1.0"
490
+ source = "registry+https://github.com/rust-lang/crates.io-index"
491
+ checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
492
+ dependencies = [
493
+ "windows-result",
494
+ "windows-targets",
495
+ ]
496
+
497
+ [[package]]
498
+ name = "windows-targets"
499
+ version = "0.52.6"
500
+ source = "registry+https://github.com/rust-lang/crates.io-index"
501
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
502
+ dependencies = [
503
+ "windows_aarch64_gnullvm",
504
+ "windows_aarch64_msvc",
505
+ "windows_i686_gnu",
506
+ "windows_i686_gnullvm",
507
+ "windows_i686_msvc",
508
+ "windows_x86_64_gnu",
509
+ "windows_x86_64_gnullvm",
510
+ "windows_x86_64_msvc",
511
+ ]
512
+
513
+ [[package]]
514
+ name = "windows_aarch64_gnullvm"
515
+ version = "0.52.6"
516
+ source = "registry+https://github.com/rust-lang/crates.io-index"
517
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
518
+
519
+ [[package]]
520
+ name = "windows_aarch64_msvc"
521
+ version = "0.52.6"
522
+ source = "registry+https://github.com/rust-lang/crates.io-index"
523
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
524
+
525
+ [[package]]
526
+ name = "windows_i686_gnu"
527
+ version = "0.52.6"
528
+ source = "registry+https://github.com/rust-lang/crates.io-index"
529
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
530
+
531
+ [[package]]
532
+ name = "windows_i686_gnullvm"
533
+ version = "0.52.6"
534
+ source = "registry+https://github.com/rust-lang/crates.io-index"
535
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
536
+
537
+ [[package]]
538
+ name = "windows_i686_msvc"
539
+ version = "0.52.6"
540
+ source = "registry+https://github.com/rust-lang/crates.io-index"
541
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
542
+
543
+ [[package]]
544
+ name = "windows_x86_64_gnu"
545
+ version = "0.52.6"
546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
547
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
548
+
549
+ [[package]]
550
+ name = "windows_x86_64_gnullvm"
551
+ version = "0.52.6"
552
+ source = "registry+https://github.com/rust-lang/crates.io-index"
553
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
554
+
555
+ [[package]]
556
+ name = "windows_x86_64_msvc"
557
+ version = "0.52.6"
558
+ source = "registry+https://github.com/rust-lang/crates.io-index"
559
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
560
+
561
+ [[package]]
562
+ name = "zerocopy"
563
+ version = "0.8.38"
564
+ source = "registry+https://github.com/rust-lang/crates.io-index"
565
+ checksum = "57cf3aa6855b23711ee9852dfc97dfaa51c45feaba5b645d0c777414d494a961"
566
+ dependencies = [
567
+ "zerocopy-derive",
568
+ ]
569
+
570
+ [[package]]
571
+ name = "zerocopy-derive"
572
+ version = "0.8.38"
573
+ source = "registry+https://github.com/rust-lang/crates.io-index"
574
+ checksum = "8a616990af1a287837c4fe6596ad77ef57948f787e46ce28e166facc0cc1cb75"
575
+ dependencies = [
576
+ "proc-macro2",
577
+ "quote",
578
+ "syn",
579
+ ]
kren-0.1.0/Cargo.toml ADDED
@@ -0,0 +1,15 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = ["kren-core", "kren-python"]
4
+
5
+ [workspace.package]
6
+ version = "0.1.0"
7
+ edition = "2021"
8
+ license = "MIT"
9
+ authors = ["KREN Contributors"]
10
+ repository = "https://github.com/Cintu07/kren"
11
+ description = "Zero-copy shared memory IPC library"
12
+
13
+ [workspace.dependencies]
14
+ kren-core = { path = "kren-core" }
15
+ thiserror = "1.0"
kren-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.4
2
+ Name: kren
3
+ Version: 0.1.0
4
+ Classifier: Development Status :: 4 - Beta
5
+ Classifier: Intended Audience :: Developers
6
+ Classifier: License :: OSI Approved :: MIT License
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.8
9
+ Classifier: Programming Language :: Python :: 3.9
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Rust
14
+ Classifier: Topic :: System :: Networking
15
+ Classifier: Topic :: Software Development :: Libraries
16
+ Summary: Zero-copy shared memory IPC library
17
+ Keywords: ipc,shared-memory,zero-copy,ring-buffer,low-latency
18
+ Author: KREN Contributors
19
+ License: MIT
20
+ Requires-Python: >=3.8
21
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
22
+ Project-URL: Homepage, https://github.com/Cintu07/kren
23
+ Project-URL: Repository, https://github.com/Cintu07/kren
24
+
25
+ # KREN Python Bindings
26
+
27
+ Zero-copy shared memory IPC for Python.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ pip install kren
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ import kren
39
+
40
+ # Create a writer
41
+ writer = kren.Writer("my_channel", 4096)
42
+ writer.write(b"Hello!")
43
+
44
+ # Connect a reader
45
+ reader = kren.Reader("my_channel")
46
+ data = reader.read()
47
+ print(data) # b"Hello!"
48
+ ```
49
+
kren-0.1.0/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # KREN Python Bindings
2
+
3
+ Zero-copy shared memory IPC for Python.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install kren
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ import kren
15
+
16
+ # Create a writer
17
+ writer = kren.Writer("my_channel", 4096)
18
+ writer.write(b"Hello!")
19
+
20
+ # Connect a reader
21
+ reader = kren.Reader("my_channel")
22
+ data = reader.read()
23
+ print(data) # b"Hello!"
24
+ ```
@@ -0,0 +1,23 @@
1
+ [package]
2
+ name = "kren-core"
3
+ version.workspace = true
4
+ edition.workspace = true
5
+ license.workspace = true
6
+ description = "Core library for KREN zero-copy IPC"
7
+
8
+ [dependencies]
9
+ thiserror.workspace = true
10
+
11
+ [target.'cfg(windows)'.dependencies]
12
+ windows = { version = "0.58", features = [
13
+ "Win32_Foundation",
14
+ "Win32_System_Memory",
15
+ "Win32_Security",
16
+ ] }
17
+
18
+ [target.'cfg(unix)'.dependencies]
19
+ libc = "0.2"
20
+
21
+ [dev-dependencies]
22
+ rand = "0.8"
23
+