dongler 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.
- dongler-0.1.0/Cargo.lock +638 -0
- dongler-0.1.0/Cargo.toml +11 -0
- dongler-0.1.0/LICENSE +21 -0
- dongler-0.1.0/NOTICE +6 -0
- dongler-0.1.0/PKG-INFO +270 -0
- dongler-0.1.0/README.md +249 -0
- dongler-0.1.0/crates/dongler-core/Cargo.toml +14 -0
- dongler-0.1.0/crates/dongler-core/README.md +249 -0
- dongler-0.1.0/crates/dongler-core/src/engine.rs +67 -0
- dongler-0.1.0/crates/dongler-core/src/error.rs +26 -0
- dongler-0.1.0/crates/dongler-core/src/format.rs +79 -0
- dongler-0.1.0/crates/dongler-core/src/ir.rs +52 -0
- dongler-0.1.0/crates/dongler-core/src/lib.rs +93 -0
- dongler-0.1.0/crates/dongler-core/src/render.rs +161 -0
- dongler-0.1.0/crates/dongler-core/src/source.rs +45 -0
- dongler-0.1.0/crates/dongler-core/tests/core.rs +168 -0
- dongler-0.1.0/crates/dongler-python/Cargo.toml +18 -0
- dongler-0.1.0/crates/dongler-python/src/lib.rs +79 -0
- dongler-0.1.0/pyproject.toml +45 -0
- dongler-0.1.0/python/dongler/__init__.py +70 -0
- dongler-0.1.0/python/dongler/py.typed +1 -0
- dongler-0.1.0/python/tests/test_dongler.py +65 -0
dongler-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,638 @@
|
|
|
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.1"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "bitflags"
|
|
63
|
+
version = "2.11.1"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "cfg-if"
|
|
69
|
+
version = "1.0.4"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "clap"
|
|
75
|
+
version = "4.6.1"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
|
|
78
|
+
dependencies = [
|
|
79
|
+
"clap_builder",
|
|
80
|
+
"clap_derive",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "clap_builder"
|
|
85
|
+
version = "4.6.0"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
|
|
88
|
+
dependencies = [
|
|
89
|
+
"anstream",
|
|
90
|
+
"anstyle",
|
|
91
|
+
"clap_lex",
|
|
92
|
+
"strsim",
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "clap_derive"
|
|
97
|
+
version = "4.6.1"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
|
|
100
|
+
dependencies = [
|
|
101
|
+
"heck",
|
|
102
|
+
"proc-macro2",
|
|
103
|
+
"quote",
|
|
104
|
+
"syn",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "clap_lex"
|
|
109
|
+
version = "1.1.0"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "colorchoice"
|
|
115
|
+
version = "1.0.5"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
118
|
+
|
|
119
|
+
[[package]]
|
|
120
|
+
name = "convert_case"
|
|
121
|
+
version = "0.11.0"
|
|
122
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
123
|
+
checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49"
|
|
124
|
+
dependencies = [
|
|
125
|
+
"unicode-segmentation",
|
|
126
|
+
]
|
|
127
|
+
|
|
128
|
+
[[package]]
|
|
129
|
+
name = "ctor"
|
|
130
|
+
version = "1.0.6"
|
|
131
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
132
|
+
checksum = "6d765eb1c0bda10d31e0ea185f5ee15da532d60b0912d2bd1441783439e749c5"
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "dongler"
|
|
136
|
+
version = "0.1.0"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"clap",
|
|
139
|
+
"dongler-core",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "dongler-core"
|
|
144
|
+
version = "0.1.0"
|
|
145
|
+
dependencies = [
|
|
146
|
+
"serde",
|
|
147
|
+
"serde_json",
|
|
148
|
+
"thiserror",
|
|
149
|
+
]
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "dongler-node"
|
|
153
|
+
version = "0.1.0"
|
|
154
|
+
dependencies = [
|
|
155
|
+
"dongler-core",
|
|
156
|
+
"napi",
|
|
157
|
+
"napi-build",
|
|
158
|
+
"napi-derive",
|
|
159
|
+
"serde_json",
|
|
160
|
+
]
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "dongler-python"
|
|
164
|
+
version = "0.1.0"
|
|
165
|
+
dependencies = [
|
|
166
|
+
"dongler-core",
|
|
167
|
+
"pyo3",
|
|
168
|
+
"serde_json",
|
|
169
|
+
]
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "futures"
|
|
173
|
+
version = "0.3.32"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "8b147ee9d1f6d097cef9ce628cd2ee62288d963e16fb287bd9286455b241382d"
|
|
176
|
+
dependencies = [
|
|
177
|
+
"futures-channel",
|
|
178
|
+
"futures-core",
|
|
179
|
+
"futures-executor",
|
|
180
|
+
"futures-io",
|
|
181
|
+
"futures-sink",
|
|
182
|
+
"futures-task",
|
|
183
|
+
"futures-util",
|
|
184
|
+
]
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "futures-channel"
|
|
188
|
+
version = "0.3.32"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
|
|
191
|
+
dependencies = [
|
|
192
|
+
"futures-core",
|
|
193
|
+
"futures-sink",
|
|
194
|
+
]
|
|
195
|
+
|
|
196
|
+
[[package]]
|
|
197
|
+
name = "futures-core"
|
|
198
|
+
version = "0.3.32"
|
|
199
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
+
checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "futures-executor"
|
|
204
|
+
version = "0.3.32"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"futures-core",
|
|
209
|
+
"futures-task",
|
|
210
|
+
"futures-util",
|
|
211
|
+
]
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "futures-io"
|
|
215
|
+
version = "0.3.32"
|
|
216
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
217
|
+
checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "futures-macro"
|
|
221
|
+
version = "0.3.32"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
|
|
224
|
+
dependencies = [
|
|
225
|
+
"proc-macro2",
|
|
226
|
+
"quote",
|
|
227
|
+
"syn",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "futures-sink"
|
|
232
|
+
version = "0.3.32"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "futures-task"
|
|
238
|
+
version = "0.3.32"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "futures-util"
|
|
244
|
+
version = "0.3.32"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"futures-channel",
|
|
249
|
+
"futures-core",
|
|
250
|
+
"futures-io",
|
|
251
|
+
"futures-macro",
|
|
252
|
+
"futures-sink",
|
|
253
|
+
"futures-task",
|
|
254
|
+
"memchr",
|
|
255
|
+
"pin-project-lite",
|
|
256
|
+
"slab",
|
|
257
|
+
]
|
|
258
|
+
|
|
259
|
+
[[package]]
|
|
260
|
+
name = "heck"
|
|
261
|
+
version = "0.5.0"
|
|
262
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
263
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "indoc"
|
|
267
|
+
version = "2.0.7"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
270
|
+
dependencies = [
|
|
271
|
+
"rustversion",
|
|
272
|
+
]
|
|
273
|
+
|
|
274
|
+
[[package]]
|
|
275
|
+
name = "is_terminal_polyfill"
|
|
276
|
+
version = "1.70.2"
|
|
277
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
278
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "itoa"
|
|
282
|
+
version = "1.0.18"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "libc"
|
|
288
|
+
version = "0.2.186"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "libloading"
|
|
294
|
+
version = "0.9.0"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "754ca22de805bb5744484a5b151a9e1a8e837d5dc232c2d7d8c2e3492edc8b60"
|
|
297
|
+
dependencies = [
|
|
298
|
+
"cfg-if",
|
|
299
|
+
"windows-link",
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "memchr"
|
|
304
|
+
version = "2.8.1"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8"
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "memoffset"
|
|
310
|
+
version = "0.9.1"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"autocfg",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "napi"
|
|
319
|
+
version = "3.9.0"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "f1d395473824516f38dd1071a1a37bc57daa7be65b293ebba4ead5f7abb017a2"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"bitflags",
|
|
324
|
+
"ctor",
|
|
325
|
+
"futures",
|
|
326
|
+
"napi-build",
|
|
327
|
+
"napi-sys",
|
|
328
|
+
"nohash-hasher",
|
|
329
|
+
"rustc-hash",
|
|
330
|
+
]
|
|
331
|
+
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "napi-build"
|
|
334
|
+
version = "2.3.2"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "c9c366d2c8c60b86fa632df75f745509b52f9128f91a6bad4c796e44abb505e1"
|
|
337
|
+
|
|
338
|
+
[[package]]
|
|
339
|
+
name = "napi-derive"
|
|
340
|
+
version = "3.5.6"
|
|
341
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
342
|
+
checksum = "89b3f766e04667e6da0e181e2da4f85475d5a6513b7cf6a80bea184e224a5b42"
|
|
343
|
+
dependencies = [
|
|
344
|
+
"convert_case",
|
|
345
|
+
"ctor",
|
|
346
|
+
"napi-derive-backend",
|
|
347
|
+
"proc-macro2",
|
|
348
|
+
"quote",
|
|
349
|
+
"syn",
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
[[package]]
|
|
353
|
+
name = "napi-derive-backend"
|
|
354
|
+
version = "5.0.4"
|
|
355
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
+
checksum = "0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf"
|
|
357
|
+
dependencies = [
|
|
358
|
+
"convert_case",
|
|
359
|
+
"proc-macro2",
|
|
360
|
+
"quote",
|
|
361
|
+
"semver",
|
|
362
|
+
"syn",
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "napi-sys"
|
|
367
|
+
version = "3.2.1"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "8eb602b84d7c1edae45e50bbf1374696548f36ae179dfa667f577e384bb90c2b"
|
|
370
|
+
dependencies = [
|
|
371
|
+
"libloading",
|
|
372
|
+
]
|
|
373
|
+
|
|
374
|
+
[[package]]
|
|
375
|
+
name = "nohash-hasher"
|
|
376
|
+
version = "0.2.0"
|
|
377
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
+
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
|
|
379
|
+
|
|
380
|
+
[[package]]
|
|
381
|
+
name = "once_cell"
|
|
382
|
+
version = "1.21.4"
|
|
383
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
385
|
+
|
|
386
|
+
[[package]]
|
|
387
|
+
name = "once_cell_polyfill"
|
|
388
|
+
version = "1.70.2"
|
|
389
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
390
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
391
|
+
|
|
392
|
+
[[package]]
|
|
393
|
+
name = "pin-project-lite"
|
|
394
|
+
version = "0.2.17"
|
|
395
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
396
|
+
checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
|
|
397
|
+
|
|
398
|
+
[[package]]
|
|
399
|
+
name = "portable-atomic"
|
|
400
|
+
version = "1.13.1"
|
|
401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
403
|
+
|
|
404
|
+
[[package]]
|
|
405
|
+
name = "proc-macro2"
|
|
406
|
+
version = "1.0.106"
|
|
407
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
408
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
409
|
+
dependencies = [
|
|
410
|
+
"unicode-ident",
|
|
411
|
+
]
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "pyo3"
|
|
415
|
+
version = "0.23.5"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872"
|
|
418
|
+
dependencies = [
|
|
419
|
+
"cfg-if",
|
|
420
|
+
"indoc",
|
|
421
|
+
"libc",
|
|
422
|
+
"memoffset",
|
|
423
|
+
"once_cell",
|
|
424
|
+
"portable-atomic",
|
|
425
|
+
"pyo3-build-config",
|
|
426
|
+
"pyo3-ffi",
|
|
427
|
+
"pyo3-macros",
|
|
428
|
+
"unindent",
|
|
429
|
+
]
|
|
430
|
+
|
|
431
|
+
[[package]]
|
|
432
|
+
name = "pyo3-build-config"
|
|
433
|
+
version = "0.23.5"
|
|
434
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
435
|
+
checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb"
|
|
436
|
+
dependencies = [
|
|
437
|
+
"once_cell",
|
|
438
|
+
"target-lexicon",
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "pyo3-ffi"
|
|
443
|
+
version = "0.23.5"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"libc",
|
|
448
|
+
"pyo3-build-config",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "pyo3-macros"
|
|
453
|
+
version = "0.23.5"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da"
|
|
456
|
+
dependencies = [
|
|
457
|
+
"proc-macro2",
|
|
458
|
+
"pyo3-macros-backend",
|
|
459
|
+
"quote",
|
|
460
|
+
"syn",
|
|
461
|
+
]
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "pyo3-macros-backend"
|
|
465
|
+
version = "0.23.5"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"heck",
|
|
470
|
+
"proc-macro2",
|
|
471
|
+
"pyo3-build-config",
|
|
472
|
+
"quote",
|
|
473
|
+
"syn",
|
|
474
|
+
]
|
|
475
|
+
|
|
476
|
+
[[package]]
|
|
477
|
+
name = "quote"
|
|
478
|
+
version = "1.0.45"
|
|
479
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
480
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
481
|
+
dependencies = [
|
|
482
|
+
"proc-macro2",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "rustc-hash"
|
|
487
|
+
version = "2.1.2"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
490
|
+
|
|
491
|
+
[[package]]
|
|
492
|
+
name = "rustversion"
|
|
493
|
+
version = "1.0.22"
|
|
494
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
495
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
496
|
+
|
|
497
|
+
[[package]]
|
|
498
|
+
name = "semver"
|
|
499
|
+
version = "1.0.28"
|
|
500
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
501
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
502
|
+
|
|
503
|
+
[[package]]
|
|
504
|
+
name = "serde"
|
|
505
|
+
version = "1.0.228"
|
|
506
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
507
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
508
|
+
dependencies = [
|
|
509
|
+
"serde_core",
|
|
510
|
+
"serde_derive",
|
|
511
|
+
]
|
|
512
|
+
|
|
513
|
+
[[package]]
|
|
514
|
+
name = "serde_core"
|
|
515
|
+
version = "1.0.228"
|
|
516
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
517
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
518
|
+
dependencies = [
|
|
519
|
+
"serde_derive",
|
|
520
|
+
]
|
|
521
|
+
|
|
522
|
+
[[package]]
|
|
523
|
+
name = "serde_derive"
|
|
524
|
+
version = "1.0.228"
|
|
525
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
526
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
527
|
+
dependencies = [
|
|
528
|
+
"proc-macro2",
|
|
529
|
+
"quote",
|
|
530
|
+
"syn",
|
|
531
|
+
]
|
|
532
|
+
|
|
533
|
+
[[package]]
|
|
534
|
+
name = "serde_json"
|
|
535
|
+
version = "1.0.150"
|
|
536
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
537
|
+
checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
|
|
538
|
+
dependencies = [
|
|
539
|
+
"itoa",
|
|
540
|
+
"memchr",
|
|
541
|
+
"serde",
|
|
542
|
+
"serde_core",
|
|
543
|
+
"zmij",
|
|
544
|
+
]
|
|
545
|
+
|
|
546
|
+
[[package]]
|
|
547
|
+
name = "slab"
|
|
548
|
+
version = "0.4.12"
|
|
549
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
+
checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
551
|
+
|
|
552
|
+
[[package]]
|
|
553
|
+
name = "strsim"
|
|
554
|
+
version = "0.11.1"
|
|
555
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
556
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "syn"
|
|
560
|
+
version = "2.0.117"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
563
|
+
dependencies = [
|
|
564
|
+
"proc-macro2",
|
|
565
|
+
"quote",
|
|
566
|
+
"unicode-ident",
|
|
567
|
+
]
|
|
568
|
+
|
|
569
|
+
[[package]]
|
|
570
|
+
name = "target-lexicon"
|
|
571
|
+
version = "0.12.16"
|
|
572
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
573
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
574
|
+
|
|
575
|
+
[[package]]
|
|
576
|
+
name = "thiserror"
|
|
577
|
+
version = "2.0.18"
|
|
578
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
579
|
+
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
|
|
580
|
+
dependencies = [
|
|
581
|
+
"thiserror-impl",
|
|
582
|
+
]
|
|
583
|
+
|
|
584
|
+
[[package]]
|
|
585
|
+
name = "thiserror-impl"
|
|
586
|
+
version = "2.0.18"
|
|
587
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
588
|
+
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
|
|
589
|
+
dependencies = [
|
|
590
|
+
"proc-macro2",
|
|
591
|
+
"quote",
|
|
592
|
+
"syn",
|
|
593
|
+
]
|
|
594
|
+
|
|
595
|
+
[[package]]
|
|
596
|
+
name = "unicode-ident"
|
|
597
|
+
version = "1.0.24"
|
|
598
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
599
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
600
|
+
|
|
601
|
+
[[package]]
|
|
602
|
+
name = "unicode-segmentation"
|
|
603
|
+
version = "1.13.2"
|
|
604
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
605
|
+
checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c"
|
|
606
|
+
|
|
607
|
+
[[package]]
|
|
608
|
+
name = "unindent"
|
|
609
|
+
version = "0.2.4"
|
|
610
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
611
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
612
|
+
|
|
613
|
+
[[package]]
|
|
614
|
+
name = "utf8parse"
|
|
615
|
+
version = "0.2.2"
|
|
616
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
617
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
618
|
+
|
|
619
|
+
[[package]]
|
|
620
|
+
name = "windows-link"
|
|
621
|
+
version = "0.2.1"
|
|
622
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
623
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
624
|
+
|
|
625
|
+
[[package]]
|
|
626
|
+
name = "windows-sys"
|
|
627
|
+
version = "0.61.2"
|
|
628
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
629
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
630
|
+
dependencies = [
|
|
631
|
+
"windows-link",
|
|
632
|
+
]
|
|
633
|
+
|
|
634
|
+
[[package]]
|
|
635
|
+
name = "zmij"
|
|
636
|
+
version = "1.0.21"
|
|
637
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
dongler-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["crates/dongler-python"]
|
|
3
|
+
resolver = "2"
|
|
4
|
+
|
|
5
|
+
[workspace.package]
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
authors = ["Daniel Fat"]
|
|
10
|
+
description = "Created by Daniel Fat. Rust-native document extraction engine focused on structured Markdown and LaTeX output."
|
|
11
|
+
repository = "https://github.com/cristianexer/dongler"
|
dongler-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Daniel Fat
|
|
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.
|