astli 0.1.1__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. astli-0.1.1/Cargo.lock +498 -0
  2. astli-0.1.1/Cargo.toml +45 -0
  3. astli-0.1.1/LICENSE-APACHE +202 -0
  4. astli-0.1.1/LICENSE-MIT +19 -0
  5. astli-0.1.1/PKG-INFO +159 -0
  6. astli-0.1.1/README.md +140 -0
  7. astli-0.1.1/crates/astli-cli/Cargo.toml +36 -0
  8. astli-0.1.1/crates/astli-cli/README.md +140 -0
  9. astli-0.1.1/crates/astli-cli/src/cli.rs +98 -0
  10. astli-0.1.1/crates/astli-cli/src/cmd/completion.rs +43 -0
  11. astli-0.1.1/crates/astli-cli/src/cmd/fmt.rs +142 -0
  12. astli-0.1.1/crates/astli-cli/src/cmd/lex.rs +121 -0
  13. astli-0.1.1/crates/astli-cli/src/cmd/mod.rs +258 -0
  14. astli-0.1.1/crates/astli-cli/src/cmd/parse.rs +150 -0
  15. astli-0.1.1/crates/astli-cli/src/cmd/preprocess.rs +351 -0
  16. astli-0.1.1/crates/astli-cli/src/error.rs +57 -0
  17. astli-0.1.1/crates/astli-cli/src/filelist.rs +264 -0
  18. astli-0.1.1/crates/astli-cli/src/main.rs +54 -0
  19. astli-0.1.1/crates/astli-cli/src/render.rs +182 -0
  20. astli-0.1.1/crates/astli-cli/src/session.rs +41 -0
  21. astli-0.1.1/crates/astli-cli/src/sources.rs +95 -0
  22. astli-0.1.1/crates/astli-diag/Cargo.toml +24 -0
  23. astli-0.1.1/crates/astli-diag/src/lib.rs +80 -0
  24. astli-0.1.1/crates/astli-diag/src/resolve.rs +87 -0
  25. astli-0.1.1/crates/astli-diag/src/sources.rs +58 -0
  26. astli-0.1.1/crates/astli-diag/src/terminal.rs +109 -0
  27. astli-0.1.1/crates/astli-fmt/Cargo.toml +25 -0
  28. astli-0.1.1/crates/astli-fmt/src/align.rs +207 -0
  29. astli-0.1.1/crates/astli-fmt/src/comments.rs +525 -0
  30. astli-0.1.1/crates/astli-fmt/src/doc.rs +1069 -0
  31. astli-0.1.1/crates/astli-fmt/src/lib.rs +168 -0
  32. astli-0.1.1/crates/astli-fmt/src/rules.rs +1859 -0
  33. astli-0.1.1/crates/astli-fmt/src/transparency.rs +238 -0
  34. astli-0.1.1/crates/astli-fmt/src/verbatim.rs +206 -0
  35. astli-0.1.1/crates/astli-parse/Cargo.toml +25 -0
  36. astli-0.1.1/crates/astli-parse/src/build.rs +182 -0
  37. astli-0.1.1/crates/astli-parse/src/decl.rs +552 -0
  38. astli-0.1.1/crates/astli-parse/src/diagnostics.rs +37 -0
  39. astli-0.1.1/crates/astli-parse/src/event.rs +579 -0
  40. astli-0.1.1/crates/astli-parse/src/expr.rs +560 -0
  41. astli-0.1.1/crates/astli-parse/src/item.rs +678 -0
  42. astli-0.1.1/crates/astli-parse/src/lib.rs +351 -0
  43. astli-0.1.1/crates/astli-parse/src/preprocessor.rs +153 -0
  44. astli-0.1.1/crates/astli-parse/src/source.rs +595 -0
  45. astli-0.1.1/crates/astli-parse/src/stmt.rs +604 -0
  46. astli-0.1.1/crates/astli-parse/src/testing.rs +62 -0
  47. astli-0.1.1/crates/astli-parse/src/tree.rs +75 -0
  48. astli-0.1.1/crates/astli-parse/src/verbatim.rs +363 -0
  49. astli-0.1.1/crates/astli-preproc/Cargo.toml +19 -0
  50. astli-0.1.1/crates/astli-preproc/src/build.rs +63 -0
  51. astli-0.1.1/crates/astli-preproc/src/conditional.rs +159 -0
  52. astli-0.1.1/crates/astli-preproc/src/diagnostics.rs +206 -0
  53. astli-0.1.1/crates/astli-preproc/src/directive.rs +330 -0
  54. astli-0.1.1/crates/astli-preproc/src/expand.rs +704 -0
  55. astli-0.1.1/crates/astli-preproc/src/include.rs +42 -0
  56. astli-0.1.1/crates/astli-preproc/src/lib.rs +277 -0
  57. astli-0.1.1/crates/astli-preproc/src/macros.rs +186 -0
  58. astli-0.1.1/crates/astli-preproc/src/session.rs +136 -0
  59. astli-0.1.1/crates/astli-preproc/src/tokens.rs +162 -0
  60. astli-0.1.1/crates/astli-syntax/Cargo.toml +30 -0
  61. astli-0.1.1/crates/astli-syntax/src/ast/ext.rs +154 -0
  62. astli-0.1.1/crates/astli-syntax/src/ast/generated.rs +3023 -0
  63. astli-0.1.1/crates/astli-syntax/src/ast.rs +75 -0
  64. astli-0.1.1/crates/astli-syntax/src/keyword.rs +352 -0
  65. astli-0.1.1/crates/astli-syntax/src/kind.rs +759 -0
  66. astli-0.1.1/crates/astli-syntax/src/lexer.rs +142 -0
  67. astli-0.1.1/crates/astli-syntax/src/lib.rs +109 -0
  68. astli-0.1.1/crates/astli-syntax/src/tree.rs +32 -0
  69. astli-0.1.1/crates/astli-text/Cargo.toml +16 -0
  70. astli-0.1.1/crates/astli-text/src/diagnostic.rs +138 -0
  71. astli-0.1.1/crates/astli-text/src/files.rs +42 -0
  72. astli-0.1.1/crates/astli-text/src/lib.rs +97 -0
  73. astli-0.1.1/crates/astli-text/src/origins.rs +300 -0
  74. astli-0.1.1/crates/astli-text/src/span.rs +84 -0
  75. astli-0.1.1/pyproject.toml +31 -0
