nj-py 0.0.3__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.
- nj_py-0.0.3/Cargo.lock +658 -0
- nj_py-0.0.3/Cargo.toml +12 -0
- nj_py-0.0.3/PKG-INFO +7 -0
- nj_py-0.0.3/nj/Cargo.toml +36 -0
- nj_py-0.0.3/nj/Makefile +6 -0
- nj_py-0.0.3/nj/src/config.rs +18 -0
- nj_py-0.0.3/nj/src/lib.rs +434 -0
- nj_py-0.0.3/nj/src/main.rs +198 -0
- nj_py-0.0.3/nj/src/tree.rs +66 -0
- nj_py-0.0.3/pyproject.toml +22 -0
- nj_py-0.0.3/python/.cargo/config.toml +2 -0
- nj_py-0.0.3/python/Cargo.toml +18 -0
- nj_py-0.0.3/python/Makefile +8 -0
- nj_py-0.0.3/python/src/lib.rs +14 -0
nj_py-0.0.3/Cargo.lock
ADDED
|
@@ -0,0 +1,658 @@
|
|
|
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 = "0.6.21"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
|
|
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.13"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "0.2.7"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.4"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys 0.60.2",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.10"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys 0.60.2",
|
|
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.19.0"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
|
|
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.5.51"
|
|
88
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
|
+
checksum = "4c26d721170e0295f191a69bd9a1f93efcdb0aff38684b61ab5750468972e5f5"
|
|
90
|
+
dependencies = [
|
|
91
|
+
"clap_builder",
|
|
92
|
+
"clap_derive",
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "clap_builder"
|
|
97
|
+
version = "4.5.51"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "75835f0c7bf681bfd05abe44e965760fea999a5286c6eb2d59883634fd02011a"
|
|
100
|
+
dependencies = [
|
|
101
|
+
"anstream",
|
|
102
|
+
"anstyle",
|
|
103
|
+
"clap_lex",
|
|
104
|
+
"strsim",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "clap_derive"
|
|
109
|
+
version = "4.5.49"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671"
|
|
112
|
+
dependencies = [
|
|
113
|
+
"heck",
|
|
114
|
+
"proc-macro2",
|
|
115
|
+
"quote",
|
|
116
|
+
"syn",
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "clap_lex"
|
|
121
|
+
version = "0.7.6"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
|
|
124
|
+
|
|
125
|
+
[[package]]
|
|
126
|
+
name = "colorchoice"
|
|
127
|
+
version = "1.0.4"
|
|
128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
129
|
+
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
|
|
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 = "heck"
|
|
139
|
+
version = "0.5.0"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
142
|
+
|
|
143
|
+
[[package]]
|
|
144
|
+
name = "indoc"
|
|
145
|
+
version = "2.0.7"
|
|
146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
148
|
+
dependencies = [
|
|
149
|
+
"rustversion",
|
|
150
|
+
]
|
|
151
|
+
|
|
152
|
+
[[package]]
|
|
153
|
+
name = "is_terminal_polyfill"
|
|
154
|
+
version = "1.70.2"
|
|
155
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
156
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "itoa"
|
|
160
|
+
version = "1.0.15"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "js-sys"
|
|
166
|
+
version = "0.3.82"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "b011eec8cc36da2aab2d5cff675ec18454fad408585853910a202391cf9f8e65"
|
|
169
|
+
dependencies = [
|
|
170
|
+
"once_cell",
|
|
171
|
+
"wasm-bindgen",
|
|
172
|
+
]
|
|
173
|
+
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "libc"
|
|
176
|
+
version = "0.2.177"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "log"
|
|
182
|
+
version = "0.4.28"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "memchr"
|
|
188
|
+
version = "2.7.6"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "memoffset"
|
|
194
|
+
version = "0.9.1"
|
|
195
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
197
|
+
dependencies = [
|
|
198
|
+
"autocfg",
|
|
199
|
+
]
|
|
200
|
+
|
|
201
|
+
[[package]]
|
|
202
|
+
name = "nj"
|
|
203
|
+
version = "0.0.3"
|
|
204
|
+
dependencies = [
|
|
205
|
+
"bitvec",
|
|
206
|
+
"clap",
|
|
207
|
+
"serde",
|
|
208
|
+
"ts-rs",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "nj_js"
|
|
213
|
+
version = "0.0.3"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"nj",
|
|
216
|
+
"serde-wasm-bindgen",
|
|
217
|
+
"wasm-bindgen",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "nj_py"
|
|
222
|
+
version = "0.0.3"
|
|
223
|
+
dependencies = [
|
|
224
|
+
"nj",
|
|
225
|
+
"pyo3",
|
|
226
|
+
"serde-pyobject",
|
|
227
|
+
"serde_json",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "once_cell"
|
|
232
|
+
version = "1.21.3"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "once_cell_polyfill"
|
|
238
|
+
version = "1.70.2"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "portable-atomic"
|
|
244
|
+
version = "1.11.1"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "proc-macro2"
|
|
250
|
+
version = "1.0.103"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"unicode-ident",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "pyo3"
|
|
259
|
+
version = "0.27.1"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
|
|
262
|
+
dependencies = [
|
|
263
|
+
"indoc",
|
|
264
|
+
"libc",
|
|
265
|
+
"memoffset",
|
|
266
|
+
"once_cell",
|
|
267
|
+
"portable-atomic",
|
|
268
|
+
"pyo3-build-config",
|
|
269
|
+
"pyo3-ffi",
|
|
270
|
+
"pyo3-macros",
|
|
271
|
+
"unindent",
|
|
272
|
+
]
|
|
273
|
+
|
|
274
|
+
[[package]]
|
|
275
|
+
name = "pyo3-build-config"
|
|
276
|
+
version = "0.27.1"
|
|
277
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
278
|
+
checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
|
|
279
|
+
dependencies = [
|
|
280
|
+
"target-lexicon",
|
|
281
|
+
]
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "pyo3-ffi"
|
|
285
|
+
version = "0.27.1"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
|
|
288
|
+
dependencies = [
|
|
289
|
+
"libc",
|
|
290
|
+
"pyo3-build-config",
|
|
291
|
+
]
|
|
292
|
+
|
|
293
|
+
[[package]]
|
|
294
|
+
name = "pyo3-macros"
|
|
295
|
+
version = "0.27.1"
|
|
296
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
+
checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
|
|
298
|
+
dependencies = [
|
|
299
|
+
"proc-macro2",
|
|
300
|
+
"pyo3-macros-backend",
|
|
301
|
+
"quote",
|
|
302
|
+
"syn",
|
|
303
|
+
]
|
|
304
|
+
|
|
305
|
+
[[package]]
|
|
306
|
+
name = "pyo3-macros-backend"
|
|
307
|
+
version = "0.27.1"
|
|
308
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
309
|
+
checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
|
|
310
|
+
dependencies = [
|
|
311
|
+
"heck",
|
|
312
|
+
"proc-macro2",
|
|
313
|
+
"pyo3-build-config",
|
|
314
|
+
"quote",
|
|
315
|
+
"syn",
|
|
316
|
+
]
|
|
317
|
+
|
|
318
|
+
[[package]]
|
|
319
|
+
name = "quote"
|
|
320
|
+
version = "1.0.42"
|
|
321
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
322
|
+
checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
|
|
323
|
+
dependencies = [
|
|
324
|
+
"proc-macro2",
|
|
325
|
+
]
|
|
326
|
+
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "radium"
|
|
329
|
+
version = "0.7.0"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
|
332
|
+
|
|
333
|
+
[[package]]
|
|
334
|
+
name = "rustversion"
|
|
335
|
+
version = "1.0.22"
|
|
336
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "ryu"
|
|
341
|
+
version = "1.0.20"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "serde"
|
|
347
|
+
version = "1.0.228"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"serde_core",
|
|
352
|
+
"serde_derive",
|
|
353
|
+
]
|
|
354
|
+
|
|
355
|
+
[[package]]
|
|
356
|
+
name = "serde-pyobject"
|
|
357
|
+
version = "0.8.0"
|
|
358
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
+
checksum = "5614e792b7c36d3feeb45b8287ea2dc615f063896e59258d11ef5015c18bdf6a"
|
|
360
|
+
dependencies = [
|
|
361
|
+
"log",
|
|
362
|
+
"pyo3",
|
|
363
|
+
"serde",
|
|
364
|
+
]
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "serde-wasm-bindgen"
|
|
368
|
+
version = "0.6.5"
|
|
369
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
370
|
+
checksum = "8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b"
|
|
371
|
+
dependencies = [
|
|
372
|
+
"js-sys",
|
|
373
|
+
"serde",
|
|
374
|
+
"wasm-bindgen",
|
|
375
|
+
]
|
|
376
|
+
|
|
377
|
+
[[package]]
|
|
378
|
+
name = "serde_core"
|
|
379
|
+
version = "1.0.228"
|
|
380
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
381
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
382
|
+
dependencies = [
|
|
383
|
+
"serde_derive",
|
|
384
|
+
]
|
|
385
|
+
|
|
386
|
+
[[package]]
|
|
387
|
+
name = "serde_derive"
|
|
388
|
+
version = "1.0.228"
|
|
389
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
390
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
391
|
+
dependencies = [
|
|
392
|
+
"proc-macro2",
|
|
393
|
+
"quote",
|
|
394
|
+
"syn",
|
|
395
|
+
]
|
|
396
|
+
|
|
397
|
+
[[package]]
|
|
398
|
+
name = "serde_json"
|
|
399
|
+
version = "1.0.145"
|
|
400
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
+
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
|
|
402
|
+
dependencies = [
|
|
403
|
+
"itoa",
|
|
404
|
+
"memchr",
|
|
405
|
+
"ryu",
|
|
406
|
+
"serde",
|
|
407
|
+
"serde_core",
|
|
408
|
+
]
|
|
409
|
+
|
|
410
|
+
[[package]]
|
|
411
|
+
name = "strsim"
|
|
412
|
+
version = "0.11.1"
|
|
413
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
414
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
415
|
+
|
|
416
|
+
[[package]]
|
|
417
|
+
name = "syn"
|
|
418
|
+
version = "2.0.110"
|
|
419
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
420
|
+
checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
|
|
421
|
+
dependencies = [
|
|
422
|
+
"proc-macro2",
|
|
423
|
+
"quote",
|
|
424
|
+
"unicode-ident",
|
|
425
|
+
]
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "tap"
|
|
429
|
+
version = "1.0.1"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
432
|
+
|
|
433
|
+
[[package]]
|
|
434
|
+
name = "target-lexicon"
|
|
435
|
+
version = "0.13.3"
|
|
436
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
437
|
+
checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
|
|
438
|
+
|
|
439
|
+
[[package]]
|
|
440
|
+
name = "termcolor"
|
|
441
|
+
version = "1.4.1"
|
|
442
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
443
|
+
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
|
444
|
+
dependencies = [
|
|
445
|
+
"winapi-util",
|
|
446
|
+
]
|
|
447
|
+
|
|
448
|
+
[[package]]
|
|
449
|
+
name = "thiserror"
|
|
450
|
+
version = "2.0.17"
|
|
451
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
|
+
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
|
|
453
|
+
dependencies = [
|
|
454
|
+
"thiserror-impl",
|
|
455
|
+
]
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "thiserror-impl"
|
|
459
|
+
version = "2.0.17"
|
|
460
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
+
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
|
|
462
|
+
dependencies = [
|
|
463
|
+
"proc-macro2",
|
|
464
|
+
"quote",
|
|
465
|
+
"syn",
|
|
466
|
+
]
|
|
467
|
+
|
|
468
|
+
[[package]]
|
|
469
|
+
name = "ts-rs"
|
|
470
|
+
version = "11.1.0"
|
|
471
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
472
|
+
checksum = "4994acea2522cd2b3b85c1d9529a55991e3ad5e25cdcd3de9d505972c4379424"
|
|
473
|
+
dependencies = [
|
|
474
|
+
"thiserror",
|
|
475
|
+
"ts-rs-macros",
|
|
476
|
+
]
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "ts-rs-macros"
|
|
480
|
+
version = "11.1.0"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "ee6ff59666c9cbaec3533964505d39154dc4e0a56151fdea30a09ed0301f62e2"
|
|
483
|
+
dependencies = [
|
|
484
|
+
"proc-macro2",
|
|
485
|
+
"quote",
|
|
486
|
+
"syn",
|
|
487
|
+
"termcolor",
|
|
488
|
+
]
|
|
489
|
+
|
|
490
|
+
[[package]]
|
|
491
|
+
name = "unicode-ident"
|
|
492
|
+
version = "1.0.22"
|
|
493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
494
|
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "unindent"
|
|
498
|
+
version = "0.2.4"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
501
|
+
|
|
502
|
+
[[package]]
|
|
503
|
+
name = "utf8parse"
|
|
504
|
+
version = "0.2.2"
|
|
505
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
506
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
507
|
+
|
|
508
|
+
[[package]]
|
|
509
|
+
name = "wasm-bindgen"
|
|
510
|
+
version = "0.2.105"
|
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
512
|
+
checksum = "da95793dfc411fbbd93f5be7715b0578ec61fe87cb1a42b12eb625caa5c5ea60"
|
|
513
|
+
dependencies = [
|
|
514
|
+
"cfg-if",
|
|
515
|
+
"once_cell",
|
|
516
|
+
"rustversion",
|
|
517
|
+
"wasm-bindgen-macro",
|
|
518
|
+
"wasm-bindgen-shared",
|
|
519
|
+
]
|
|
520
|
+
|
|
521
|
+
[[package]]
|
|
522
|
+
name = "wasm-bindgen-macro"
|
|
523
|
+
version = "0.2.105"
|
|
524
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
525
|
+
checksum = "04264334509e04a7bf8690f2384ef5265f05143a4bff3889ab7a3269adab59c2"
|
|
526
|
+
dependencies = [
|
|
527
|
+
"quote",
|
|
528
|
+
"wasm-bindgen-macro-support",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "wasm-bindgen-macro-support"
|
|
533
|
+
version = "0.2.105"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "420bc339d9f322e562942d52e115d57e950d12d88983a14c79b86859ee6c7ebc"
|
|
536
|
+
dependencies = [
|
|
537
|
+
"bumpalo",
|
|
538
|
+
"proc-macro2",
|
|
539
|
+
"quote",
|
|
540
|
+
"syn",
|
|
541
|
+
"wasm-bindgen-shared",
|
|
542
|
+
]
|
|
543
|
+
|
|
544
|
+
[[package]]
|
|
545
|
+
name = "wasm-bindgen-shared"
|
|
546
|
+
version = "0.2.105"
|
|
547
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
548
|
+
checksum = "76f218a38c84bcb33c25ec7059b07847d465ce0e0a76b995e134a45adcb6af76"
|
|
549
|
+
dependencies = [
|
|
550
|
+
"unicode-ident",
|
|
551
|
+
]
|
|
552
|
+
|
|
553
|
+
[[package]]
|
|
554
|
+
name = "winapi-util"
|
|
555
|
+
version = "0.1.11"
|
|
556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
558
|
+
dependencies = [
|
|
559
|
+
"windows-sys 0.61.2",
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "windows-link"
|
|
564
|
+
version = "0.2.1"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
567
|
+
|
|
568
|
+
[[package]]
|
|
569
|
+
name = "windows-sys"
|
|
570
|
+
version = "0.60.2"
|
|
571
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
|
+
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
573
|
+
dependencies = [
|
|
574
|
+
"windows-targets",
|
|
575
|
+
]
|
|
576
|
+
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "windows-sys"
|
|
579
|
+
version = "0.61.2"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
582
|
+
dependencies = [
|
|
583
|
+
"windows-link",
|
|
584
|
+
]
|
|
585
|
+
|
|
586
|
+
[[package]]
|
|
587
|
+
name = "windows-targets"
|
|
588
|
+
version = "0.53.5"
|
|
589
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
+
checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
|
|
591
|
+
dependencies = [
|
|
592
|
+
"windows-link",
|
|
593
|
+
"windows_aarch64_gnullvm",
|
|
594
|
+
"windows_aarch64_msvc",
|
|
595
|
+
"windows_i686_gnu",
|
|
596
|
+
"windows_i686_gnullvm",
|
|
597
|
+
"windows_i686_msvc",
|
|
598
|
+
"windows_x86_64_gnu",
|
|
599
|
+
"windows_x86_64_gnullvm",
|
|
600
|
+
"windows_x86_64_msvc",
|
|
601
|
+
]
|
|
602
|
+
|
|
603
|
+
[[package]]
|
|
604
|
+
name = "windows_aarch64_gnullvm"
|
|
605
|
+
version = "0.53.1"
|
|
606
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
607
|
+
checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
|
|
608
|
+
|
|
609
|
+
[[package]]
|
|
610
|
+
name = "windows_aarch64_msvc"
|
|
611
|
+
version = "0.53.1"
|
|
612
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
613
|
+
checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
|
|
614
|
+
|
|
615
|
+
[[package]]
|
|
616
|
+
name = "windows_i686_gnu"
|
|
617
|
+
version = "0.53.1"
|
|
618
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
619
|
+
checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
|
|
620
|
+
|
|
621
|
+
[[package]]
|
|
622
|
+
name = "windows_i686_gnullvm"
|
|
623
|
+
version = "0.53.1"
|
|
624
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
625
|
+
checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
|
|
626
|
+
|
|
627
|
+
[[package]]
|
|
628
|
+
name = "windows_i686_msvc"
|
|
629
|
+
version = "0.53.1"
|
|
630
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
631
|
+
checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
|
|
632
|
+
|
|
633
|
+
[[package]]
|
|
634
|
+
name = "windows_x86_64_gnu"
|
|
635
|
+
version = "0.53.1"
|
|
636
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
637
|
+
checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
|
|
638
|
+
|
|
639
|
+
[[package]]
|
|
640
|
+
name = "windows_x86_64_gnullvm"
|
|
641
|
+
version = "0.53.1"
|
|
642
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
643
|
+
checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
|
|
644
|
+
|
|
645
|
+
[[package]]
|
|
646
|
+
name = "windows_x86_64_msvc"
|
|
647
|
+
version = "0.53.1"
|
|
648
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
649
|
+
checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
|
|
650
|
+
|
|
651
|
+
[[package]]
|
|
652
|
+
name = "wyz"
|
|
653
|
+
version = "0.5.1"
|
|
654
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
655
|
+
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
|
|
656
|
+
dependencies = [
|
|
657
|
+
"tap",
|
|
658
|
+
]
|
nj_py-0.0.3/Cargo.toml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["nj", "python"]
|
|
3
|
+
resolver = "3"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[workspace.package]
|
|
7
|
+
version = "0.0.3"
|
|
8
|
+
edition = "2024"
|
|
9
|
+
authors = ["Rens Holmer"]
|
|
10
|
+
license = "MIT"
|
|
11
|
+
repository = "https://github.com/holmrenser/nj.rs"
|
|
12
|
+
description = "Neighbor Joining, fast phylogenetic tree construction. Library and CLI."
|
nj_py-0.0.3/PKG-INFO
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
serde = { version = "1.0.228", features = ["derive"] }
|
|
22
|
+
ts-rs = "11.1.0"
|
|
23
|
+
|
|
24
|
+
# CLI-only dependencies
|
|
25
|
+
[dependencies.clap]
|
|
26
|
+
version = "4"
|
|
27
|
+
features = ["derive"]
|
|
28
|
+
optional = true
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
[features]
|
|
32
|
+
# default build only builds the library
|
|
33
|
+
default = []
|
|
34
|
+
|
|
35
|
+
# feature to build CLI
|
|
36
|
+
cli = ["clap"]
|