dice_nom_shim 0.4.1 → 0.5.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/Cargo.lock +105 -167
- data/ext/dice_nom_shim/Cargo.toml +3 -2
- data/ext/dice_nom_shim/src/lib.rs +2 -6
- data/lib/dice_nom_shim/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec4337c2ee7a6ed583150daf5fd6311e43d79880d3294d8cced12fe1b213d46c
|
|
4
|
+
data.tar.gz: ec6a1278d2a3012af63ee2016db24a9c0bf66e9303777f49dedab089f500dcca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f0cc3624d29bc3d699cfdcd89397c9bb6f3c6ebe7bd86d3e2b36cd78709a90292ec3fd56a9f6f1ec4ccc76d2dde90587622ad849134158a87c95d672c001975
|
|
7
|
+
data.tar.gz: 98a3f420aa19a09daa17905b0b75ea6b1cb299da4f8ea10f13dd3b3886584f073b3b5a03ecd7a0c8a00d6622f6b203cb9a7e1179934777f744503f3109a950a8
|
data/Cargo.lock
CHANGED
|
@@ -4,18 +4,18 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "aho-corasick"
|
|
7
|
-
version = "1.1.
|
|
7
|
+
version = "1.1.4"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"memchr",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[[package]]
|
|
15
15
|
name = "anstream"
|
|
16
|
-
version = "0.6.
|
|
16
|
+
version = "0.6.21"
|
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
-
checksum = "
|
|
18
|
+
checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
|
|
19
19
|
dependencies = [
|
|
20
20
|
"anstyle",
|
|
21
21
|
"anstyle-parse",
|
|
@@ -28,9 +28,9 @@ dependencies = [
|
|
|
28
28
|
|
|
29
29
|
[[package]]
|
|
30
30
|
name = "anstyle"
|
|
31
|
-
version = "1.0.
|
|
31
|
+
version = "1.0.13"
|
|
32
32
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
-
checksum = "
|
|
33
|
+
checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
|
|
34
34
|
|
|
35
35
|
[[package]]
|
|
36
36
|
name = "anstyle-parse"
|
|
@@ -43,18 +43,18 @@ dependencies = [
|
|
|
43
43
|
|
|
44
44
|
[[package]]
|
|
45
45
|
name = "anstyle-query"
|
|
46
|
-
version = "1.1.
|
|
46
|
+
version = "1.1.5"
|
|
47
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
-
checksum = "
|
|
48
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
49
49
|
dependencies = [
|
|
50
50
|
"windows-sys",
|
|
51
51
|
]
|
|
52
52
|
|
|
53
53
|
[[package]]
|
|
54
54
|
name = "anstyle-wincon"
|
|
55
|
-
version = "3.0.
|
|
55
|
+
version = "3.0.11"
|
|
56
56
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
-
checksum = "
|
|
57
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
58
58
|
dependencies = [
|
|
59
59
|
"anstyle",
|
|
60
60
|
"once_cell_polyfill",
|
|
@@ -83,9 +83,9 @@ dependencies = [
|
|
|
83
83
|
|
|
84
84
|
[[package]]
|
|
85
85
|
name = "bitflags"
|
|
86
|
-
version = "2.
|
|
86
|
+
version = "2.11.0"
|
|
87
87
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
88
|
-
checksum = "
|
|
88
|
+
checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
|
|
89
89
|
|
|
90
90
|
[[package]]
|
|
91
91
|
name = "cexpr"
|
|
@@ -98,9 +98,9 @@ dependencies = [
|
|
|
98
98
|
|
|
99
99
|
[[package]]
|
|
100
100
|
name = "cfg-if"
|
|
101
|
-
version = "1.0.
|
|
101
|
+
version = "1.0.4"
|
|
102
102
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
103
|
-
checksum = "
|
|
103
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "clang-sys"
|
|
@@ -115,9 +115,9 @@ dependencies = [
|
|
|
115
115
|
|
|
116
116
|
[[package]]
|
|
117
117
|
name = "clap"
|
|
118
|
-
version = "4.5.
|
|
118
|
+
version = "4.5.60"
|
|
119
119
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
-
checksum = "
|
|
120
|
+
checksum = "2797f34da339ce31042b27d23607e051786132987f595b02ba4f6a6dffb7030a"
|
|
121
121
|
dependencies = [
|
|
122
122
|
"clap_builder",
|
|
123
123
|
"clap_derive",
|
|
@@ -125,9 +125,9 @@ dependencies = [
|
|
|
125
125
|
|
|
126
126
|
[[package]]
|
|
127
127
|
name = "clap_builder"
|
|
128
|
-
version = "4.5.
|
|
128
|
+
version = "4.5.60"
|
|
129
129
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
-
checksum = "
|
|
130
|
+
checksum = "24a241312cea5059b13574bb9b3861cabf758b879c15190b37b6d6fd63ab6876"
|
|
131
131
|
dependencies = [
|
|
132
132
|
"anstream",
|
|
133
133
|
"anstyle",
|
|
@@ -137,9 +137,9 @@ dependencies = [
|
|
|
137
137
|
|
|
138
138
|
[[package]]
|
|
139
139
|
name = "clap_derive"
|
|
140
|
-
version = "4.5.
|
|
140
|
+
version = "4.5.55"
|
|
141
141
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
-
checksum = "
|
|
142
|
+
checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5"
|
|
143
143
|
dependencies = [
|
|
144
144
|
"heck",
|
|
145
145
|
"proc-macro2",
|
|
@@ -149,9 +149,9 @@ dependencies = [
|
|
|
149
149
|
|
|
150
150
|
[[package]]
|
|
151
151
|
name = "clap_lex"
|
|
152
|
-
version = "0.
|
|
152
|
+
version = "1.0.0"
|
|
153
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
154
|
-
checksum = "
|
|
154
|
+
checksum = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831"
|
|
155
155
|
|
|
156
156
|
[[package]]
|
|
157
157
|
name = "colorchoice"
|
|
@@ -161,9 +161,9 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
|
|
|
161
161
|
|
|
162
162
|
[[package]]
|
|
163
163
|
name = "dice-nom"
|
|
164
|
-
version = "0.
|
|
164
|
+
version = "0.5.2"
|
|
165
165
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
-
checksum = "
|
|
166
|
+
checksum = "8d117a0b5084dfa6045193b345971f514fe1dd84287902981bca67d2ca715bb3"
|
|
167
167
|
dependencies = [
|
|
168
168
|
"clap",
|
|
169
169
|
"nom 8.0.0",
|
|
@@ -179,6 +179,7 @@ dependencies = [
|
|
|
179
179
|
"dice-nom",
|
|
180
180
|
"magnus",
|
|
181
181
|
"rand",
|
|
182
|
+
"rb-sys",
|
|
182
183
|
"serde",
|
|
183
184
|
"serde_json",
|
|
184
185
|
]
|
|
@@ -191,14 +192,14 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
|
191
192
|
|
|
192
193
|
[[package]]
|
|
193
194
|
name = "getrandom"
|
|
194
|
-
version = "0.3.
|
|
195
|
+
version = "0.3.4"
|
|
195
196
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
196
|
-
checksum = "
|
|
197
|
+
checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
|
|
197
198
|
dependencies = [
|
|
198
199
|
"cfg-if",
|
|
199
200
|
"libc",
|
|
200
201
|
"r-efi",
|
|
201
|
-
"
|
|
202
|
+
"wasip2",
|
|
202
203
|
]
|
|
203
204
|
|
|
204
205
|
[[package]]
|
|
@@ -215,9 +216,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
215
216
|
|
|
216
217
|
[[package]]
|
|
217
218
|
name = "is_terminal_polyfill"
|
|
218
|
-
version = "1.70.
|
|
219
|
+
version = "1.70.2"
|
|
219
220
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
-
checksum = "
|
|
221
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
221
222
|
|
|
222
223
|
[[package]]
|
|
223
224
|
name = "itertools"
|
|
@@ -230,9 +231,9 @@ dependencies = [
|
|
|
230
231
|
|
|
231
232
|
[[package]]
|
|
232
233
|
name = "itoa"
|
|
233
|
-
version = "1.0.
|
|
234
|
+
version = "1.0.17"
|
|
234
235
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
-
checksum = "
|
|
236
|
+
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
|
|
236
237
|
|
|
237
238
|
[[package]]
|
|
238
239
|
name = "lazy_static"
|
|
@@ -248,25 +249,25 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
|
248
249
|
|
|
249
250
|
[[package]]
|
|
250
251
|
name = "libc"
|
|
251
|
-
version = "0.2.
|
|
252
|
+
version = "0.2.182"
|
|
252
253
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
-
checksum = "
|
|
254
|
+
checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
|
|
254
255
|
|
|
255
256
|
[[package]]
|
|
256
257
|
name = "libloading"
|
|
257
|
-
version = "0.8.
|
|
258
|
+
version = "0.8.9"
|
|
258
259
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
-
checksum = "
|
|
260
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
260
261
|
dependencies = [
|
|
261
262
|
"cfg-if",
|
|
262
|
-
"windows-
|
|
263
|
+
"windows-link",
|
|
263
264
|
]
|
|
264
265
|
|
|
265
266
|
[[package]]
|
|
266
267
|
name = "magnus"
|
|
267
|
-
version = "0.
|
|
268
|
+
version = "0.8.2"
|
|
268
269
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
-
checksum = "
|
|
270
|
+
checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
|
|
270
271
|
dependencies = [
|
|
271
272
|
"magnus-macros",
|
|
272
273
|
"rb-sys",
|
|
@@ -276,9 +277,9 @@ dependencies = [
|
|
|
276
277
|
|
|
277
278
|
[[package]]
|
|
278
279
|
name = "magnus-macros"
|
|
279
|
-
version = "0.
|
|
280
|
+
version = "0.8.0"
|
|
280
281
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
-
checksum = "
|
|
282
|
+
checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
282
283
|
dependencies = [
|
|
283
284
|
"proc-macro2",
|
|
284
285
|
"quote",
|
|
@@ -287,9 +288,9 @@ dependencies = [
|
|
|
287
288
|
|
|
288
289
|
[[package]]
|
|
289
290
|
name = "memchr"
|
|
290
|
-
version = "2.
|
|
291
|
+
version = "2.8.0"
|
|
291
292
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
-
checksum = "
|
|
293
|
+
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
293
294
|
|
|
294
295
|
[[package]]
|
|
295
296
|
name = "minimal-lexical"
|
|
@@ -318,9 +319,9 @@ dependencies = [
|
|
|
318
319
|
|
|
319
320
|
[[package]]
|
|
320
321
|
name = "once_cell_polyfill"
|
|
321
|
-
version = "1.70.
|
|
322
|
+
version = "1.70.2"
|
|
322
323
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
|
-
checksum = "
|
|
324
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
324
325
|
|
|
325
326
|
[[package]]
|
|
326
327
|
name = "ppv-lite86"
|
|
@@ -333,18 +334,18 @@ dependencies = [
|
|
|
333
334
|
|
|
334
335
|
[[package]]
|
|
335
336
|
name = "proc-macro2"
|
|
336
|
-
version = "1.0.
|
|
337
|
+
version = "1.0.106"
|
|
337
338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
338
|
-
checksum = "
|
|
339
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
339
340
|
dependencies = [
|
|
340
341
|
"unicode-ident",
|
|
341
342
|
]
|
|
342
343
|
|
|
343
344
|
[[package]]
|
|
344
345
|
name = "quote"
|
|
345
|
-
version = "1.0.
|
|
346
|
+
version = "1.0.44"
|
|
346
347
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
347
|
-
checksum = "
|
|
348
|
+
checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4"
|
|
348
349
|
dependencies = [
|
|
349
350
|
"proc-macro2",
|
|
350
351
|
]
|
|
@@ -377,27 +378,27 @@ dependencies = [
|
|
|
377
378
|
|
|
378
379
|
[[package]]
|
|
379
380
|
name = "rand_core"
|
|
380
|
-
version = "0.9.
|
|
381
|
+
version = "0.9.5"
|
|
381
382
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
-
checksum = "
|
|
383
|
+
checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
|
|
383
384
|
dependencies = [
|
|
384
385
|
"getrandom",
|
|
385
386
|
]
|
|
386
387
|
|
|
387
388
|
[[package]]
|
|
388
389
|
name = "rb-sys"
|
|
389
|
-
version = "0.9.
|
|
390
|
+
version = "0.9.124"
|
|
390
391
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
391
|
-
checksum = "
|
|
392
|
+
checksum = "c85c4188462601e2aa1469def389c17228566f82ea72f137ed096f21591bc489"
|
|
392
393
|
dependencies = [
|
|
393
394
|
"rb-sys-build",
|
|
394
395
|
]
|
|
395
396
|
|
|
396
397
|
[[package]]
|
|
397
398
|
name = "rb-sys-build"
|
|
398
|
-
version = "0.9.
|
|
399
|
+
version = "0.9.124"
|
|
399
400
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
-
checksum = "
|
|
401
|
+
checksum = "568068db4102230882e6d4ae8de6632e224ca75fe5970f6e026a04e91ed635d3"
|
|
401
402
|
dependencies = [
|
|
402
403
|
"bindgen",
|
|
403
404
|
"lazy_static",
|
|
@@ -410,15 +411,15 @@ dependencies = [
|
|
|
410
411
|
|
|
411
412
|
[[package]]
|
|
412
413
|
name = "rb-sys-env"
|
|
413
|
-
version = "0.
|
|
414
|
+
version = "0.2.3"
|
|
414
415
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
415
|
-
checksum = "
|
|
416
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
416
417
|
|
|
417
418
|
[[package]]
|
|
418
419
|
name = "regex"
|
|
419
|
-
version = "1.
|
|
420
|
+
version = "1.12.3"
|
|
420
421
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
-
checksum = "
|
|
422
|
+
checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
|
|
422
423
|
dependencies = [
|
|
423
424
|
"aho-corasick",
|
|
424
425
|
"memchr",
|
|
@@ -428,9 +429,9 @@ dependencies = [
|
|
|
428
429
|
|
|
429
430
|
[[package]]
|
|
430
431
|
name = "regex-automata"
|
|
431
|
-
version = "0.4.
|
|
432
|
+
version = "0.4.14"
|
|
432
433
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
-
checksum = "
|
|
434
|
+
checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
|
|
434
435
|
dependencies = [
|
|
435
436
|
"aho-corasick",
|
|
436
437
|
"memchr",
|
|
@@ -439,9 +440,9 @@ dependencies = [
|
|
|
439
440
|
|
|
440
441
|
[[package]]
|
|
441
442
|
name = "regex-syntax"
|
|
442
|
-
version = "0.8.
|
|
443
|
+
version = "0.8.10"
|
|
443
444
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
-
checksum = "
|
|
445
|
+
checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a"
|
|
445
446
|
|
|
446
447
|
[[package]]
|
|
447
448
|
name = "rustc-hash"
|
|
@@ -449,12 +450,6 @@ version = "1.1.0"
|
|
|
449
450
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
450
451
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
451
452
|
|
|
452
|
-
[[package]]
|
|
453
|
-
name = "ryu"
|
|
454
|
-
version = "1.0.20"
|
|
455
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
-
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
|
|
457
|
-
|
|
458
453
|
[[package]]
|
|
459
454
|
name = "seq-macro"
|
|
460
455
|
version = "0.3.6"
|
|
@@ -463,18 +458,28 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
|
463
458
|
|
|
464
459
|
[[package]]
|
|
465
460
|
name = "serde"
|
|
466
|
-
version = "1.0.
|
|
461
|
+
version = "1.0.228"
|
|
467
462
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
468
|
-
checksum = "
|
|
463
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
464
|
+
dependencies = [
|
|
465
|
+
"serde_core",
|
|
466
|
+
"serde_derive",
|
|
467
|
+
]
|
|
468
|
+
|
|
469
|
+
[[package]]
|
|
470
|
+
name = "serde_core"
|
|
471
|
+
version = "1.0.228"
|
|
472
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
473
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
469
474
|
dependencies = [
|
|
470
475
|
"serde_derive",
|
|
471
476
|
]
|
|
472
477
|
|
|
473
478
|
[[package]]
|
|
474
479
|
name = "serde_derive"
|
|
475
|
-
version = "1.0.
|
|
480
|
+
version = "1.0.228"
|
|
476
481
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
-
checksum = "
|
|
482
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
478
483
|
dependencies = [
|
|
479
484
|
"proc-macro2",
|
|
480
485
|
"quote",
|
|
@@ -483,21 +488,22 @@ dependencies = [
|
|
|
483
488
|
|
|
484
489
|
[[package]]
|
|
485
490
|
name = "serde_json"
|
|
486
|
-
version = "1.0.
|
|
491
|
+
version = "1.0.149"
|
|
487
492
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
488
|
-
checksum = "
|
|
493
|
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
|
489
494
|
dependencies = [
|
|
490
495
|
"itoa",
|
|
491
496
|
"memchr",
|
|
492
|
-
"ryu",
|
|
493
497
|
"serde",
|
|
498
|
+
"serde_core",
|
|
499
|
+
"zmij",
|
|
494
500
|
]
|
|
495
501
|
|
|
496
502
|
[[package]]
|
|
497
503
|
name = "shell-words"
|
|
498
|
-
version = "1.1.
|
|
504
|
+
version = "1.1.1"
|
|
499
505
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
-
checksum = "
|
|
506
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
501
507
|
|
|
502
508
|
[[package]]
|
|
503
509
|
name = "shlex"
|
|
@@ -513,9 +519,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
|
513
519
|
|
|
514
520
|
[[package]]
|
|
515
521
|
name = "syn"
|
|
516
|
-
version = "2.0.
|
|
522
|
+
version = "2.0.117"
|
|
517
523
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
518
|
-
checksum = "
|
|
524
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
519
525
|
dependencies = [
|
|
520
526
|
"proc-macro2",
|
|
521
527
|
"quote",
|
|
@@ -524,9 +530,9 @@ dependencies = [
|
|
|
524
530
|
|
|
525
531
|
[[package]]
|
|
526
532
|
name = "unicode-ident"
|
|
527
|
-
version = "1.0.
|
|
533
|
+
version = "1.0.24"
|
|
528
534
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
529
|
-
checksum = "
|
|
535
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
530
536
|
|
|
531
537
|
[[package]]
|
|
532
538
|
name = "utf8parse"
|
|
@@ -534,126 +540,58 @@ version = "0.2.2"
|
|
|
534
540
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
541
|
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
536
542
|
|
|
537
|
-
[[package]]
|
|
538
|
-
name = "wasi"
|
|
539
|
-
version = "0.14.5+wasi-0.2.4"
|
|
540
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
541
|
-
checksum = "a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4"
|
|
542
|
-
dependencies = [
|
|
543
|
-
"wasip2",
|
|
544
|
-
]
|
|
545
|
-
|
|
546
543
|
[[package]]
|
|
547
544
|
name = "wasip2"
|
|
548
|
-
version = "1.0.
|
|
545
|
+
version = "1.0.2+wasi-0.2.9"
|
|
549
546
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
550
|
-
checksum = "
|
|
547
|
+
checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
|
|
551
548
|
dependencies = [
|
|
552
549
|
"wit-bindgen",
|
|
553
550
|
]
|
|
554
551
|
|
|
555
552
|
[[package]]
|
|
556
553
|
name = "windows-link"
|
|
557
|
-
version = "0.1
|
|
554
|
+
version = "0.2.1"
|
|
558
555
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
559
|
-
checksum = "
|
|
556
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
560
557
|
|
|
561
558
|
[[package]]
|
|
562
559
|
name = "windows-sys"
|
|
563
|
-
version = "0.
|
|
560
|
+
version = "0.61.2"
|
|
564
561
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
565
|
-
checksum = "
|
|
566
|
-
dependencies = [
|
|
567
|
-
"windows-targets",
|
|
568
|
-
]
|
|
569
|
-
|
|
570
|
-
[[package]]
|
|
571
|
-
name = "windows-targets"
|
|
572
|
-
version = "0.53.3"
|
|
573
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
-
checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
|
|
562
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
575
563
|
dependencies = [
|
|
576
564
|
"windows-link",
|
|
577
|
-
"windows_aarch64_gnullvm",
|
|
578
|
-
"windows_aarch64_msvc",
|
|
579
|
-
"windows_i686_gnu",
|
|
580
|
-
"windows_i686_gnullvm",
|
|
581
|
-
"windows_i686_msvc",
|
|
582
|
-
"windows_x86_64_gnu",
|
|
583
|
-
"windows_x86_64_gnullvm",
|
|
584
|
-
"windows_x86_64_msvc",
|
|
585
565
|
]
|
|
586
566
|
|
|
587
|
-
[[package]]
|
|
588
|
-
name = "windows_aarch64_gnullvm"
|
|
589
|
-
version = "0.53.0"
|
|
590
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
591
|
-
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
|
|
592
|
-
|
|
593
|
-
[[package]]
|
|
594
|
-
name = "windows_aarch64_msvc"
|
|
595
|
-
version = "0.53.0"
|
|
596
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
597
|
-
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
|
|
598
|
-
|
|
599
|
-
[[package]]
|
|
600
|
-
name = "windows_i686_gnu"
|
|
601
|
-
version = "0.53.0"
|
|
602
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
603
|
-
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
|
|
604
|
-
|
|
605
|
-
[[package]]
|
|
606
|
-
name = "windows_i686_gnullvm"
|
|
607
|
-
version = "0.53.0"
|
|
608
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
609
|
-
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
|
|
610
|
-
|
|
611
|
-
[[package]]
|
|
612
|
-
name = "windows_i686_msvc"
|
|
613
|
-
version = "0.53.0"
|
|
614
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
615
|
-
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
|
|
616
|
-
|
|
617
|
-
[[package]]
|
|
618
|
-
name = "windows_x86_64_gnu"
|
|
619
|
-
version = "0.53.0"
|
|
620
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
621
|
-
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
|
|
622
|
-
|
|
623
|
-
[[package]]
|
|
624
|
-
name = "windows_x86_64_gnullvm"
|
|
625
|
-
version = "0.53.0"
|
|
626
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
627
|
-
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
|
|
628
|
-
|
|
629
|
-
[[package]]
|
|
630
|
-
name = "windows_x86_64_msvc"
|
|
631
|
-
version = "0.53.0"
|
|
632
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
633
|
-
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
|
|
634
|
-
|
|
635
567
|
[[package]]
|
|
636
568
|
name = "wit-bindgen"
|
|
637
|
-
version = "0.
|
|
569
|
+
version = "0.51.0"
|
|
638
570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
639
|
-
checksum = "
|
|
571
|
+
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
|
640
572
|
|
|
641
573
|
[[package]]
|
|
642
574
|
name = "zerocopy"
|
|
643
|
-
version = "0.8.
|
|
575
|
+
version = "0.8.40"
|
|
644
576
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
645
|
-
checksum = "
|
|
577
|
+
checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5"
|
|
646
578
|
dependencies = [
|
|
647
579
|
"zerocopy-derive",
|
|
648
580
|
]
|
|
649
581
|
|
|
650
582
|
[[package]]
|
|
651
583
|
name = "zerocopy-derive"
|
|
652
|
-
version = "0.8.
|
|
584
|
+
version = "0.8.40"
|
|
653
585
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
654
|
-
checksum = "
|
|
586
|
+
checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953"
|
|
655
587
|
dependencies = [
|
|
656
588
|
"proc-macro2",
|
|
657
589
|
"quote",
|
|
658
590
|
"syn",
|
|
659
591
|
]
|
|
592
|
+
|
|
593
|
+
[[package]]
|
|
594
|
+
name = "zmij"
|
|
595
|
+
version = "1.0.21"
|
|
596
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
597
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
|
@@ -10,8 +10,9 @@ publish = false
|
|
|
10
10
|
crate-type = ["cdylib"]
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
|
-
magnus = { version = "0.
|
|
14
|
-
|
|
13
|
+
magnus = { version = "0.8" }
|
|
14
|
+
rb-sys = { version = "0.9", default-features = false, features = ["stable-api-compiled-fallback"] }
|
|
15
|
+
dice-nom = "0.5"
|
|
15
16
|
rand = "0.9"
|
|
16
17
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
17
18
|
serde_json = "1.0.140"
|
|
@@ -10,11 +10,7 @@ fn roll(roll: String) -> String {
|
|
|
10
10
|
Err(e) => return format!("{{\"error\": \"{}\"}}", e),
|
|
11
11
|
};
|
|
12
12
|
let mut rng = rand::rng();
|
|
13
|
-
let
|
|
14
|
-
let n = 1;
|
|
15
|
-
for _ in 0..n {
|
|
16
|
-
results_array.push(g.generate(&mut rng));
|
|
17
|
-
}
|
|
13
|
+
let results_array = vec![g.generate(&mut rng)];
|
|
18
14
|
let json = serde_json::to_string(&results_array);
|
|
19
15
|
match json {
|
|
20
16
|
Ok(json) => format!("{}", json),
|
|
@@ -69,7 +65,7 @@ impl Histo {
|
|
|
69
65
|
}
|
|
70
66
|
|
|
71
67
|
fn histo(roll: String) -> String {
|
|
72
|
-
let num =
|
|
68
|
+
let num = 5000.0;
|
|
73
69
|
let histo = Histo::build(roll, num as u32);
|
|
74
70
|
let mut chart_data = Vec::new();
|
|
75
71
|
let mut total = 100.0;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dice_nom_shim
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- G Palmer
|
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: 3.3.11
|
|
73
73
|
requirements: []
|
|
74
|
-
rubygems_version: 3.
|
|
74
|
+
rubygems_version: 3.6.9
|
|
75
75
|
specification_version: 4
|
|
76
76
|
summary: Ruby shim to the dice-nom rust crate
|
|
77
77
|
test_files: []
|