graphlore-engine 0.5.79__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.
Files changed (75) hide show
  1. graphlore_engine-0.5.79/Cargo.lock +628 -0
  2. graphlore_engine-0.5.79/Cargo.toml +48 -0
  3. graphlore_engine-0.5.79/LICENSE +21 -0
  4. graphlore_engine-0.5.79/PKG-INFO +70 -0
  5. graphlore_engine-0.5.79/README.md +49 -0
  6. graphlore_engine-0.5.79/examples/dump.rs +17 -0
  7. graphlore_engine-0.5.79/examples/facts.rs +44 -0
  8. graphlore_engine-0.5.79/examples/sexp.rs +30 -0
  9. graphlore_engine-0.5.79/pyproject.toml +35 -0
  10. graphlore_engine-0.5.79/python/graphlore_engine/__init__.py +21 -0
  11. graphlore_engine-0.5.79/python/graphlore_engine/__main__.py +80 -0
  12. graphlore_engine-0.5.79/python/graphlore_engine/_native.pyi +19 -0
  13. graphlore_engine-0.5.79/python/graphlore_engine/py.typed +0 -0
  14. graphlore_engine-0.5.79/rustfmt.toml +2 -0
  15. graphlore_engine-0.5.79/src/cache.rs +170 -0
  16. graphlore_engine-0.5.79/src/community/leiden.rs +470 -0
  17. graphlore_engine-0.5.79/src/community/mod.rs +921 -0
  18. graphlore_engine-0.5.79/src/coupling.rs +378 -0
  19. graphlore_engine-0.5.79/src/docs/link.rs +188 -0
  20. graphlore_engine-0.5.79/src/docs/markdown.rs +79 -0
  21. graphlore_engine-0.5.79/src/docs/mod.rs +150 -0
  22. graphlore_engine-0.5.79/src/docs/rst.rs +260 -0
  23. graphlore_engine-0.5.79/src/facts.rs +818 -0
  24. graphlore_engine-0.5.79/src/generic.rs +723 -0
  25. graphlore_engine-0.5.79/src/graph/assemble.rs +251 -0
  26. graphlore_engine-0.5.79/src/graph/ids.rs +112 -0
  27. graphlore_engine-0.5.79/src/graph/mod.rs +5 -0
  28. graphlore_engine-0.5.79/src/graph/write.rs +48 -0
  29. graphlore_engine-0.5.79/src/http/csharp.rs +374 -0
  30. graphlore_engine-0.5.79/src/http/ecma.rs +641 -0
  31. graphlore_engine-0.5.79/src/http/go.rs +438 -0
  32. graphlore_engine-0.5.79/src/http/jvm.rs +532 -0
  33. graphlore_engine-0.5.79/src/http/mod.rs +416 -0
  34. graphlore_engine-0.5.79/src/http/php.rs +469 -0
  35. graphlore_engine-0.5.79/src/http/python.rs +335 -0
  36. graphlore_engine-0.5.79/src/http/ruby.rs +338 -0
  37. graphlore_engine-0.5.79/src/http/rust.rs +336 -0
  38. graphlore_engine-0.5.79/src/lang/c_family.rs +158 -0
  39. graphlore_engine-0.5.79/src/lang/csharp.rs +127 -0
  40. graphlore_engine-0.5.79/src/lang/ecma.rs +568 -0
  41. graphlore_engine-0.5.79/src/lang/go.rs +148 -0
  42. graphlore_engine-0.5.79/src/lang/java.rs +116 -0
  43. graphlore_engine-0.5.79/src/lang/kotlin.rs +191 -0
  44. graphlore_engine-0.5.79/src/lang/mod.rs +408 -0
  45. graphlore_engine-0.5.79/src/lang/php.rs +128 -0
  46. graphlore_engine-0.5.79/src/lang/python.rs +308 -0
  47. graphlore_engine-0.5.79/src/lang/ruby.rs +229 -0
  48. graphlore_engine-0.5.79/src/lang/rust.rs +325 -0
  49. graphlore_engine-0.5.79/src/lang/scala.rs +114 -0
  50. graphlore_engine-0.5.79/src/lang/swift.rs +110 -0
  51. graphlore_engine-0.5.79/src/lib.rs +541 -0
  52. graphlore_engine-0.5.79/src/parse.rs +610 -0
  53. graphlore_engine-0.5.79/src/py.rs +85 -0
  54. graphlore_engine-0.5.79/src/refs.rs +7143 -0
  55. graphlore_engine-0.5.79/src/report.rs +112 -0
  56. graphlore_engine-0.5.79/src/resolve/http.rs +670 -0
  57. graphlore_engine-0.5.79/src/resolve/mod.rs +9661 -0
  58. graphlore_engine-0.5.79/src/resolve/modules.rs +1237 -0
  59. graphlore_engine-0.5.79/src/resources.rs +685 -0
  60. graphlore_engine-0.5.79/src/state.rs +996 -0
  61. graphlore_engine-0.5.79/src/versions.rs +237 -0
  62. graphlore_engine-0.5.79/src/walk.rs +291 -0
  63. graphlore_engine-0.5.79/tests/build_fixture.rs +144 -0
  64. graphlore_engine-0.5.79/tests/dispatch_golden.rs +153 -0
  65. graphlore_engine-0.5.79/tests/docs_golden.rs +139 -0
  66. graphlore_engine-0.5.79/tests/edges_golden.rs +3421 -0
  67. graphlore_engine-0.5.79/tests/grammars_load.rs +45 -0
  68. graphlore_engine-0.5.79/tests/http_golden.rs +570 -0
  69. graphlore_engine-0.5.79/tests/incremental.rs +133 -0
  70. graphlore_engine-0.5.79/tests/resources_golden.rs +231 -0
  71. graphlore_engine-0.5.79/tests/spans_golden.rs +392 -0
  72. graphlore_engine-0.5.79/tests/state_golden.rs +483 -0
  73. graphlore_engine-0.5.79/tests/tracked.rs +57 -0
  74. graphlore_engine-0.5.79/tests/unresolved.rs +303 -0
  75. graphlore_engine-0.5.79/tests/versions.rs +95 -0