astli-0.1.1/Cargo.lock ADDED
@@ -0,0 +1,498 @@
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 = "ariadne"
16
+ version = "0.6.0"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "8454c8a44ce2cb9cc7e7fae67fc6128465b343b92c6631e94beca3c8d1524ea5"
19
+ dependencies = [
20
+ "unicode-width",
21
+ "yansi",
22
+ ]
23
+
24
+ [[package]]
25
+ name = "astli"
26
+ version = "0.1.1"
27
+ dependencies = [
28
+ "astli-diag",
29
+ "astli-fmt",
30
+ "astli-parse",
31
+ "astli-preproc",
32
+ "astli-syntax",
33
+ "astli-text",
34
+ ]
35
+
36
+ [[package]]
37
+ name = "astli-cli"
38
+ version = "0.1.1"
39
+ dependencies = [
40
+ "astli-diag",
41
+ "astli-fmt",
42
+ "astli-parse",
43
+ "astli-preproc",
44
+ "astli-syntax",
45
+ "astli-text",
46
+ "mimalloc",
47
+ "rayon",
48
+ "rowan",
49
+ "similar",
50
+ "usage-rs",
51
+ ]
52
+
53
+ [[package]]
54
+ name = "astli-diag"
55
+ version = "0.1.1"
56
+ dependencies = [
57
+ "ariadne",
58
+ "astli-preproc",
59
+ "astli-text",
60
+ "rustc-hash 2.1.3",
61
+ ]
62
+
63
+ [[package]]
64
+ name = "astli-fmt"
65
+ version = "0.1.1"
66
+ dependencies = [
67
+ "astli-parse",
68
+ "astli-preproc",
69
+ "astli-syntax",
70
+ "astli-text",
71
+ "expect-test",
72
+ "rowan",
73
+ "rustc-hash 2.1.3",
74
+ ]
75
+
76
+ [[package]]
77
+ name = "astli-parse"
78
+ version = "0.1.1"
79
+ dependencies = [
80
+ "astli-preproc",
81
+ "astli-syntax",
82
+ "astli-text",
83
+ "expect-test",
84
+ "rowan",
85
+ "rustc-hash 2.1.3",
86
+ "ungrammar",
87
+ ]
88
+
89
+ [[package]]
90
+ name = "astli-preproc"
91
+ version = "0.1.1"
92
+ dependencies = [
93
+ "astli-syntax",
94
+ "astli-text",
95
+ "rustc-hash 2.1.3",
96
+ ]
97
+
98
+ [[package]]
99
+ name = "astli-syntax"
100
+ version = "0.1.1"
101
+ dependencies = [
102
+ "astli-text",
103
+ "expect-test",
104
+ "logos",
105
+ "prettyplease",
106
+ "proc-macro2",
107
+ "quote",
108
+ "rowan",
109
+ "rustc-hash 2.1.3",
110
+ "syn 3.0.6",
111
+ "ungrammar",
112
+ ]
113
+
114
+ [[package]]
115
+ name = "astli-text"
116
+ version = "0.1.1"
117
+
118
+ [[package]]
119
+ name = "autocfg"
120
+ version = "1.5.1"
121
+ source = "registry+https://github.com/rust-lang/crates.io-index"
122
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
123
+
124
+ [[package]]
125
+ name = "bstr"
126
+ version = "1.13.1"
127
+ source = "registry+https://github.com/rust-lang/crates.io-index"
128
+ checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
129
+ dependencies = [
130
+ "memchr",
131
+ "serde_core",
132
+ ]
133
+
134
+ [[package]]
135
+ name = "cc"
136
+ version = "1.4.7"
137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
138
+ checksum = "54413ede23c2daf518f35156dfde027feb2374004d63bd497f983c8db9c0e313"
139
+ dependencies = [
140
+ "find-msvc-tools",
141
+ "shlex",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "countme"
146
+ version = "3.0.1"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
149
+
150
+ [[package]]
151
+ name = "crossbeam-deque"
152
+ version = "0.8.8"
153
+ source = "registry+https://github.com/rust-lang/crates.io-index"
154
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
155
+ dependencies = [
156
+ "crossbeam-epoch",
157
+ "crossbeam-utils",
158
+ ]
159
+
160
+ [[package]]
161
+ name = "crossbeam-epoch"
162
+ version = "0.9.21"
163
+ source = "registry+https://github.com/rust-lang/crates.io-index"
164
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
165
+ dependencies = [
166
+ "crossbeam-utils",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "crossbeam-utils"
171
+ version = "0.8.23"
172
+ source = "registry+https://github.com/rust-lang/crates.io-index"
173
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
174
+
175
+ [[package]]
176
+ name = "dissimilar"
177
+ version = "1.0.11"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "aeda16ab4059c5fd2a83f2b9c9e9c981327b18aa8e3b313f7e6563799d4f093e"
180
+
181
+ [[package]]
182
+ name = "either"
183
+ version = "1.18.0"
184
+ source = "registry+https://github.com/rust-lang/crates.io-index"
185
+ checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
186
+
187
+ [[package]]
188
+ name = "expect-test"
189
+ version = "1.5.1"
190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
191
+ checksum = "63af43ff4431e848fb47472a920f14fa71c24de13255a5692e93d4e90302acb0"
192
+ dependencies = [
193
+ "dissimilar",
194
+ "once_cell",
195
+ ]
196
+
197
+ [[package]]
198
+ name = "find-msvc-tools"
199
+ version = "0.1.13"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ checksum = "ef25905e51abafe4dcea6c15fec58c57b601cdbd0ee53d22ea1d3016c587d39b"
202
+
203
+ [[package]]
204
+ name = "fnv"
205
+ version = "1.0.7"
206
+ source = "registry+https://github.com/rust-lang/crates.io-index"
207
+ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
208
+
209
+ [[package]]
210
+ name = "hashbrown"
211
+ version = "0.14.5"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
214
+
215
+ [[package]]
216
+ name = "libmimalloc-sys"
217
+ version = "0.1.49"
218
+ source = "registry+https://github.com/rust-lang/crates.io-index"
219
+ checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9"
220
+ dependencies = [
221
+ "cc",
222
+ ]
223
+
224
+ [[package]]
225
+ name = "logos"
226
+ version = "0.16.1"
227
+ source = "registry+https://github.com/rust-lang/crates.io-index"
228
+ checksum = "eb2c55a318a87600ea870ff8c2012148b44bf18b74fad48d0f835c38c7d07c5f"
229
+ dependencies = [
230
+ "logos-derive",
231
+ ]
232
+
233
+ [[package]]
234
+ name = "logos-codegen"
235
+ version = "0.16.1"
236
+ source = "registry+https://github.com/rust-lang/crates.io-index"
237
+ checksum = "58b3ffaa284e1350d017a57d04ada118c4583cf260c8fb01e0fe28a2e9cf8970"
238
+ dependencies = [
239
+ "fnv",
240
+ "proc-macro2",
241
+ "quote",
242
+ "regex-automata",
243
+ "regex-syntax",
244
+ "syn 2.0.119",
245
+ ]
246
+
247
+ [[package]]
248
+ name = "logos-derive"
249
+ version = "0.16.1"
250
+ source = "registry+https://github.com/rust-lang/crates.io-index"
251
+ checksum = "52d3a9855747c17eaf4383823f135220716ab49bea5fbea7dd42cc9a92f8aa31"
252
+ dependencies = [
253
+ "logos-codegen",
254
+ ]
255
+
256
+ [[package]]
257
+ name = "memchr"
258
+ version = "2.8.3"
259
+ source = "registry+https://github.com/rust-lang/crates.io-index"
260
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
261
+
262
+ [[package]]
263
+ name = "memoffset"
264
+ version = "0.9.1"
265
+ source = "registry+https://github.com/rust-lang/crates.io-index"
266
+ checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
267
+ dependencies = [
268
+ "autocfg",
269
+ ]
270
+
271
+ [[package]]
272
+ name = "mimalloc"
273
+ version = "0.1.52"
274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
275
+ checksum = "2d4139bb28d14ad1facf21d5eb8825051b326e172d216b39f6d31df53cc97862"
276
+ dependencies = [
277
+ "libmimalloc-sys",
278
+ ]
279
+
280
+ [[package]]
281
+ name = "once_cell"
282
+ version = "1.21.4"
283
+ source = "registry+https://github.com/rust-lang/crates.io-index"
284
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
285
+
286
+ [[package]]
287
+ name = "prettyplease"
288
+ version = "0.3.0"
289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
290
+ checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0"
291
+ dependencies = [
292
+ "proc-macro2",
293
+ "syn 3.0.6",
294
+ ]
295
+
296
+ [[package]]
297
+ name = "proc-macro2"
298
+ version = "1.0.107"
299
+ source = "registry+https://github.com/rust-lang/crates.io-index"
300
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
301
+ dependencies = [
302
+ "unicode-ident",
303
+ ]
304
+
305
+ [[package]]
306
+ name = "quote"
307
+ version = "1.0.47"
308
+ source = "registry+https://github.com/rust-lang/crates.io-index"
309
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
310
+ dependencies = [
311
+ "proc-macro2",
312
+ ]
313
+
314
+ [[package]]
315
+ name = "rayon"
316
+ version = "1.12.0"
317
+ source = "registry+https://github.com/rust-lang/crates.io-index"
318
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
319
+ dependencies = [
320
+ "either",
321
+ "rayon-core",
322
+ ]
323
+
324
+ [[package]]
325
+ name = "rayon-core"
326
+ version = "1.13.0"
327
+ source = "registry+https://github.com/rust-lang/crates.io-index"
328
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
329
+ dependencies = [
330
+ "crossbeam-deque",
331
+ "crossbeam-utils",
332
+ ]
333
+
334
+ [[package]]
335
+ name = "regex-automata"
336
+ version = "0.4.18"
337
+ source = "registry+https://github.com/rust-lang/crates.io-index"
338
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
339
+ dependencies = [
340
+ "aho-corasick",
341
+ "memchr",
342
+ "regex-syntax",
343
+ ]
344
+
345
+ [[package]]
346
+ name = "regex-syntax"
347
+ version = "0.8.11"
348
+ source = "registry+https://github.com/rust-lang/crates.io-index"
349
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
350
+
351
+ [[package]]
352
+ name = "rowan"
353
+ version = "0.17.0"
354
+ source = "registry+https://github.com/rust-lang/crates.io-index"
355
+ checksum = "14b574c58582fa59fa43a2feb6608b8744184659f08a2e0117e4b8224d95ed61"
356
+ dependencies = [
357
+ "countme",
358
+ "hashbrown",
359
+ "memoffset",
360
+ "rustc-hash 1.1.0",
361
+ "text-size",
362
+ ]
363
+
364
+ [[package]]
365
+ name = "rustc-hash"
366
+ version = "1.1.0"
367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
368
+ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
369
+
370
+ [[package]]
371
+ name = "rustc-hash"
372
+ version = "2.1.3"
373
+ source = "registry+https://github.com/rust-lang/crates.io-index"
374
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
375
+
376
+ [[package]]
377
+ name = "serde_core"
378
+ version = "1.0.229"
379
+ source = "registry+https://github.com/rust-lang/crates.io-index"
380
+ checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
381
+ dependencies = [
382
+ "serde_derive",
383
+ ]
384
+
385
+ [[package]]
386
+ name = "serde_derive"
387
+ version = "1.0.229"
388
+ source = "registry+https://github.com/rust-lang/crates.io-index"
389
+ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
390
+ dependencies = [
391
+ "proc-macro2",
392
+ "quote",
393
+ "syn 3.0.6",
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 = "similar"
404
+ version = "3.2.0"
405
+ source = "registry+https://github.com/rust-lang/crates.io-index"
406
+ checksum = "4f66ca1f7aca2474dc10c942eb22feffc897735f54cd1db90138c2fddb490987"
407
+ dependencies = [
408
+ "bstr",
409
+ ]
410
+
411
+ [[package]]
412
+ name = "syn"
413
+ version = "2.0.119"
414
+ source = "registry+https://github.com/rust-lang/crates.io-index"
415
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
416
+ dependencies = [
417
+ "proc-macro2",
418
+ "quote",
419
+ "unicode-ident",
420
+ ]
421
+
422
+ [[package]]
423
+ name = "syn"
424
+ version = "3.0.6"
425
+ source = "registry+https://github.com/rust-lang/crates.io-index"
426
+ checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
427
+ dependencies = [
428
+ "proc-macro2",
429
+ "quote",
430
+ "unicode-ident",
431
+ ]
432
+
433
+ [[package]]
434
+ name = "text-size"
435
+ version = "1.1.1"
436
+ source = "registry+https://github.com/rust-lang/crates.io-index"
437
+ checksum = "f18aa187839b2bdb1ad2fa35ead8c4c2976b64e4363c386d45ac0f7ee85c9233"
438
+
439
+ [[package]]
440
+ name = "ungrammar"
441
+ version = "1.16.1"
442
+ source = "registry+https://github.com/rust-lang/crates.io-index"
443
+ checksum = "a3e5df347f0bf3ec1d670aad6ca5c6a1859cd9ea61d2113125794654ccced68f"
444
+
445
+ [[package]]
446
+ name = "unicode-ident"
447
+ version = "1.0.26"
448
+ source = "registry+https://github.com/rust-lang/crates.io-index"
449
+ checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
450
+
451
+ [[package]]
452
+ name = "unicode-width"
453
+ version = "0.2.2"
454
+ source = "registry+https://github.com/rust-lang/crates.io-index"
455
+ checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
456
+
457
+ [[package]]
458
+ name = "usage-argv"
459
+ version = "6.11.1"
460
+ source = "registry+https://github.com/rust-lang/crates.io-index"
461
+ checksum = "669a2fcdc2d909c0858fcf190d6135dd9fb303da3497f1b9fea8592bb414d74c"
462
+
463
+ [[package]]
464
+ name = "usage-derive"
465
+ version = "6.11.1"
466
+ source = "registry+https://github.com/rust-lang/crates.io-index"
467
+ checksum = "fba1fef6ebefcad2733a1120567baf665b67b85382539de4b6187dd85b5eab12"
468
+ dependencies = [
469
+ "proc-macro2",
470
+ "quote",
471
+ "syn 3.0.6",
472
+ ]
473
+
474
+ [[package]]
475
+ name = "usage-rs"
476
+ version = "6.11.1"
477
+ source = "registry+https://github.com/rust-lang/crates.io-index"
478
+ checksum = "3ba4af226b5e8186231f5fc83dc913522fab3b5accc7fc3811e940794d522407"
479
+ dependencies = [
480
+ "usage-argv",
481
+ "usage-derive",
482
+ "usage-test",
483
+ ]
484
+
485
+ [[package]]
486
+ name = "usage-test"
487
+ version = "6.11.1"
488
+ source = "registry+https://github.com/rust-lang/crates.io-index"
489
+ checksum = "af670ae025049d131b1d16600e80fd6794cd83e69a3c84cb6605cdb8176f4957"
490
+ dependencies = [
491
+ "usage-argv",
492
+ ]
493
+
494
+ [[package]]
495
+ name = "yansi"
496
+ version = "1.0.1"
497
+ source = "registry+https://github.com/rust-lang/crates.io-index"
498
+ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
astli-0.1.1/Cargo.toml ADDED
@@ -0,0 +1,45 @@
1
+ [workspace]
2
+ resolver = "3"
3
+ members = ["crates/*"]
4
+
5
+ [workspace.package]
6
+ version = "0.1.1"
7
+ edition = "2024"
8
+ rust-version = "1.91"
9
+ license = "MIT OR Apache-2.0"
10
+ repository = "https://github.com/fischeti/astli"
11
+ keywords = ["systemverilog", "verilog", "parser", "formatter", "hdl"]
12
+ categories = ["development-tools", "parser-implementations"]
13
+ # Only the umbrella and the command inherit this; a library crate's page is its
14
+ # crate docs.
15
+ readme = "README.md"
16
+
17
+ [workspace.dependencies]
18
+ ariadne = "0.6"
19
+ expect-test = "1"
20
+ logos = "0.16"
21
+ mimalloc = "0.1"
22
+ prettyplease = "0.3"
23
+ proc-macro2 = "1"
24
+ quote = "1"
25
+ rayon = "1"
26
+ rowan = "0.17"
27
+ rustc-hash = "2"
28
+ similar = "3"
29
+ syn = { version = "3", features = ["full"] }
30
+ ungrammar = "1"
31
+ usage = { package = "usage-rs", version = "6", features = ["completions"] }
32
+
33
+ astli-diag = { path = "crates/astli-diag", version = "0.1.1" }
34
+ astli-fmt = { path = "crates/astli-fmt", version = "0.1.1" }
35
+ astli-parse = { path = "crates/astli-parse", version = "0.1.1" }
36
+ astli-preproc = { path = "crates/astli-preproc", version = "0.1.1" }
37
+ astli-syntax = { path = "crates/astli-syntax", version = "0.1.1" }
38
+ astli-text = { path = "crates/astli-text", version = "0.1.1" }
39
+
40
+ [workspace.lints.rustdoc]
41
+ all = "deny"
42
+
43
+ [profile.dist]
44
+ inherits = "release"
45
+ lto = "thin"