nj-py 0.0.12__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,612 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "anstream"
7
+ version = "1.0.0"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
10
+ dependencies = [
11
+ "anstyle",
12
+ "anstyle-parse",
13
+ "anstyle-query",
14
+ "anstyle-wincon",
15
+ "colorchoice",
16
+ "is_terminal_polyfill",
17
+ "utf8parse",
18
+ ]
19
+
20
+ [[package]]
21
+ name = "anstyle"
22
+ version = "1.0.14"
23
+ source = "registry+https://github.com/rust-lang/crates.io-index"
24
+ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
25
+
26
+ [[package]]
27
+ name = "anstyle-parse"
28
+ version = "1.0.0"
29
+ source = "registry+https://github.com/rust-lang/crates.io-index"
30
+ checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
31
+ dependencies = [
32
+ "utf8parse",
33
+ ]
34
+
35
+ [[package]]
36
+ name = "anstyle-query"
37
+ version = "1.1.5"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
40
+ dependencies = [
41
+ "windows-sys",
42
+ ]
43
+
44
+ [[package]]
45
+ name = "anstyle-wincon"
46
+ version = "3.0.11"
47
+ source = "registry+https://github.com/rust-lang/crates.io-index"
48
+ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
49
+ dependencies = [
50
+ "anstyle",
51
+ "once_cell_polyfill",
52
+ "windows-sys",
53
+ ]
54
+
55
+ [[package]]
56
+ name = "autocfg"
57
+ version = "1.5.0"
58
+ source = "registry+https://github.com/rust-lang/crates.io-index"
59
+ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
60
+
61
+ [[package]]
62
+ name = "bitvec"
63
+ version = "1.0.1"
64
+ source = "registry+https://github.com/rust-lang/crates.io-index"
65
+ checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
66
+ dependencies = [
67
+ "funty",
68
+ "radium",
69
+ "tap",
70
+ "wyz",
71
+ ]
72
+
73
+ [[package]]
74
+ name = "bumpalo"
75
+ version = "3.20.2"
76
+ source = "registry+https://github.com/rust-lang/crates.io-index"
77
+ checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
78
+
79
+ [[package]]
80
+ name = "cfg-if"
81
+ version = "1.0.4"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
84
+
85
+ [[package]]
86
+ name = "clap"
87
+ version = "4.6.0"
88
+ source = "registry+https://github.com/rust-lang/crates.io-index"
89
+ checksum = "b193af5b67834b676abd72466a96c1024e6a6ad978a1f484bd90b85c94041351"
90
+ dependencies = [
91
+ "clap_builder",
92
+ "clap_derive",
93
+ ]
94
+
95
+ [[package]]
96
+ name = "clap_builder"
97
+ version = "4.6.0"
98
+ source = "registry+https://github.com/rust-lang/crates.io-index"
99
+ checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
100
+ dependencies = [
101
+ "anstream",
102
+ "anstyle",
103
+ "clap_lex",
104
+ "strsim",
105
+ ]
106
+
107
+ [[package]]
108
+ name = "clap_derive"
109
+ version = "4.6.0"
110
+ source = "registry+https://github.com/rust-lang/crates.io-index"
111
+ checksum = "1110bd8a634a1ab8cb04345d8d878267d57c3cf1b38d91b71af6686408bbca6a"
112
+ dependencies = [
113
+ "heck",
114
+ "proc-macro2",
115
+ "quote",
116
+ "syn",
117
+ ]
118
+
119
+ [[package]]
120
+ name = "clap_lex"
121
+ version = "1.1.0"
122
+ source = "registry+https://github.com/rust-lang/crates.io-index"
123
+ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
124
+
125
+ [[package]]
126
+ name = "colorchoice"
127
+ version = "1.0.5"
128
+ source = "registry+https://github.com/rust-lang/crates.io-index"
129
+ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
130
+
131
+ [[package]]
132
+ name = "funty"
133
+ version = "2.0.0"
134
+ source = "registry+https://github.com/rust-lang/crates.io-index"
135
+ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
136
+
137
+ [[package]]
138
+ name = "getrandom"
139
+ version = "0.2.17"
140
+ source = "registry+https://github.com/rust-lang/crates.io-index"
141
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
142
+ dependencies = [
143
+ "cfg-if",
144
+ "js-sys",
145
+ "libc",
146
+ "wasi",
147
+ "wasm-bindgen",
148
+ ]
149
+
150
+ [[package]]
151
+ name = "heck"
152
+ version = "0.5.0"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
155
+
156
+ [[package]]
157
+ name = "indoc"
158
+ version = "2.0.7"
159
+ source = "registry+https://github.com/rust-lang/crates.io-index"
160
+ checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
161
+ dependencies = [
162
+ "rustversion",
163
+ ]
164
+
165
+ [[package]]
166
+ name = "is_terminal_polyfill"
167
+ version = "1.70.2"
168
+ source = "registry+https://github.com/rust-lang/crates.io-index"
169
+ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
170
+
171
+ [[package]]
172
+ name = "itoa"
173
+ version = "1.0.18"
174
+ source = "registry+https://github.com/rust-lang/crates.io-index"
175
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
176
+
177
+ [[package]]
178
+ name = "js-sys"
179
+ version = "0.3.94"
180
+ source = "registry+https://github.com/rust-lang/crates.io-index"
181
+ checksum = "2e04e2ef80ce82e13552136fabeef8a5ed1f985a96805761cbb9a2c34e7664d9"
182
+ dependencies = [
183
+ "once_cell",
184
+ "wasm-bindgen",
185
+ ]
186
+
187
+ [[package]]
188
+ name = "libc"
189
+ version = "0.2.183"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
192
+
193
+ [[package]]
194
+ name = "log"
195
+ version = "0.4.29"
196
+ source = "registry+https://github.com/rust-lang/crates.io-index"
197
+ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
198
+
199
+ [[package]]
200
+ name = "memchr"
201
+ version = "2.8.0"
202
+ source = "registry+https://github.com/rust-lang/crates.io-index"
203
+ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
204
+
205
+ [[package]]
206
+ name = "memoffset"
207
+ version = "0.9.1"
208
+ source = "registry+https://github.com/rust-lang/crates.io-index"
209
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
210
+ dependencies = [
211
+ "autocfg",
212
+ ]
213
+
214
+ [[package]]
215
+ name = "nanorand"
216
+ version = "0.8.0"
217
+ source = "registry+https://github.com/rust-lang/crates.io-index"
218
+ checksum = "6e3d189da485332e96ba8a5ef646a311871abd7915bf06ac848a9117f19cf6e4"
219
+
220
+ [[package]]
221
+ name = "nj"
222
+ version = "0.0.12"
223
+ dependencies = [
224
+ "bitvec",
225
+ "clap",
226
+ "getrandom",
227
+ "nanorand",
228
+ "serde",
229
+ "ts-rs",
230
+ ]
231
+
232
+ [[package]]
233
+ name = "nj_js"
234
+ version = "0.0.12"
235
+ dependencies = [
236
+ "getrandom",
237
+ "nj",
238
+ "serde-wasm-bindgen",
239
+ "wasm-bindgen",
240
+ ]
241
+
242
+ [[package]]
243
+ name = "nj_py"
244
+ version = "0.0.12"
245
+ dependencies = [
246
+ "nj",
247
+ "pyo3",
248
+ "serde-pyobject",
249
+ "serde_json",
250
+ ]
251
+
252
+ [[package]]
253
+ name = "once_cell"
254
+ version = "1.21.4"
255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
256
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
257
+
258
+ [[package]]
259
+ name = "once_cell_polyfill"
260
+ version = "1.70.2"
261
+ source = "registry+https://github.com/rust-lang/crates.io-index"
262
+ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
263
+
264
+ [[package]]
265
+ name = "portable-atomic"
266
+ version = "1.13.1"
267
+ source = "registry+https://github.com/rust-lang/crates.io-index"
268
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
269
+
270
+ [[package]]
271
+ name = "proc-macro2"
272
+ version = "1.0.106"
273
+ source = "registry+https://github.com/rust-lang/crates.io-index"
274
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
275
+ dependencies = [
276
+ "unicode-ident",
277
+ ]
278
+
279
+ [[package]]
280
+ name = "pyo3"
281
+ version = "0.27.2"
282
+ source = "registry+https://github.com/rust-lang/crates.io-index"
283
+ checksum = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d"
284
+ dependencies = [
285
+ "indoc",
286
+ "libc",
287
+ "memoffset",
288
+ "once_cell",
289
+ "portable-atomic",
290
+ "pyo3-build-config",
291
+ "pyo3-ffi",
292
+ "pyo3-macros",
293
+ "unindent",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "pyo3-build-config"
298
+ version = "0.27.2"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
301
+ dependencies = [
302
+ "target-lexicon",
303
+ ]
304
+
305
+ [[package]]
306
+ name = "pyo3-ffi"
307
+ version = "0.27.2"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089"
310
+ dependencies = [
311
+ "libc",
312
+ "pyo3-build-config",
313
+ ]
314
+
315
+ [[package]]
316
+ name = "pyo3-macros"
317
+ version = "0.27.2"
318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
319
+ checksum = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02"
320
+ dependencies = [
321
+ "proc-macro2",
322
+ "pyo3-macros-backend",
323
+ "quote",
324
+ "syn",
325
+ ]
326
+
327
+ [[package]]
328
+ name = "pyo3-macros-backend"
329
+ version = "0.27.2"
330
+ source = "registry+https://github.com/rust-lang/crates.io-index"
331
+ checksum = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9"
332
+ dependencies = [
333
+ "heck",
334
+ "proc-macro2",
335
+ "pyo3-build-config",
336
+ "quote",
337
+ "syn",
338
+ ]
339
+
340
+ [[package]]
341
+ name = "quote"
342
+ version = "1.0.45"
343
+ source = "registry+https://github.com/rust-lang/crates.io-index"
344
+ checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
345
+ dependencies = [
346
+ "proc-macro2",
347
+ ]
348
+
349
+ [[package]]
350
+ name = "radium"
351
+ version = "0.7.0"
352
+ source = "registry+https://github.com/rust-lang/crates.io-index"
353
+ checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
354
+
355
+ [[package]]
356
+ name = "rustversion"
357
+ version = "1.0.22"
358
+ source = "registry+https://github.com/rust-lang/crates.io-index"
359
+ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
360
+
361
+ [[package]]
362
+ name = "serde"
363
+ version = "1.0.228"
364
+ source = "registry+https://github.com/rust-lang/crates.io-index"
365
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
366
+ dependencies = [
367
+ "serde_core",
368
+ "serde_derive",
369
+ ]
370
+
371
+ [[package]]
372
+ name = "serde-pyobject"
373
+ version = "0.8.0"
374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
375
+ checksum = "5614e792b7c36d3feeb45b8287ea2dc615f063896e59258d11ef5015c18bdf6a"
376
+ dependencies = [
377
+ "log",
378
+ "pyo3",
379
+ "serde",
380
+ ]
381
+
382
+ [[package]]
383
+ name = "serde-wasm-bindgen"
384
+ version = "0.6.5"
385
+ source = "registry+https://github.com/rust-lang/crates.io-index"
386
+ checksum = "8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b"
387
+ dependencies = [
388
+ "js-sys",
389
+ "serde",
390
+ "wasm-bindgen",
391
+ ]
392
+
393
+ [[package]]
394
+ name = "serde_core"
395
+ version = "1.0.228"
396
+ source = "registry+https://github.com/rust-lang/crates.io-index"
397
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
398
+ dependencies = [
399
+ "serde_derive",
400
+ ]
401
+
402
+ [[package]]
403
+ name = "serde_derive"
404
+ version = "1.0.228"
405
+ source = "registry+https://github.com/rust-lang/crates.io-index"
406
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
407
+ dependencies = [
408
+ "proc-macro2",
409
+ "quote",
410
+ "syn",
411
+ ]
412
+
413
+ [[package]]
414
+ name = "serde_json"
415
+ version = "1.0.149"
416
+ source = "registry+https://github.com/rust-lang/crates.io-index"
417
+ checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
418
+ dependencies = [
419
+ "itoa",
420
+ "memchr",
421
+ "serde",
422
+ "serde_core",
423
+ "zmij",
424
+ ]
425
+
426
+ [[package]]
427
+ name = "strsim"
428
+ version = "0.11.1"
429
+ source = "registry+https://github.com/rust-lang/crates.io-index"
430
+ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
431
+
432
+ [[package]]
433
+ name = "syn"
434
+ version = "2.0.117"
435
+ source = "registry+https://github.com/rust-lang/crates.io-index"
436
+ checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
437
+ dependencies = [
438
+ "proc-macro2",
439
+ "quote",
440
+ "unicode-ident",
441
+ ]
442
+
443
+ [[package]]
444
+ name = "tap"
445
+ version = "1.0.1"
446
+ source = "registry+https://github.com/rust-lang/crates.io-index"
447
+ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
448
+
449
+ [[package]]
450
+ name = "target-lexicon"
451
+ version = "0.13.5"
452
+ source = "registry+https://github.com/rust-lang/crates.io-index"
453
+ checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
454
+
455
+ [[package]]
456
+ name = "termcolor"
457
+ version = "1.4.1"
458
+ source = "registry+https://github.com/rust-lang/crates.io-index"
459
+ checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
460
+ dependencies = [
461
+ "winapi-util",
462
+ ]
463
+
464
+ [[package]]
465
+ name = "thiserror"
466
+ version = "2.0.18"
467
+ source = "registry+https://github.com/rust-lang/crates.io-index"
468
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
469
+ dependencies = [
470
+ "thiserror-impl",
471
+ ]
472
+
473
+ [[package]]
474
+ name = "thiserror-impl"
475
+ version = "2.0.18"
476
+ source = "registry+https://github.com/rust-lang/crates.io-index"
477
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
478
+ dependencies = [
479
+ "proc-macro2",
480
+ "quote",
481
+ "syn",
482
+ ]
483
+
484
+ [[package]]
485
+ name = "ts-rs"
486
+ version = "11.1.0"
487
+ source = "registry+https://github.com/rust-lang/crates.io-index"
488
+ checksum = "4994acea2522cd2b3b85c1d9529a55991e3ad5e25cdcd3de9d505972c4379424"
489
+ dependencies = [
490
+ "thiserror",
491
+ "ts-rs-macros",
492
+ ]
493
+
494
+ [[package]]
495
+ name = "ts-rs-macros"
496
+ version = "11.1.0"
497
+ source = "registry+https://github.com/rust-lang/crates.io-index"
498
+ checksum = "ee6ff59666c9cbaec3533964505d39154dc4e0a56151fdea30a09ed0301f62e2"
499
+ dependencies = [
500
+ "proc-macro2",
501
+ "quote",
502
+ "syn",
503
+ "termcolor",
504
+ ]
505
+
506
+ [[package]]
507
+ name = "unicode-ident"
508
+ version = "1.0.24"
509
+ source = "registry+https://github.com/rust-lang/crates.io-index"
510
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
511
+
512
+ [[package]]
513
+ name = "unindent"
514
+ version = "0.2.4"
515
+ source = "registry+https://github.com/rust-lang/crates.io-index"
516
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
517
+
518
+ [[package]]
519
+ name = "utf8parse"
520
+ version = "0.2.2"
521
+ source = "registry+https://github.com/rust-lang/crates.io-index"
522
+ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
523
+
524
+ [[package]]
525
+ name = "wasi"
526
+ version = "0.11.1+wasi-snapshot-preview1"
527
+ source = "registry+https://github.com/rust-lang/crates.io-index"
528
+ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
529
+
530
+ [[package]]
531
+ name = "wasm-bindgen"
532
+ version = "0.2.117"
533
+ source = "registry+https://github.com/rust-lang/crates.io-index"
534
+ checksum = "0551fc1bb415591e3372d0bc4780db7e587d84e2a7e79da121051c5c4b89d0b0"
535
+ dependencies = [
536
+ "cfg-if",
537
+ "once_cell",
538
+ "rustversion",
539
+ "wasm-bindgen-macro",
540
+ "wasm-bindgen-shared",
541
+ ]
542
+
543
+ [[package]]
544
+ name = "wasm-bindgen-macro"
545
+ version = "0.2.117"
546
+ source = "registry+https://github.com/rust-lang/crates.io-index"
547
+ checksum = "7fbdf9a35adf44786aecd5ff89b4563a90325f9da0923236f6104e603c7e86be"
548
+ dependencies = [
549
+ "quote",
550
+ "wasm-bindgen-macro-support",
551
+ ]
552
+
553
+ [[package]]
554
+ name = "wasm-bindgen-macro-support"
555
+ version = "0.2.117"
556
+ source = "registry+https://github.com/rust-lang/crates.io-index"
557
+ checksum = "dca9693ef2bab6d4e6707234500350d8dad079eb508dca05530c85dc3a529ff2"
558
+ dependencies = [
559
+ "bumpalo",
560
+ "proc-macro2",
561
+ "quote",
562
+ "syn",
563
+ "wasm-bindgen-shared",
564
+ ]
565
+
566
+ [[package]]
567
+ name = "wasm-bindgen-shared"
568
+ version = "0.2.117"
569
+ source = "registry+https://github.com/rust-lang/crates.io-index"
570
+ checksum = "39129a682a6d2d841b6c429d0c51e5cb0ed1a03829d8b3d1e69a011e62cb3d3b"
571
+ dependencies = [
572
+ "unicode-ident",
573
+ ]
574
+
575
+ [[package]]
576
+ name = "winapi-util"
577
+ version = "0.1.11"
578
+ source = "registry+https://github.com/rust-lang/crates.io-index"
579
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
580
+ dependencies = [
581
+ "windows-sys",
582
+ ]
583
+
584
+ [[package]]
585
+ name = "windows-link"
586
+ version = "0.2.1"
587
+ source = "registry+https://github.com/rust-lang/crates.io-index"
588
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
589
+
590
+ [[package]]
591
+ name = "windows-sys"
592
+ version = "0.61.2"
593
+ source = "registry+https://github.com/rust-lang/crates.io-index"
594
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
595
+ dependencies = [
596
+ "windows-link",
597
+ ]
598
+
599
+ [[package]]
600
+ name = "wyz"
601
+ version = "0.5.1"
602
+ source = "registry+https://github.com/rust-lang/crates.io-index"
603
+ checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
604
+ dependencies = [
605
+ "tap",
606
+ ]
607
+
608
+ [[package]]
609
+ name = "zmij"
610
+ version = "1.0.21"
611
+ source = "registry+https://github.com/rust-lang/crates.io-index"
612
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
@@ -0,0 +1,11 @@
1
+ [workspace]
2
+ members = ["nj", "python"]
3
+ resolver = "3"
4
+
5
+ [workspace.package]
6
+ version = "0.0.12"
7
+ edition = "2024"
8
+ authors = ["Rens Holmer"]
9
+ license = "MIT"
10
+ repository = "https://github.com/holmrenser/nj.rs"
11
+ description = "Neighbor Joining, fast phylogenetic tree construction. Library and CLI."
nj_py-0.0.12/PKG-INFO ADDED
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: nj_py
3
+ Version: 0.0.12
4
+ Classifier: Programming Language :: Python :: 3
5
+ Classifier: License :: OSI Approved :: MIT License
6
+ Classifier: Operating System :: OS Independent
7
+ Requires-Python: >=3.10
@@ -0,0 +1,38 @@
1
+ [package]
2
+ name = "nj"
3
+ description = "Neighbor Joining, fast phylogenetic tree construction. Library and CLI."
4
+ version.workspace = true
5
+ edition.workspace = true
6
+ license.workspace = true
7
+ authors.workspace = true
8
+ repository.workspace = true
9
+
10
+
11
+ [lib]
12
+ crate-type = ["rlib"]
13
+ path = "src/lib.rs"
14
+
15
+ [[bin]]
16
+ name = "nj"
17
+ path = "src/main.rs"
18
+
19
+ [dependencies]
20
+ bitvec = "1.0.1"
21
+ getrandom = "0.2"
22
+ nanorand = "0.8.0"
23
+ serde = { version = "1.0.228", features = ["derive"] }
24
+ ts-rs = "11.1.0"
25
+
26
+ # CLI-only dependencies
27
+ [dependencies.clap]
28
+ version = "4"
29
+ features = ["derive"]
30
+ optional = true
31
+
32
+
33
+ [features]
34
+ # default build only builds the library
35
+ default = []
36
+
37
+ # feature to build CLI
38
+ cli = ["clap"]
@@ -0,0 +1,6 @@
1
+ all:
2
+ CARGO_TARGET_DIR=target cargo build --release
3
+ CARGO_TARGET_DIR=target cargo build --release --features cli --bin nj
4
+
5
+ clean:
6
+ CARGO_TARGET_DIR=target cargo clean
@@ -0,0 +1,15 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+
3
+ /**
4
+ * Available substitution models.
5
+ *
6
+ * | Variant | Alphabet | Formula |
7
+ * |---------|----------|---------|
8
+ * | `PDiff` | DNA, Protein | `p` |
9
+ * | `JukesCantor` | DNA only | `-0.75 · ln(1 - 4p/3)` |
10
+ * | `Kimura2P` | DNA only | `-0.5 · ln(1-2p-q) - 0.25 · ln(1-2q)` |
11
+ * | `Poisson` | Protein only | `-ln(1 - p)` |
12
+ *
13
+ * Model–alphabet compatibility is enforced at runtime in [`crate::nj`].
14
+ */
15
+ export type SubstitutionModel = "PDiff" | "JukesCantor" | "Kimura2P" | "Poisson";