@@ -0,0 +1,628 @@
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 = "bincode"
16
+ version = "1.3.3"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
19
+ dependencies = [
20
+ "serde",
21
+ ]
22
+
23
+ [[package]]
24
+ name = "bstr"
25
+ version = "1.13.1"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
28
+ dependencies = [
29
+ "memchr",
30
+ "serde_core",
31
+ ]
32
+
33
+ [[package]]
34
+ name = "cc"
35
+ version = "1.11.2"
36
+ source = "registry+https://github.com/rust-lang/crates.io-index"
37
+ checksum = "33ef9e3e8154a45c7a95cff4c1299702106ad94062d7bb85fdc5d3a5afd91d45"
38
+ dependencies = [
39
+ "find-msvc-tools",
40
+ "shlex",
41
+ ]
42
+
43
+ [[package]]
44
+ name = "crossbeam-deque"
45
+ version = "0.8.8"
46
+ source = "registry+https://github.com/rust-lang/crates.io-index"
47
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
48
+ dependencies = [
49
+ "crossbeam-epoch",
50
+ "crossbeam-utils",
51
+ ]
52
+
53
+ [[package]]
54
+ name = "crossbeam-epoch"
55
+ version = "0.9.21"
56
+ source = "registry+https://github.com/rust-lang/crates.io-index"
57
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
58
+ dependencies = [
59
+ "crossbeam-utils",
60
+ ]
61
+
62
+ [[package]]
63
+ name = "crossbeam-utils"
64
+ version = "0.8.23"
65
+ source = "registry+https://github.com/rust-lang/crates.io-index"
66
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
67
+
68
+ [[package]]
69
+ name = "either"
70
+ version = "1.19.0"
71
+ source = "registry+https://github.com/rust-lang/crates.io-index"
72
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
73
+
74
+ [[package]]
75
+ name = "equivalent"
76
+ version = "1.0.3"
77
+ source = "registry+https://github.com/rust-lang/crates.io-index"
78
+ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
79
+
80
+ [[package]]
81
+ name = "find-msvc-tools"
82
+ version = "0.1.15"
83
+ source = "registry+https://github.com/rust-lang/crates.io-index"
84
+ checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
85
+
86
+ [[package]]
87
+ name = "foldhash"
88
+ version = "0.2.0"
89
+ source = "registry+https://github.com/rust-lang/crates.io-index"
90
+ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
91
+
92
+ [[package]]
93
+ name = "globset"
94
+ version = "0.4.21"
95
+ source = "registry+https://github.com/rust-lang/crates.io-index"
96
+ checksum = "f98b0d85522dc0a824cfebbc9594ff4a9b289c568bea0370319dfbdf20ccdd2d"
97
+ dependencies = [
98
+ "aho-corasick",
99
+ "bstr",
100
+ "log",
101
+ "regex-automata",
102
+ "regex-syntax",
103
+ ]
104
+
105
+ [[package]]
106
+ name = "graphlore-engine"
107
+ version = "0.5.79"
108
+ dependencies = [
109
+ "bincode",
110
+ "ignore",
111
+ "pyo3",
112
+ "rayon",
113
+ "regex",
114
+ "serde",
115
+ "serde_json",
116
+ "tree-sitter",
117
+ "tree-sitter-c",
118
+ "tree-sitter-c-sharp",
119
+ "tree-sitter-cpp",
120
+ "tree-sitter-go",
121
+ "tree-sitter-java",
122
+ "tree-sitter-javascript",
123
+ "tree-sitter-kotlin-sg",
124
+ "tree-sitter-md",
125
+ "tree-sitter-php",
126
+ "tree-sitter-python",
127
+ "tree-sitter-ruby",
128
+ "tree-sitter-rust",
129
+ "tree-sitter-scala",
130
+ "tree-sitter-swift",
131
+ "tree-sitter-typescript",
132
+ ]
133
+
134
+ [[package]]
135
+ name = "hashbrown"
136
+ version = "0.17.1"
137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
138
+ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
139
+
140
+ [[package]]
141
+ name = "heck"
142
+ version = "0.5.0"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
145
+
146
+ [[package]]
147
+ name = "ignore"
148
+ version = "0.4.34"
149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
150
+ checksum = "484be5657551d7868d67587df967fb4fcbe9d266a761cc855aaa148fda0b3cc7"
151
+ dependencies = [
152
+ "crossbeam-deque",
153
+ "globset",
154
+ "log",
155
+ "memchr",
156
+ "regex-automata",
157
+ "same-file",
158
+ "walkdir",
159
+ "winapi-util",
160
+ ]
161
+
162
+ [[package]]
163
+ name = "indexmap"
164
+ version = "2.14.2"
165
+ source = "registry+https://github.com/rust-lang/crates.io-index"
166
+ checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
167
+ dependencies = [
168
+ "equivalent",
169
+ "hashbrown",
170
+ ]
171
+
172
+ [[package]]
173
+ name = "itoa"
174
+ version = "1.0.19"
175
+ source = "registry+https://github.com/rust-lang/crates.io-index"
176
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
177
+
178
+ [[package]]
179
+ name = "libc"
180
+ version = "0.2.191"
181
+ source = "registry+https://github.com/rust-lang/crates.io-index"
182
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
183
+
184
+ [[package]]
185
+ name = "log"
186
+ version = "0.4.35"
187
+ source = "registry+https://github.com/rust-lang/crates.io-index"
188
+ checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
189
+
190
+ [[package]]
191
+ name = "memchr"
192
+ version = "2.8.3"
193
+ source = "registry+https://github.com/rust-lang/crates.io-index"
194
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
195
+
196
+ [[package]]
197
+ name = "once_cell"
198
+ version = "1.21.4"
199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
200
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
201
+
202
+ [[package]]
203
+ name = "portable-atomic"
204
+ version = "1.15.0"
205
+ source = "registry+https://github.com/rust-lang/crates.io-index"
206
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
207
+
208
+ [[package]]
209
+ name = "proc-macro2"
210
+ version = "1.0.107"
211
+ source = "registry+https://github.com/rust-lang/crates.io-index"
212
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
213
+ dependencies = [
214
+ "unicode-ident",
215
+ ]
216
+
217
+ [[package]]
218
+ name = "pyo3"
219
+ version = "0.30.1"
220
+ source = "registry+https://github.com/rust-lang/crates.io-index"
221
+ checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
222
+ dependencies = [
223
+ "libc",
224
+ "once_cell",
225
+ "portable-atomic",
226
+ "pyo3-build-config",
227
+ "pyo3-ffi",
228
+ "pyo3-macros",
229
+ ]
230
+
231
+ [[package]]
232
+ name = "pyo3-build-config"
233
+ version = "0.30.1"
234
+ source = "registry+https://github.com/rust-lang/crates.io-index"
235
+ checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
236
+ dependencies = [
237
+ "target-lexicon",
238
+ ]
239
+
240
+ [[package]]
241
+ name = "pyo3-ffi"
242
+ version = "0.30.1"
243
+ source = "registry+https://github.com/rust-lang/crates.io-index"
244
+ checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
245
+ dependencies = [
246
+ "libc",
247
+ "pyo3-build-config",
248
+ ]
249
+
250
+ [[package]]
251
+ name = "pyo3-macros"
252
+ version = "0.30.1"
253
+ source = "registry+https://github.com/rust-lang/crates.io-index"
254
+ checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
255
+ dependencies = [
256
+ "proc-macro2",
257
+ "pyo3-macros-backend",
258
+ "quote",
259
+ "syn",
260
+ ]
261
+
262
+ [[package]]
263
+ name = "pyo3-macros-backend"
264
+ version = "0.30.1"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
267
+ dependencies = [
268
+ "heck",
269
+ "proc-macro2",
270
+ "quote",
271
+ "syn",
272
+ ]
273
+
274
+ [[package]]
275
+ name = "quote"
276
+ version = "1.0.47"
277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
278
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
279
+ dependencies = [
280
+ "proc-macro2",
281
+ ]
282
+
283
+ [[package]]
284
+ name = "rayon"
285
+ version = "1.12.0"
286
+ source = "registry+https://github.com/rust-lang/crates.io-index"
287
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
288
+ dependencies = [
289
+ "either",
290
+ "rayon-core",
291
+ ]
292
+
293
+ [[package]]
294
+ name = "rayon-core"
295
+ version = "1.13.0"
296
+ source = "registry+https://github.com/rust-lang/crates.io-index"
297
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
298
+ dependencies = [
299
+ "crossbeam-deque",
300
+ "crossbeam-utils",
301
+ ]
302
+
303
+ [[package]]
304
+ name = "regex"
305
+ version = "1.13.1"
306
+ source = "registry+https://github.com/rust-lang/crates.io-index"
307
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
308
+ dependencies = [
309
+ "aho-corasick",
310
+ "memchr",
311
+ "regex-automata",
312
+ "regex-syntax",
313
+ ]
314
+
315
+ [[package]]
316
+ name = "regex-automata"
317
+ version = "0.4.18"
318
+ source = "registry+https://github.com/rust-lang/crates.io-index"
319
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
320
+ dependencies = [
321
+ "aho-corasick",
322
+ "memchr",
323
+ "regex-syntax",
324
+ ]
325
+
326
+ [[package]]
327
+ name = "regex-syntax"
328
+ version = "0.8.11"
329
+ source = "registry+https://github.com/rust-lang/crates.io-index"
330
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
331
+
332
+ [[package]]
333
+ name = "same-file"
334
+ version = "1.0.6"
335
+ source = "registry+https://github.com/rust-lang/crates.io-index"
336
+ checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
337
+ dependencies = [
338
+ "winapi-util",
339
+ ]
340
+
341
+ [[package]]
342
+ name = "serde"
343
+ version = "1.0.229"
344
+ source = "registry+https://github.com/rust-lang/crates.io-index"
345
+ checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
346
+ dependencies = [
347
+ "serde_core",
348
+ "serde_derive",
349
+ ]
350
+
351
+ [[package]]
352
+ name = "serde_core"
353
+ version = "1.0.229"
354
+ source = "registry+https://github.com/rust-lang/crates.io-index"
355
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
356
+ dependencies = [
357
+ "serde_derive",
358
+ ]
359
+
360
+ [[package]]
361
+ name = "serde_derive"
362
+ version = "1.0.229"
363
+ source = "registry+https://github.com/rust-lang/crates.io-index"
364
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
365
+ dependencies = [
366
+ "proc-macro2",
367
+ "quote",
368
+ "syn",
369
+ ]
370
+
371
+ [[package]]
372
+ name = "serde_json"
373
+ version = "1.0.154"
374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
375
+ checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
376
+ dependencies = [
377
+ "foldhash",
378
+ "indexmap",
379
+ "itoa",
380
+ "memchr",
381
+ "serde",
382
+ "serde_core",
383
+ "zmij",
384
+ ]
385
+
386
+ [[package]]
387
+ name = "shlex"
388
+ version = "2.0.1"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
391
+
392
+ [[package]]
393
+ name = "streaming-iterator"
394
+ version = "0.1.9"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"
397
+
398
+ [[package]]
399
+ name = "syn"
400
+ version = "3.0.10"
401
+ source = "registry+https://github.com/rust-lang/crates.io-index"
402
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
403
+ dependencies = [
404
+ "proc-macro2",
405
+ "quote",
406
+ "unicode-ident",
407
+ ]
408
+
409
+ [[package]]
410
+ name = "target-lexicon"
411
+ version = "0.13.6"
412
+ source = "registry+https://github.com/rust-lang/crates.io-index"
413
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
414
+
415
+ [[package]]
416
+ name = "tree-sitter"
417
+ version = "0.27.2"
418
+ source = "registry+https://github.com/rust-lang/crates.io-index"
419
+ checksum = "37b2bed8f39a73439f3b0b7ed8f452be5d2911b5e9da69d352ef113bb7448fb8"
420
+ dependencies = [
421
+ "cc",
422
+ "regex",
423
+ "serde_json",
424
+ "streaming-iterator",
425
+ "tree-sitter-language",
426
+ ]
427
+
428
+ [[package]]
429
+ name = "tree-sitter-c"
430
+ version = "0.24.2"
431
+ source = "registry+https://github.com/rust-lang/crates.io-index"
432
+ checksum = "a9b2eb57a55fed6b00812912e730b7a275cf4fe98bfd6a5d76263d4438371728"
433
+ dependencies = [
434
+ "cc",
435
+ "tree-sitter-language",
436
+ ]
437
+
438
+ [[package]]
439
+ name = "tree-sitter-c-sharp"
440
+ version = "0.23.5"
441
+ source = "registry+https://github.com/rust-lang/crates.io-index"
442
+ checksum = "c1aac67f1ad71de1d6d39708d34811081c26dfa495658de6c14c34200849357c"
443
+ dependencies = [
444
+ "cc",
445
+ "tree-sitter-language",
446
+ ]
447
+
448
+ [[package]]
449
+ name = "tree-sitter-cpp"
450
+ version = "0.23.4"
451
+ source = "registry+https://github.com/rust-lang/crates.io-index"
452
+ checksum = "df2196ea9d47b4ab4a31b9297eaa5a5d19a0b121dceb9f118f6790ad0ab94743"
453
+ dependencies = [
454
+ "cc",
455
+ "tree-sitter-language",
456
+ ]
457
+
458
+ [[package]]
459
+ name = "tree-sitter-go"
460
+ version = "0.25.0"
461
+ source = "registry+https://github.com/rust-lang/crates.io-index"
462
+ checksum = "c8560a4d2f835cc0d4d2c2e03cbd0dde2f6114b43bc491164238d333e28b16ea"
463
+ dependencies = [
464
+ "cc",
465
+ "tree-sitter-language",
466
+ ]
467
+
468
+ [[package]]
469
+ name = "tree-sitter-java"
470
+ version = "0.23.5"
471
+ source = "registry+https://github.com/rust-lang/crates.io-index"
472
+ checksum = "0aa6cbcdc8c679b214e616fd3300da67da0e492e066df01bcf5a5921a71e90d6"
473
+ dependencies = [
474
+ "cc",
475
+ "tree-sitter-language",
476
+ ]
477
+
478
+ [[package]]
479
+ name = "tree-sitter-javascript"
480
+ version = "0.25.0"
481
+ source = "registry+https://github.com/rust-lang/crates.io-index"
482
+ checksum = "68204f2abc0627a90bdf06e605f5c470aa26fdcb2081ea553a04bdad756693f5"
483
+ dependencies = [
484
+ "cc",
485
+ "tree-sitter-language",
486
+ ]
487
+
488
+ [[package]]
489
+ name = "tree-sitter-kotlin-sg"
490
+ version = "0.4.1"
491
+ source = "registry+https://github.com/rust-lang/crates.io-index"
492
+ checksum = "c06ec43ae3c12165d4ac08afe4e1f5fc6757ffe274fa7bd5af9007ef11ba4319"
493
+ dependencies = [
494
+ "cc",
495
+ "tree-sitter-language",
496
+ ]
497
+
498
+ [[package]]
499
+ name = "tree-sitter-language"
500
+ version = "0.1.9"
501
+ source = "registry+https://github.com/rust-lang/crates.io-index"
502
+ checksum = "d0af592be68c579aa78a16846bd19422978c3c52e438523d45ff5d1bff1f9d4a"
503
+
504
+ [[package]]
505
+ name = "tree-sitter-md"
506
+ version = "0.5.4"
507
+ source = "registry+https://github.com/rust-lang/crates.io-index"
508
+ checksum = "8ed661bfe3c264961425f77cd89ad2998bf5d629e71ce8bab1e5d7e940d6246e"
509
+ dependencies = [
510
+ "cc",
511
+ "tree-sitter-language",
512
+ ]
513
+
514
+ [[package]]
515
+ name = "tree-sitter-php"
516
+ version = "0.25.1"
517
+ source = "registry+https://github.com/rust-lang/crates.io-index"
518
+ checksum = "d9779e392d38af4254f48be0e57b7eed4d50ec7a6e55a7e5e2e74df8f8f032d3"
519
+ dependencies = [
520
+ "cc",
521
+ "tree-sitter-language",
522
+ ]
523
+
524
+ [[package]]
525
+ name = "tree-sitter-python"
526
+ version = "0.25.0"
527
+ source = "registry+https://github.com/rust-lang/crates.io-index"
528
+ checksum = "6bf85fd39652e740bf60f46f4cda9492c3a9ad75880575bf14960f775cb74a1c"
529
+ dependencies = [
530
+ "cc",
531
+ "tree-sitter-language",
532
+ ]
533
+
534
+ [[package]]
535
+ name = "tree-sitter-ruby"
536
+ version = "0.23.1"
537
+ source = "registry+https://github.com/rust-lang/crates.io-index"
538
+ checksum = "be0484ea4ef6bb9c575b4fdabde7e31340a8d2dbc7d52b321ac83da703249f95"
539
+ dependencies = [
540
+ "cc",
541
+ "tree-sitter-language",
542
+ ]
543
+
544
+ [[package]]
545
+ name = "tree-sitter-rust"
546
+ version = "0.24.2"
547
+ source = "registry+https://github.com/rust-lang/crates.io-index"
548
+ checksum = "439e577dbe07423ec2582ac62c7531120dbfccfa6e5f92406f93dd271a120e45"
549
+ dependencies = [
550
+ "cc",
551
+ "tree-sitter-language",
552
+ ]
553
+
554
+ [[package]]
555
+ name = "tree-sitter-scala"
556
+ version = "0.26.13"
557
+ source = "registry+https://github.com/rust-lang/crates.io-index"
558
+ checksum = "3a50564a8d499f956174da3bdff36b32d99c3cf713cd8e44337a61f8fc46b60d"
559
+ dependencies = [
560
+ "cc",
561
+ "tree-sitter-language",
562
+ ]
563
+
564
+ [[package]]
565
+ name = "tree-sitter-swift"
566
+ version = "0.7.4"
567
+ source = "registry+https://github.com/rust-lang/crates.io-index"
568
+ checksum = "2688c06564afa397313e0db17d140a73e2c6a47f3884794614246167c9dd5dfd"
569
+ dependencies = [
570
+ "cc",
571
+ "tree-sitter-language",
572
+ ]
573
+
574
+ [[package]]
575
+ name = "tree-sitter-typescript"
576
+ version = "0.23.2"
577
+ source = "registry+https://github.com/rust-lang/crates.io-index"
578
+ checksum = "6c5f76ed8d947a75cc446d5fccd8b602ebf0cde64ccf2ffa434d873d7a575eff"
579
+ dependencies = [
580
+ "cc",
581
+ "tree-sitter-language",
582
+ ]
583
+
584
+ [[package]]
585
+ name = "unicode-ident"
586
+ version = "1.0.27"
587
+ source = "registry+https://github.com/rust-lang/crates.io-index"
588
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
589
+
590
+ [[package]]
591
+ name = "walkdir"
592
+ version = "2.5.0"
593
+ source = "registry+https://github.com/rust-lang/crates.io-index"
594
+ checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
595
+ dependencies = [
596
+ "same-file",
597
+ "winapi-util",
598
+ ]
599
+
600
+ [[package]]
601
+ name = "winapi-util"
602
+ version = "0.1.11"
603
+ source = "registry+https://github.com/rust-lang/crates.io-index"
604
+ checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
605
+ dependencies = [
606
+ "windows-sys",
607
+ ]
608
+
609
+ [[package]]
610
+ name = "windows-link"
611
+ version = "0.2.1"
612
+ source = "registry+https://github.com/rust-lang/crates.io-index"
613
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
614
+
615
+ [[package]]
616
+ name = "windows-sys"
617
+ version = "0.61.2"
618
+ source = "registry+https://github.com/rust-lang/crates.io-index"
619
+ checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
620
+ dependencies = [
621
+ "windows-link",
622
+ ]
623
+
624
+ [[package]]
625
+ name = "zmij"
626
+ version = "1.0.23"
627
+ source = "registry+https://github.com/rust-lang/crates.io-index"
628
+ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
@@ -0,0 +1,48 @@
1
+ [package]
2
+ name = "graphlore-engine"
3
+ version = "0.5.79"
4
+ edition = "2021"
5
+ rust-version = "1.90"
6
+ description = "graphlore's native code-graph extractor: tree-sitter definitions, spans and containment in 14 languages"
7
+ license = "MIT"
8
+ repository = "https://github.com/yasinyaman/graphlore"
9
+ readme = "README.md"
10
+ publish = false
11
+
12
+ [lib]
13
+ name = "graphlore_engine"
14
+ crate-type = ["cdylib", "rlib"]
15
+
16
+ [features]
17
+ # The PyO3 module. Off by default so `cargo test` / `cargo clippy` need no Python;
18
+ # maturin turns it on (engine/pyproject.toml).
19
+ python = ["dep:pyo3"]
20
+
21
+ [dependencies]
22
+ tree-sitter = "0.27"
23
+ tree-sitter-python = "0.25"
24
+ tree-sitter-javascript = "0.25"
25
+ tree-sitter-typescript = "0.23"
26
+ tree-sitter-go = "0.25"
27
+ tree-sitter-java = "0.23"
28
+ tree-sitter-kotlin-sg = "0.4"
29
+ tree-sitter-scala = "0.26"
30
+ tree-sitter-c-sharp = "0.23"
31
+ tree-sitter-rust = "0.24"
32
+ tree-sitter-swift = "0.7"
33
+ tree-sitter-c = "0.24"
34
+ tree-sitter-cpp = "0.23"
35
+ tree-sitter-ruby = "0.23"
36
+ tree-sitter-php = "0.25"
37
+ tree-sitter-md = { version = "0.5", default-features = false }
38
+ rayon = "1.10"
39
+ ignore = "0.4"
40
+ serde = { version = "1", features = ["derive"] }
41
+ serde_json = { version = "1", features = ["preserve_order"] }
42
+ regex = "1"
43
+ pyo3 = { version = "0.30", features = ["extension-module", "abi3-py310"], optional = true }
44
+ bincode = "1.3"
45
+
46
+ [profile.release]
47
+ lto = "thin"
48
+ codegen-units = 4
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 yasinyaman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.