vizzle 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.
- vizzle-0.1.0/Cargo.lock +556 -0
- vizzle-0.1.0/Cargo.toml +17 -0
- vizzle-0.1.0/PKG-INFO +8 -0
- vizzle-0.1.0/crates/vizzle-core/Cargo.toml +20 -0
- vizzle-0.1.0/crates/vizzle-core/src/component.rs +1141 -0
- vizzle-0.1.0/crates/vizzle-core/src/diff.rs +109 -0
- vizzle-0.1.0/crates/vizzle-core/src/export.rs +113 -0
- vizzle-0.1.0/crates/vizzle-core/src/lib.rs +160 -0
- vizzle-0.1.0/crates/vizzle-core/src/mermaid.rs +250 -0
- vizzle-0.1.0/crates/vizzle-core/src/model.rs +214 -0
- vizzle-0.1.0/crates/vizzle-core/src/palette.rs +119 -0
- vizzle-0.1.0/crates/vizzle-core/src/parse/mod.rs +80 -0
- vizzle-0.1.0/crates/vizzle-core/src/parse/python.rs +426 -0
- vizzle-0.1.0/crates/vizzle-core/src/parse/typescript.rs +416 -0
- vizzle-0.1.0/crates/vizzle-core/src/resolve.rs +261 -0
- vizzle-0.1.0/crates/vizzle-core/src/walk.rs +99 -0
- vizzle-0.1.0/crates/vizzle-py/Cargo.toml +18 -0
- vizzle-0.1.0/crates/vizzle-py/src/lib.rs +307 -0
- vizzle-0.1.0/pyproject.toml +29 -0
- vizzle-0.1.0/src/vizzle_cli/__init__.py +10 -0
- vizzle-0.1.0/src/vizzle_cli/assets/d3.v7.min.js +2 -0
- vizzle-0.1.0/src/vizzle_cli/assets/template-component.html +557 -0
- vizzle-0.1.0/src/vizzle_cli/assets/template.html +130 -0
- vizzle-0.1.0/src/vizzle_cli/assets/viz-core.css +87 -0
- vizzle-0.1.0/src/vizzle_cli/assets/viz-core.js +364 -0
- vizzle-0.1.0/src/vizzle_cli/cli.py +468 -0
- vizzle-0.1.0/src/vizzle_cli/git.py +130 -0
- vizzle-0.1.0/src/vizzle_cli/html.py +70 -0
- vizzle-0.1.0/src/vizzle_cli/server.py +215 -0
vizzle-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,556 @@
|
|
|
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 = "anyhow"
|
|
16
|
+
version = "1.0.104"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "autocfg"
|
|
22
|
+
version = "1.5.1"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "bstr"
|
|
28
|
+
version = "1.13.1"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"memchr",
|
|
33
|
+
"serde_core",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "cc"
|
|
38
|
+
version = "1.4.2"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "5d262e149917187838d5b42777c8253bcb64500067342904e7d429499a6f277e"
|
|
41
|
+
dependencies = [
|
|
42
|
+
"find-msvc-tools",
|
|
43
|
+
"shlex",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
[[package]]
|
|
47
|
+
name = "crossbeam-deque"
|
|
48
|
+
version = "0.8.7"
|
|
49
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
50
|
+
checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
|
|
51
|
+
dependencies = [
|
|
52
|
+
"crossbeam-epoch",
|
|
53
|
+
"crossbeam-utils",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[[package]]
|
|
57
|
+
name = "crossbeam-epoch"
|
|
58
|
+
version = "0.9.20"
|
|
59
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
+
checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
|
|
61
|
+
dependencies = [
|
|
62
|
+
"crossbeam-utils",
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
[[package]]
|
|
66
|
+
name = "crossbeam-utils"
|
|
67
|
+
version = "0.8.22"
|
|
68
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
+
checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17"
|
|
70
|
+
|
|
71
|
+
[[package]]
|
|
72
|
+
name = "diff"
|
|
73
|
+
version = "0.1.13"
|
|
74
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
75
|
+
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "either"
|
|
79
|
+
version = "1.17.0"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d"
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "equivalent"
|
|
85
|
+
version = "1.0.2"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "find-msvc-tools"
|
|
91
|
+
version = "0.1.10"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "26b73573e6edcd2af0cdf47bd6cb58f0b3839491263c314eaad1ccf24430e1de"
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "globset"
|
|
97
|
+
version = "0.4.20"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "07c34a9410465b45bd9787443bc7370f37735bad04b0f0cd57ff1a3186c98988"
|
|
100
|
+
dependencies = [
|
|
101
|
+
"aho-corasick",
|
|
102
|
+
"bstr",
|
|
103
|
+
"log",
|
|
104
|
+
"regex-automata",
|
|
105
|
+
"regex-syntax",
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
[[package]]
|
|
109
|
+
name = "hashbrown"
|
|
110
|
+
version = "0.17.1"
|
|
111
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
112
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "heck"
|
|
116
|
+
version = "0.5.0"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "ignore"
|
|
122
|
+
version = "0.4.33"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "00b69833ed729dc5aa7d19541d96d6cf8e9137194207a04916d658e43168402f"
|
|
125
|
+
dependencies = [
|
|
126
|
+
"crossbeam-deque",
|
|
127
|
+
"globset",
|
|
128
|
+
"log",
|
|
129
|
+
"memchr",
|
|
130
|
+
"regex-automata",
|
|
131
|
+
"same-file",
|
|
132
|
+
"walkdir",
|
|
133
|
+
"winapi-util",
|
|
134
|
+
]
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "indexmap"
|
|
138
|
+
version = "2.14.0"
|
|
139
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
+
checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
|
|
141
|
+
dependencies = [
|
|
142
|
+
"equivalent",
|
|
143
|
+
"hashbrown",
|
|
144
|
+
]
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "indoc"
|
|
148
|
+
version = "2.0.7"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"rustversion",
|
|
153
|
+
]
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "itoa"
|
|
157
|
+
version = "1.0.18"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
160
|
+
|
|
161
|
+
[[package]]
|
|
162
|
+
name = "libc"
|
|
163
|
+
version = "0.2.189"
|
|
164
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "log"
|
|
169
|
+
version = "0.4.33"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "memchr"
|
|
175
|
+
version = "2.8.3"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "memoffset"
|
|
181
|
+
version = "0.9.1"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"autocfg",
|
|
186
|
+
]
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "once_cell"
|
|
190
|
+
version = "1.21.4"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "portable-atomic"
|
|
196
|
+
version = "1.15.0"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
199
|
+
|
|
200
|
+
[[package]]
|
|
201
|
+
name = "pretty_assertions"
|
|
202
|
+
version = "1.4.1"
|
|
203
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
204
|
+
checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
|
|
205
|
+
dependencies = [
|
|
206
|
+
"diff",
|
|
207
|
+
"yansi",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "proc-macro2"
|
|
212
|
+
version = "1.0.107"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
215
|
+
dependencies = [
|
|
216
|
+
"unicode-ident",
|
|
217
|
+
]
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "pyo3"
|
|
221
|
+
version = "0.26.0"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383"
|
|
224
|
+
dependencies = [
|
|
225
|
+
"indoc",
|
|
226
|
+
"libc",
|
|
227
|
+
"memoffset",
|
|
228
|
+
"once_cell",
|
|
229
|
+
"portable-atomic",
|
|
230
|
+
"pyo3-build-config",
|
|
231
|
+
"pyo3-ffi",
|
|
232
|
+
"pyo3-macros",
|
|
233
|
+
"unindent",
|
|
234
|
+
]
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "pyo3-build-config"
|
|
238
|
+
version = "0.26.0"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"target-lexicon",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "pyo3-ffi"
|
|
247
|
+
version = "0.26.0"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105"
|
|
250
|
+
dependencies = [
|
|
251
|
+
"libc",
|
|
252
|
+
"pyo3-build-config",
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "pyo3-macros"
|
|
257
|
+
version = "0.26.0"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded"
|
|
260
|
+
dependencies = [
|
|
261
|
+
"proc-macro2",
|
|
262
|
+
"pyo3-macros-backend",
|
|
263
|
+
"quote",
|
|
264
|
+
"syn 2.0.119",
|
|
265
|
+
]
|
|
266
|
+
|
|
267
|
+
[[package]]
|
|
268
|
+
name = "pyo3-macros-backend"
|
|
269
|
+
version = "0.26.0"
|
|
270
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
+
checksum = "100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf"
|
|
272
|
+
dependencies = [
|
|
273
|
+
"heck",
|
|
274
|
+
"proc-macro2",
|
|
275
|
+
"pyo3-build-config",
|
|
276
|
+
"quote",
|
|
277
|
+
"syn 2.0.119",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "quote"
|
|
282
|
+
version = "1.0.47"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
285
|
+
dependencies = [
|
|
286
|
+
"proc-macro2",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "rayon"
|
|
291
|
+
version = "1.12.0"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"either",
|
|
296
|
+
"rayon-core",
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
[[package]]
|
|
300
|
+
name = "rayon-core"
|
|
301
|
+
version = "1.13.0"
|
|
302
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
304
|
+
dependencies = [
|
|
305
|
+
"crossbeam-deque",
|
|
306
|
+
"crossbeam-utils",
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "regex"
|
|
311
|
+
version = "1.13.1"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"aho-corasick",
|
|
316
|
+
"memchr",
|
|
317
|
+
"regex-automata",
|
|
318
|
+
"regex-syntax",
|
|
319
|
+
]
|
|
320
|
+
|
|
321
|
+
[[package]]
|
|
322
|
+
name = "regex-automata"
|
|
323
|
+
version = "0.4.18"
|
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
326
|
+
dependencies = [
|
|
327
|
+
"aho-corasick",
|
|
328
|
+
"memchr",
|
|
329
|
+
"regex-syntax",
|
|
330
|
+
]
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "regex-syntax"
|
|
334
|
+
version = "0.8.11"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
337
|
+
|
|
338
|
+
[[package]]
|
|
339
|
+
name = "rustversion"
|
|
340
|
+
version = "1.0.23"
|
|
341
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
342
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
343
|
+
|
|
344
|
+
[[package]]
|
|
345
|
+
name = "same-file"
|
|
346
|
+
version = "1.0.6"
|
|
347
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
348
|
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
|
349
|
+
dependencies = [
|
|
350
|
+
"winapi-util",
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "serde"
|
|
355
|
+
version = "1.0.229"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
358
|
+
dependencies = [
|
|
359
|
+
"serde_core",
|
|
360
|
+
]
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "serde_core"
|
|
364
|
+
version = "1.0.229"
|
|
365
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
367
|
+
dependencies = [
|
|
368
|
+
"serde_derive",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "serde_derive"
|
|
373
|
+
version = "1.0.229"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"proc-macro2",
|
|
378
|
+
"quote",
|
|
379
|
+
"syn 3.0.3",
|
|
380
|
+
]
|
|
381
|
+
|
|
382
|
+
[[package]]
|
|
383
|
+
name = "serde_json"
|
|
384
|
+
version = "1.0.151"
|
|
385
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
386
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
387
|
+
dependencies = [
|
|
388
|
+
"indexmap",
|
|
389
|
+
"itoa",
|
|
390
|
+
"memchr",
|
|
391
|
+
"serde",
|
|
392
|
+
"serde_core",
|
|
393
|
+
"zmij",
|
|
394
|
+
]
|
|
395
|
+
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "shlex"
|
|
398
|
+
version = "2.0.1"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
401
|
+
|
|
402
|
+
[[package]]
|
|
403
|
+
name = "streaming-iterator"
|
|
404
|
+
version = "0.1.9"
|
|
405
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
406
|
+
checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "syn"
|
|
410
|
+
version = "2.0.119"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"proc-macro2",
|
|
415
|
+
"quote",
|
|
416
|
+
"unicode-ident",
|
|
417
|
+
]
|
|
418
|
+
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "syn"
|
|
421
|
+
version = "3.0.3"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
424
|
+
dependencies = [
|
|
425
|
+
"proc-macro2",
|
|
426
|
+
"quote",
|
|
427
|
+
"unicode-ident",
|
|
428
|
+
]
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "target-lexicon"
|
|
432
|
+
version = "0.13.5"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
435
|
+
|
|
436
|
+
[[package]]
|
|
437
|
+
name = "tree-sitter"
|
|
438
|
+
version = "0.25.10"
|
|
439
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
+
checksum = "78f873475d258561b06f1c595d93308a7ed124d9977cb26b148c2084a4a3cc87"
|
|
441
|
+
dependencies = [
|
|
442
|
+
"cc",
|
|
443
|
+
"regex",
|
|
444
|
+
"regex-syntax",
|
|
445
|
+
"serde_json",
|
|
446
|
+
"streaming-iterator",
|
|
447
|
+
"tree-sitter-language",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "tree-sitter-language"
|
|
452
|
+
version = "0.1.7"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "009994f150cc0cd50ff54917d5bc8bffe8cad10ca10d81c34da2ec421ae61782"
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "tree-sitter-python"
|
|
458
|
+
version = "0.25.0"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "6bf85fd39652e740bf60f46f4cda9492c3a9ad75880575bf14960f775cb74a1c"
|
|
461
|
+
dependencies = [
|
|
462
|
+
"cc",
|
|
463
|
+
"tree-sitter-language",
|
|
464
|
+
]
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "tree-sitter-typescript"
|
|
468
|
+
version = "0.23.2"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "6c5f76ed8d947a75cc446d5fccd8b602ebf0cde64ccf2ffa434d873d7a575eff"
|
|
471
|
+
dependencies = [
|
|
472
|
+
"cc",
|
|
473
|
+
"tree-sitter-language",
|
|
474
|
+
]
|
|
475
|
+
|
|
476
|
+
[[package]]
|
|
477
|
+
name = "unicode-ident"
|
|
478
|
+
version = "1.0.24"
|
|
479
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
480
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
481
|
+
|
|
482
|
+
[[package]]
|
|
483
|
+
name = "unindent"
|
|
484
|
+
version = "0.2.4"
|
|
485
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
486
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "vizzle-core"
|
|
490
|
+
version = "0.1.0"
|
|
491
|
+
dependencies = [
|
|
492
|
+
"anyhow",
|
|
493
|
+
"globset",
|
|
494
|
+
"ignore",
|
|
495
|
+
"pretty_assertions",
|
|
496
|
+
"rayon",
|
|
497
|
+
"serde_json",
|
|
498
|
+
"tree-sitter",
|
|
499
|
+
"tree-sitter-python",
|
|
500
|
+
"tree-sitter-typescript",
|
|
501
|
+
]
|
|
502
|
+
|
|
503
|
+
[[package]]
|
|
504
|
+
name = "vizzle-py"
|
|
505
|
+
version = "0.1.0"
|
|
506
|
+
dependencies = [
|
|
507
|
+
"anyhow",
|
|
508
|
+
"pyo3",
|
|
509
|
+
"vizzle-core",
|
|
510
|
+
]
|
|
511
|
+
|
|
512
|
+
[[package]]
|
|
513
|
+
name = "walkdir"
|
|
514
|
+
version = "2.5.0"
|
|
515
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
516
|
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
|
517
|
+
dependencies = [
|
|
518
|
+
"same-file",
|
|
519
|
+
"winapi-util",
|
|
520
|
+
]
|
|
521
|
+
|
|
522
|
+
[[package]]
|
|
523
|
+
name = "winapi-util"
|
|
524
|
+
version = "0.1.11"
|
|
525
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
526
|
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
527
|
+
dependencies = [
|
|
528
|
+
"windows-sys",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "windows-link"
|
|
533
|
+
version = "0.2.1"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
536
|
+
|
|
537
|
+
[[package]]
|
|
538
|
+
name = "windows-sys"
|
|
539
|
+
version = "0.61.2"
|
|
540
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
542
|
+
dependencies = [
|
|
543
|
+
"windows-link",
|
|
544
|
+
]
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "yansi"
|
|
548
|
+
version = "1.0.1"
|
|
549
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
+
checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
|
|
551
|
+
|
|
552
|
+
[[package]]
|
|
553
|
+
name = "zmij"
|
|
554
|
+
version = "1.0.23"
|
|
555
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
556
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
vizzle-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
resolver = "2"
|
|
3
|
+
members = ["crates/vizzle-core", "crates/vizzle-py"]
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
repository = "https://github.com/stiproot/vizzle"
|
|
10
|
+
|
|
11
|
+
[workspace.dependencies]
|
|
12
|
+
anyhow = "1"
|
|
13
|
+
thiserror = "2"
|
|
14
|
+
|
|
15
|
+
[profile.release]
|
|
16
|
+
lto = "thin"
|
|
17
|
+
codegen-units = 1
|
vizzle-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "vizzle-core"
|
|
3
|
+
description = "Parse source code into a class graph and render Mermaid class diagrams, with git-diff awareness"
|
|
4
|
+
version.workspace = true
|
|
5
|
+
edition.workspace = true
|
|
6
|
+
license.workspace = true
|
|
7
|
+
repository.workspace = true
|
|
8
|
+
|
|
9
|
+
[dependencies]
|
|
10
|
+
anyhow = { workspace = true }
|
|
11
|
+
globset = "0.4"
|
|
12
|
+
ignore = "0.4"
|
|
13
|
+
rayon = "1"
|
|
14
|
+
serde_json = "1"
|
|
15
|
+
tree-sitter = "0.25"
|
|
16
|
+
tree-sitter-python = "0.25"
|
|
17
|
+
tree-sitter-typescript = "0.23"
|
|
18
|
+
|
|
19
|
+
[dev-dependencies]
|
|
20
|
+
pretty_assertions = "1"
|