carve-lang 0.1.0 → 0.1.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +290 -1
- data/README.md +157 -12
- data/ext/carve/Cargo.lock +290 -17
- data/ext/carve/Cargo.toml +2 -5
- data/ext/carve/src/lib.rs +311 -56
- data/lib/carve/version.rb +8 -1
- data/lib/carve.rb +158 -24
- metadata +4 -4
- data/ext/carve/src/ast_json.rs +0 -508
data/ext/carve/Cargo.lock
CHANGED
|
@@ -26,7 +26,7 @@ dependencies = [
|
|
|
26
26
|
"regex",
|
|
27
27
|
"rustc-hash",
|
|
28
28
|
"shlex",
|
|
29
|
-
"syn",
|
|
29
|
+
"syn 2.0.118",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[[package]]
|
|
@@ -37,12 +37,18 @@ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
|
37
37
|
|
|
38
38
|
[[package]]
|
|
39
39
|
name = "carve-lang"
|
|
40
|
-
version = "0.1.
|
|
41
|
-
source = "git+https://github.com/markup-carve/carve-rs?rev=
|
|
40
|
+
version = "0.1.4"
|
|
41
|
+
source = "git+https://github.com/markup-carve/carve-rs?rev=2e9c43f22c5ed05dbd93323ae6b9c94bb867b285#2e9c43f22c5ed05dbd93323ae6b9c94bb867b285"
|
|
42
|
+
dependencies = [
|
|
43
|
+
"html5ever",
|
|
44
|
+
"markup5ever_rcdom",
|
|
45
|
+
"pulldown-cmark",
|
|
46
|
+
"regex",
|
|
47
|
+
]
|
|
42
48
|
|
|
43
49
|
[[package]]
|
|
44
50
|
name = "carve-rb"
|
|
45
|
-
version = "0.1.
|
|
51
|
+
version = "0.1.2"
|
|
46
52
|
dependencies = [
|
|
47
53
|
"carve-lang",
|
|
48
54
|
"magnus",
|
|
@@ -82,12 +88,36 @@ version = "1.16.0"
|
|
|
82
88
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
89
|
checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
|
84
90
|
|
|
91
|
+
[[package]]
|
|
92
|
+
name = "futf"
|
|
93
|
+
version = "0.1.5"
|
|
94
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
95
|
+
checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
|
|
96
|
+
dependencies = [
|
|
97
|
+
"mac",
|
|
98
|
+
"new_debug_unreachable",
|
|
99
|
+
]
|
|
100
|
+
|
|
85
101
|
[[package]]
|
|
86
102
|
name = "glob"
|
|
87
103
|
version = "0.3.3"
|
|
88
104
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
89
105
|
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
90
106
|
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "html5ever"
|
|
109
|
+
version = "0.27.0"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "c13771afe0e6e846f1e67d038d4cb29998a6779f93c809212e4e9c32efd244d4"
|
|
112
|
+
dependencies = [
|
|
113
|
+
"log",
|
|
114
|
+
"mac",
|
|
115
|
+
"markup5ever",
|
|
116
|
+
"proc-macro2",
|
|
117
|
+
"quote",
|
|
118
|
+
"syn 2.0.118",
|
|
119
|
+
]
|
|
120
|
+
|
|
91
121
|
[[package]]
|
|
92
122
|
name = "itertools"
|
|
93
123
|
version = "0.13.0"
|
|
@@ -125,6 +155,27 @@ dependencies = [
|
|
|
125
155
|
"windows-link",
|
|
126
156
|
]
|
|
127
157
|
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "lock_api"
|
|
160
|
+
version = "0.4.14"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
163
|
+
dependencies = [
|
|
164
|
+
"scopeguard",
|
|
165
|
+
]
|
|
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 = "mac"
|
|
175
|
+
version = "0.1.1"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
|
178
|
+
|
|
128
179
|
[[package]]
|
|
129
180
|
name = "magnus"
|
|
130
181
|
version = "0.8.2"
|
|
@@ -145,7 +196,33 @@ checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
|
145
196
|
dependencies = [
|
|
146
197
|
"proc-macro2",
|
|
147
198
|
"quote",
|
|
148
|
-
"syn",
|
|
199
|
+
"syn 2.0.118",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "markup5ever"
|
|
204
|
+
version = "0.12.1"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"log",
|
|
209
|
+
"phf",
|
|
210
|
+
"phf_codegen",
|
|
211
|
+
"string_cache",
|
|
212
|
+
"string_cache_codegen",
|
|
213
|
+
"tendril",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "markup5ever_rcdom"
|
|
218
|
+
version = "0.3.0"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "edaa21ab3701bfee5099ade5f7e1f84553fd19228cf332f13cd6e964bf59be18"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"html5ever",
|
|
223
|
+
"markup5ever",
|
|
224
|
+
"tendril",
|
|
225
|
+
"xml5ever",
|
|
149
226
|
]
|
|
150
227
|
|
|
151
228
|
[[package]]
|
|
@@ -160,6 +237,12 @@ version = "0.2.1"
|
|
|
160
237
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
238
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
162
239
|
|
|
240
|
+
[[package]]
|
|
241
|
+
name = "new_debug_unreachable"
|
|
242
|
+
version = "1.0.6"
|
|
243
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
244
|
+
checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
|
|
245
|
+
|
|
163
246
|
[[package]]
|
|
164
247
|
name = "nom"
|
|
165
248
|
version = "7.1.3"
|
|
@@ -170,6 +253,73 @@ dependencies = [
|
|
|
170
253
|
"minimal-lexical",
|
|
171
254
|
]
|
|
172
255
|
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "parking_lot"
|
|
258
|
+
version = "0.12.5"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
261
|
+
dependencies = [
|
|
262
|
+
"lock_api",
|
|
263
|
+
"parking_lot_core",
|
|
264
|
+
]
|
|
265
|
+
|
|
266
|
+
[[package]]
|
|
267
|
+
name = "parking_lot_core"
|
|
268
|
+
version = "0.9.12"
|
|
269
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
271
|
+
dependencies = [
|
|
272
|
+
"cfg-if",
|
|
273
|
+
"libc",
|
|
274
|
+
"redox_syscall",
|
|
275
|
+
"smallvec",
|
|
276
|
+
"windows-link",
|
|
277
|
+
]
|
|
278
|
+
|
|
279
|
+
[[package]]
|
|
280
|
+
name = "phf"
|
|
281
|
+
version = "0.11.3"
|
|
282
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
283
|
+
checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
|
|
284
|
+
dependencies = [
|
|
285
|
+
"phf_shared",
|
|
286
|
+
]
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "phf_codegen"
|
|
290
|
+
version = "0.11.3"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"phf_generator",
|
|
295
|
+
"phf_shared",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "phf_generator"
|
|
300
|
+
version = "0.11.3"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
|
|
303
|
+
dependencies = [
|
|
304
|
+
"phf_shared",
|
|
305
|
+
"rand",
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "phf_shared"
|
|
310
|
+
version = "0.11.3"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"siphasher",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "precomputed-hash"
|
|
319
|
+
version = "0.1.1"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
|
322
|
+
|
|
173
323
|
[[package]]
|
|
174
324
|
name = "proc-macro2"
|
|
175
325
|
version = "1.0.106"
|
|
@@ -179,6 +329,17 @@ dependencies = [
|
|
|
179
329
|
"unicode-ident",
|
|
180
330
|
]
|
|
181
331
|
|
|
332
|
+
[[package]]
|
|
333
|
+
name = "pulldown-cmark"
|
|
334
|
+
version = "0.13.4"
|
|
335
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
336
|
+
checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e"
|
|
337
|
+
dependencies = [
|
|
338
|
+
"bitflags",
|
|
339
|
+
"memchr",
|
|
340
|
+
"unicase",
|
|
341
|
+
]
|
|
342
|
+
|
|
182
343
|
[[package]]
|
|
183
344
|
name = "quote"
|
|
184
345
|
version = "1.0.46"
|
|
@@ -188,6 +349,21 @@ dependencies = [
|
|
|
188
349
|
"proc-macro2",
|
|
189
350
|
]
|
|
190
351
|
|
|
352
|
+
[[package]]
|
|
353
|
+
name = "rand"
|
|
354
|
+
version = "0.8.7"
|
|
355
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
+
checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a"
|
|
357
|
+
dependencies = [
|
|
358
|
+
"rand_core",
|
|
359
|
+
]
|
|
360
|
+
|
|
361
|
+
[[package]]
|
|
362
|
+
name = "rand_core"
|
|
363
|
+
version = "0.6.4"
|
|
364
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
365
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
366
|
+
|
|
191
367
|
[[package]]
|
|
192
368
|
name = "rb-sys"
|
|
193
369
|
version = "0.9.128"
|
|
@@ -209,7 +385,7 @@ dependencies = [
|
|
|
209
385
|
"quote",
|
|
210
386
|
"regex",
|
|
211
387
|
"shell-words",
|
|
212
|
-
"syn",
|
|
388
|
+
"syn 2.0.118",
|
|
213
389
|
]
|
|
214
390
|
|
|
215
391
|
[[package]]
|
|
@@ -218,6 +394,15 @@ version = "0.2.3"
|
|
|
218
394
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
219
395
|
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
220
396
|
|
|
397
|
+
[[package]]
|
|
398
|
+
name = "redox_syscall"
|
|
399
|
+
version = "0.5.18"
|
|
400
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
402
|
+
dependencies = [
|
|
403
|
+
"bitflags",
|
|
404
|
+
]
|
|
405
|
+
|
|
221
406
|
[[package]]
|
|
222
407
|
name = "regex"
|
|
223
408
|
version = "1.12.4"
|
|
@@ -253,6 +438,12 @@ version = "2.1.2"
|
|
|
253
438
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
254
439
|
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
255
440
|
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "scopeguard"
|
|
443
|
+
version = "1.2.0"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
446
|
+
|
|
256
447
|
[[package]]
|
|
257
448
|
name = "seq-macro"
|
|
258
449
|
version = "0.3.6"
|
|
@@ -261,38 +452,38 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
|
261
452
|
|
|
262
453
|
[[package]]
|
|
263
454
|
name = "serde"
|
|
264
|
-
version = "1.0.
|
|
455
|
+
version = "1.0.229"
|
|
265
456
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
266
|
-
checksum = "
|
|
457
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
267
458
|
dependencies = [
|
|
268
459
|
"serde_core",
|
|
269
460
|
]
|
|
270
461
|
|
|
271
462
|
[[package]]
|
|
272
463
|
name = "serde_core"
|
|
273
|
-
version = "1.0.
|
|
464
|
+
version = "1.0.229"
|
|
274
465
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
-
checksum = "
|
|
466
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
276
467
|
dependencies = [
|
|
277
468
|
"serde_derive",
|
|
278
469
|
]
|
|
279
470
|
|
|
280
471
|
[[package]]
|
|
281
472
|
name = "serde_derive"
|
|
282
|
-
version = "1.0.
|
|
473
|
+
version = "1.0.229"
|
|
283
474
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
-
checksum = "
|
|
475
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
285
476
|
dependencies = [
|
|
286
477
|
"proc-macro2",
|
|
287
478
|
"quote",
|
|
288
|
-
"syn",
|
|
479
|
+
"syn 3.0.3",
|
|
289
480
|
]
|
|
290
481
|
|
|
291
482
|
[[package]]
|
|
292
483
|
name = "serde_json"
|
|
293
|
-
version = "1.0.
|
|
484
|
+
version = "1.0.151"
|
|
294
485
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
295
|
-
checksum = "
|
|
486
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
296
487
|
dependencies = [
|
|
297
488
|
"itoa",
|
|
298
489
|
"memchr",
|
|
@@ -313,6 +504,43 @@ version = "1.3.0"
|
|
|
313
504
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
505
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
315
506
|
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "siphasher"
|
|
509
|
+
version = "1.0.3"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
|
|
512
|
+
|
|
513
|
+
[[package]]
|
|
514
|
+
name = "smallvec"
|
|
515
|
+
version = "1.15.2"
|
|
516
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
517
|
+
checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
518
|
+
|
|
519
|
+
[[package]]
|
|
520
|
+
name = "string_cache"
|
|
521
|
+
version = "0.8.9"
|
|
522
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
523
|
+
checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f"
|
|
524
|
+
dependencies = [
|
|
525
|
+
"new_debug_unreachable",
|
|
526
|
+
"parking_lot",
|
|
527
|
+
"phf_shared",
|
|
528
|
+
"precomputed-hash",
|
|
529
|
+
"serde",
|
|
530
|
+
]
|
|
531
|
+
|
|
532
|
+
[[package]]
|
|
533
|
+
name = "string_cache_codegen"
|
|
534
|
+
version = "0.5.4"
|
|
535
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
536
|
+
checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0"
|
|
537
|
+
dependencies = [
|
|
538
|
+
"phf_generator",
|
|
539
|
+
"phf_shared",
|
|
540
|
+
"proc-macro2",
|
|
541
|
+
"quote",
|
|
542
|
+
]
|
|
543
|
+
|
|
316
544
|
[[package]]
|
|
317
545
|
name = "syn"
|
|
318
546
|
version = "2.0.118"
|
|
@@ -324,20 +552,65 @@ dependencies = [
|
|
|
324
552
|
"unicode-ident",
|
|
325
553
|
]
|
|
326
554
|
|
|
555
|
+
[[package]]
|
|
556
|
+
name = "syn"
|
|
557
|
+
version = "3.0.3"
|
|
558
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
559
|
+
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
560
|
+
dependencies = [
|
|
561
|
+
"proc-macro2",
|
|
562
|
+
"quote",
|
|
563
|
+
"unicode-ident",
|
|
564
|
+
]
|
|
565
|
+
|
|
566
|
+
[[package]]
|
|
567
|
+
name = "tendril"
|
|
568
|
+
version = "0.4.3"
|
|
569
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
570
|
+
checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
|
|
571
|
+
dependencies = [
|
|
572
|
+
"futf",
|
|
573
|
+
"mac",
|
|
574
|
+
"utf-8",
|
|
575
|
+
]
|
|
576
|
+
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "unicase"
|
|
579
|
+
version = "2.9.0"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
|
|
582
|
+
|
|
327
583
|
[[package]]
|
|
328
584
|
name = "unicode-ident"
|
|
329
585
|
version = "1.0.24"
|
|
330
586
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
587
|
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
332
588
|
|
|
589
|
+
[[package]]
|
|
590
|
+
name = "utf-8"
|
|
591
|
+
version = "0.7.6"
|
|
592
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
593
|
+
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
|
594
|
+
|
|
333
595
|
[[package]]
|
|
334
596
|
name = "windows-link"
|
|
335
597
|
version = "0.2.1"
|
|
336
598
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
599
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
338
600
|
|
|
601
|
+
[[package]]
|
|
602
|
+
name = "xml5ever"
|
|
603
|
+
version = "0.18.1"
|
|
604
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
605
|
+
checksum = "9bbb26405d8e919bc1547a5aa9abc95cbfa438f04844f5fdd9dc7596b748bf69"
|
|
606
|
+
dependencies = [
|
|
607
|
+
"log",
|
|
608
|
+
"mac",
|
|
609
|
+
"markup5ever",
|
|
610
|
+
]
|
|
611
|
+
|
|
339
612
|
[[package]]
|
|
340
613
|
name = "zmij"
|
|
341
|
-
version = "1.0.
|
|
614
|
+
version = "1.0.23"
|
|
342
615
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
-
checksum = "
|
|
616
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
data/ext/carve/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "carve-rb"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
rust-version = "1.75"
|
|
6
6
|
publish = false
|
|
@@ -17,12 +17,9 @@ crate-type = ["cdylib"]
|
|
|
17
17
|
# interop handles so this builds cleanly under rb_sys/mkmf for Ruby 3.2.
|
|
18
18
|
magnus = { version = "0.8", features = ["rb-sys"] }
|
|
19
19
|
rb-sys = "0.9"
|
|
20
|
-
|
|
21
|
-
# AST -> JSON serialization for `Carve.parse`. Kept in the binding so the
|
|
22
|
-
# carve-rs engine itself stays free of a serde dependency.
|
|
23
20
|
serde_json = "1"
|
|
24
21
|
|
|
25
22
|
# The Carve engine. Imported under the Rust crate alias `carve_rs` so the
|
|
26
23
|
# binding's own crate name (`carve-rb`) does not collide with the engine's
|
|
27
24
|
# package name (`carve`) in the Cargo lockfile.
|
|
28
|
-
carve_rs = { package = "carve-lang", git = "https://github.com/markup-carve/carve-rs", rev = "
|
|
25
|
+
carve_rs = { package = "carve-lang", git = "https://github.com/markup-carve/carve-rs", rev = "2e9c43f22c5ed05dbd93323ae6b9c94bb867b285" }
|