csan 0.0.0 → 0.8.0
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/LICENSE-APACHE +201 -0
- data/LICENSE-MIT +8 -0
- data/README.md +56 -26
- data/exe/csan +7 -0
- data/ext/csan/Cargo.lock +566 -0
- data/ext/csan/Cargo.toml +130 -0
- data/ext/csan/extconf.rb +12 -0
- data/ext/csan/src/lib.rs +263 -0
- data/lib/csan/version.rb +3 -1
- data/lib/csan.rb +90 -2
- data/sig/csan.rbs +54 -1
- metadata +39 -9
- data/LICENSE.txt +0 -21
- data/Rakefile +0 -4
data/ext/csan/Cargo.lock
ADDED
|
@@ -0,0 +1,566 @@
|
|
|
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 = "anstream"
|
|
16
|
+
version = "1.0.0"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"anstyle",
|
|
21
|
+
"anstyle-parse",
|
|
22
|
+
"anstyle-query",
|
|
23
|
+
"anstyle-wincon",
|
|
24
|
+
"colorchoice",
|
|
25
|
+
"is_terminal_polyfill",
|
|
26
|
+
"utf8parse",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "anstyle"
|
|
31
|
+
version = "1.0.14"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-parse"
|
|
37
|
+
version = "1.0.0"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"utf8parse",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-query"
|
|
46
|
+
version = "1.1.5"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"windows-sys",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "anstyle-wincon"
|
|
55
|
+
version = "3.0.11"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
58
|
+
dependencies = [
|
|
59
|
+
"anstyle",
|
|
60
|
+
"once_cell_polyfill",
|
|
61
|
+
"windows-sys",
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
[[package]]
|
|
65
|
+
name = "bindgen"
|
|
66
|
+
version = "0.72.1"
|
|
67
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
68
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
69
|
+
dependencies = [
|
|
70
|
+
"bitflags",
|
|
71
|
+
"cexpr",
|
|
72
|
+
"clang-sys",
|
|
73
|
+
"itertools",
|
|
74
|
+
"proc-macro2",
|
|
75
|
+
"quote",
|
|
76
|
+
"regex",
|
|
77
|
+
"rustc-hash",
|
|
78
|
+
"shlex",
|
|
79
|
+
"syn 2.0.119",
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
[[package]]
|
|
83
|
+
name = "bitflags"
|
|
84
|
+
version = "2.13.2"
|
|
85
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
86
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "cexpr"
|
|
90
|
+
version = "0.6.0"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
93
|
+
dependencies = [
|
|
94
|
+
"nom",
|
|
95
|
+
]
|
|
96
|
+
|
|
97
|
+
[[package]]
|
|
98
|
+
name = "cfg-if"
|
|
99
|
+
version = "1.0.5"
|
|
100
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
101
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
102
|
+
|
|
103
|
+
[[package]]
|
|
104
|
+
name = "clang-sys"
|
|
105
|
+
version = "1.9.1"
|
|
106
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
107
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
108
|
+
dependencies = [
|
|
109
|
+
"glob",
|
|
110
|
+
"libc",
|
|
111
|
+
"libloading",
|
|
112
|
+
]
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "clap"
|
|
116
|
+
version = "4.6.7"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
119
|
+
dependencies = [
|
|
120
|
+
"clap_builder",
|
|
121
|
+
"clap_derive",
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
[[package]]
|
|
125
|
+
name = "clap_builder"
|
|
126
|
+
version = "4.6.7"
|
|
127
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
129
|
+
dependencies = [
|
|
130
|
+
"anstream",
|
|
131
|
+
"anstyle",
|
|
132
|
+
"clap_lex",
|
|
133
|
+
"strsim",
|
|
134
|
+
]
|
|
135
|
+
|
|
136
|
+
[[package]]
|
|
137
|
+
name = "clap_derive"
|
|
138
|
+
version = "4.6.7"
|
|
139
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
141
|
+
dependencies = [
|
|
142
|
+
"heck",
|
|
143
|
+
"proc-macro2",
|
|
144
|
+
"quote",
|
|
145
|
+
"syn 3.0.9",
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
[[package]]
|
|
149
|
+
name = "clap_lex"
|
|
150
|
+
version = "1.1.1"
|
|
151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
152
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
153
|
+
|
|
154
|
+
[[package]]
|
|
155
|
+
name = "colorchoice"
|
|
156
|
+
version = "1.0.5"
|
|
157
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
158
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
159
|
+
|
|
160
|
+
[[package]]
|
|
161
|
+
name = "convert_case"
|
|
162
|
+
version = "0.10.0"
|
|
163
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
+
checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
|
|
165
|
+
dependencies = [
|
|
166
|
+
"unicode-segmentation",
|
|
167
|
+
]
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "csan"
|
|
171
|
+
version = "0.8.0"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "cb15b7a24bcce5da647fb7edeb5af6ccc1cc3a6fe50f2ccf93d6fed32ec060a3"
|
|
174
|
+
dependencies = [
|
|
175
|
+
"clap",
|
|
176
|
+
"csan-core",
|
|
177
|
+
"serde_json",
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "csan-core"
|
|
182
|
+
version = "0.8.0"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "c05481502522d9e78dc91a5af3dedafc0c94f106e2f550c938144c8c6ffc36f2"
|
|
185
|
+
dependencies = [
|
|
186
|
+
"derive_more",
|
|
187
|
+
"serde",
|
|
188
|
+
"serde_json",
|
|
189
|
+
]
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "csan-rb"
|
|
193
|
+
version = "0.8.0"
|
|
194
|
+
dependencies = [
|
|
195
|
+
"csan",
|
|
196
|
+
"csan-core",
|
|
197
|
+
"magnus",
|
|
198
|
+
"serde_json",
|
|
199
|
+
]
|
|
200
|
+
|
|
201
|
+
[[package]]
|
|
202
|
+
name = "derive_more"
|
|
203
|
+
version = "2.1.1"
|
|
204
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
205
|
+
checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
|
|
206
|
+
dependencies = [
|
|
207
|
+
"derive_more-impl",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "derive_more-impl"
|
|
212
|
+
version = "2.1.1"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
|
|
215
|
+
dependencies = [
|
|
216
|
+
"convert_case",
|
|
217
|
+
"proc-macro2",
|
|
218
|
+
"quote",
|
|
219
|
+
"rustc_version",
|
|
220
|
+
"syn 2.0.119",
|
|
221
|
+
"unicode-xid",
|
|
222
|
+
]
|
|
223
|
+
|
|
224
|
+
[[package]]
|
|
225
|
+
name = "either"
|
|
226
|
+
version = "1.19.0"
|
|
227
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "glob"
|
|
232
|
+
version = "0.3.4"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "heck"
|
|
238
|
+
version = "0.5.0"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "is_terminal_polyfill"
|
|
244
|
+
version = "1.70.2"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "itertools"
|
|
250
|
+
version = "0.13.0"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"either",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "itoa"
|
|
259
|
+
version = "1.0.18"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "lazy_static"
|
|
265
|
+
version = "1.5.1"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "libc"
|
|
271
|
+
version = "0.2.191"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "libloading"
|
|
277
|
+
version = "0.8.9"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"cfg-if",
|
|
282
|
+
"windows-link",
|
|
283
|
+
]
|
|
284
|
+
|
|
285
|
+
[[package]]
|
|
286
|
+
name = "magnus"
|
|
287
|
+
version = "0.9.3"
|
|
288
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
289
|
+
checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
|
|
290
|
+
dependencies = [
|
|
291
|
+
"magnus-macros",
|
|
292
|
+
"rb-sys",
|
|
293
|
+
"rb-sys-env",
|
|
294
|
+
"seq-macro",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "magnus-macros"
|
|
299
|
+
version = "0.9.1"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
302
|
+
dependencies = [
|
|
303
|
+
"proc-macro2",
|
|
304
|
+
"quote",
|
|
305
|
+
"syn 2.0.119",
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "memchr"
|
|
310
|
+
version = "2.8.3"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
313
|
+
|
|
314
|
+
[[package]]
|
|
315
|
+
name = "minimal-lexical"
|
|
316
|
+
version = "0.2.1"
|
|
317
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
318
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
319
|
+
|
|
320
|
+
[[package]]
|
|
321
|
+
name = "nom"
|
|
322
|
+
version = "7.1.3"
|
|
323
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
324
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
325
|
+
dependencies = [
|
|
326
|
+
"memchr",
|
|
327
|
+
"minimal-lexical",
|
|
328
|
+
]
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "once_cell_polyfill"
|
|
332
|
+
version = "1.70.2"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
335
|
+
|
|
336
|
+
[[package]]
|
|
337
|
+
name = "proc-macro2"
|
|
338
|
+
version = "1.0.107"
|
|
339
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
341
|
+
dependencies = [
|
|
342
|
+
"unicode-ident",
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "quote"
|
|
347
|
+
version = "1.0.47"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"proc-macro2",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "rb-sys"
|
|
356
|
+
version = "0.9.130"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
359
|
+
dependencies = [
|
|
360
|
+
"rb-sys-build",
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
[[package]]
|
|
364
|
+
name = "rb-sys-build"
|
|
365
|
+
version = "0.9.130"
|
|
366
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
367
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
368
|
+
dependencies = [
|
|
369
|
+
"bindgen",
|
|
370
|
+
"lazy_static",
|
|
371
|
+
"proc-macro2",
|
|
372
|
+
"quote",
|
|
373
|
+
"regex",
|
|
374
|
+
"shell-words",
|
|
375
|
+
"syn 2.0.119",
|
|
376
|
+
]
|
|
377
|
+
|
|
378
|
+
[[package]]
|
|
379
|
+
name = "rb-sys-env"
|
|
380
|
+
version = "0.2.3"
|
|
381
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
383
|
+
|
|
384
|
+
[[package]]
|
|
385
|
+
name = "regex"
|
|
386
|
+
version = "1.13.1"
|
|
387
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
389
|
+
dependencies = [
|
|
390
|
+
"aho-corasick",
|
|
391
|
+
"memchr",
|
|
392
|
+
"regex-automata",
|
|
393
|
+
"regex-syntax",
|
|
394
|
+
]
|
|
395
|
+
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "regex-automata"
|
|
398
|
+
version = "0.4.18"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
401
|
+
dependencies = [
|
|
402
|
+
"aho-corasick",
|
|
403
|
+
"memchr",
|
|
404
|
+
"regex-syntax",
|
|
405
|
+
]
|
|
406
|
+
|
|
407
|
+
[[package]]
|
|
408
|
+
name = "regex-syntax"
|
|
409
|
+
version = "0.8.11"
|
|
410
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "rustc-hash"
|
|
415
|
+
version = "2.1.3"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
418
|
+
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "rustc_version"
|
|
421
|
+
version = "0.4.1"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
|
|
424
|
+
dependencies = [
|
|
425
|
+
"semver",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "semver"
|
|
430
|
+
version = "1.0.28"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
433
|
+
|
|
434
|
+
[[package]]
|
|
435
|
+
name = "seq-macro"
|
|
436
|
+
version = "0.3.6"
|
|
437
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
439
|
+
|
|
440
|
+
[[package]]
|
|
441
|
+
name = "serde"
|
|
442
|
+
version = "1.0.229"
|
|
443
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
445
|
+
dependencies = [
|
|
446
|
+
"serde_core",
|
|
447
|
+
"serde_derive",
|
|
448
|
+
]
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "serde_core"
|
|
452
|
+
version = "1.0.229"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
455
|
+
dependencies = [
|
|
456
|
+
"serde_derive",
|
|
457
|
+
]
|
|
458
|
+
|
|
459
|
+
[[package]]
|
|
460
|
+
name = "serde_derive"
|
|
461
|
+
version = "1.0.229"
|
|
462
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
463
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
464
|
+
dependencies = [
|
|
465
|
+
"proc-macro2",
|
|
466
|
+
"quote",
|
|
467
|
+
"syn 3.0.9",
|
|
468
|
+
]
|
|
469
|
+
|
|
470
|
+
[[package]]
|
|
471
|
+
name = "serde_json"
|
|
472
|
+
version = "1.0.154"
|
|
473
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
475
|
+
dependencies = [
|
|
476
|
+
"itoa",
|
|
477
|
+
"memchr",
|
|
478
|
+
"serde",
|
|
479
|
+
"serde_core",
|
|
480
|
+
"zmij",
|
|
481
|
+
]
|
|
482
|
+
|
|
483
|
+
[[package]]
|
|
484
|
+
name = "shell-words"
|
|
485
|
+
version = "1.1.1"
|
|
486
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
487
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
488
|
+
|
|
489
|
+
[[package]]
|
|
490
|
+
name = "shlex"
|
|
491
|
+
version = "1.3.0"
|
|
492
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
493
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
494
|
+
|
|
495
|
+
[[package]]
|
|
496
|
+
name = "strsim"
|
|
497
|
+
version = "0.11.1"
|
|
498
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
499
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
500
|
+
|
|
501
|
+
[[package]]
|
|
502
|
+
name = "syn"
|
|
503
|
+
version = "2.0.119"
|
|
504
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
505
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
506
|
+
dependencies = [
|
|
507
|
+
"proc-macro2",
|
|
508
|
+
"quote",
|
|
509
|
+
"unicode-ident",
|
|
510
|
+
]
|
|
511
|
+
|
|
512
|
+
[[package]]
|
|
513
|
+
name = "syn"
|
|
514
|
+
version = "3.0.9"
|
|
515
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
516
|
+
checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
|
|
517
|
+
dependencies = [
|
|
518
|
+
"proc-macro2",
|
|
519
|
+
"quote",
|
|
520
|
+
"unicode-ident",
|
|
521
|
+
]
|
|
522
|
+
|
|
523
|
+
[[package]]
|
|
524
|
+
name = "unicode-ident"
|
|
525
|
+
version = "1.0.27"
|
|
526
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
527
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
528
|
+
|
|
529
|
+
[[package]]
|
|
530
|
+
name = "unicode-segmentation"
|
|
531
|
+
version = "1.13.3"
|
|
532
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
533
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
534
|
+
|
|
535
|
+
[[package]]
|
|
536
|
+
name = "unicode-xid"
|
|
537
|
+
version = "0.2.6"
|
|
538
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
539
|
+
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
|
|
540
|
+
|
|
541
|
+
[[package]]
|
|
542
|
+
name = "utf8parse"
|
|
543
|
+
version = "0.2.2"
|
|
544
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
545
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "windows-link"
|
|
549
|
+
version = "0.2.1"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
552
|
+
|
|
553
|
+
[[package]]
|
|
554
|
+
name = "windows-sys"
|
|
555
|
+
version = "0.61.2"
|
|
556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
558
|
+
dependencies = [
|
|
559
|
+
"windows-link",
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "zmij"
|
|
564
|
+
version = "1.0.23"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
data/ext/csan/Cargo.toml
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
2
|
+
#
|
|
3
|
+
# When uploading crates to the registry Cargo will automatically
|
|
4
|
+
# "normalize" Cargo.toml files for maximal compatibility
|
|
5
|
+
# with all versions of Cargo and also rewrite `path` dependencies
|
|
6
|
+
# to registry (e.g., crates.io) dependencies.
|
|
7
|
+
#
|
|
8
|
+
# If you are reading this file be aware that the original Cargo.toml
|
|
9
|
+
# will likely look very different (and much more reasonable).
|
|
10
|
+
# See Cargo.toml.orig for the original contents.
|
|
11
|
+
|
|
12
|
+
[package]
|
|
13
|
+
edition = "2024"
|
|
14
|
+
rust-version = "1.97"
|
|
15
|
+
name = "csan-rb"
|
|
16
|
+
version = "0.8.0"
|
|
17
|
+
authors = ["VERALVX <veralvx@veralvx.com>"]
|
|
18
|
+
build = false
|
|
19
|
+
publish = false
|
|
20
|
+
autolib = false
|
|
21
|
+
autobins = false
|
|
22
|
+
autoexamples = false
|
|
23
|
+
autotests = false
|
|
24
|
+
autobenches = false
|
|
25
|
+
description = "Ruby bindings for Cutter call number generation"
|
|
26
|
+
readme = false
|
|
27
|
+
license = "MIT OR Apache-2.0"
|
|
28
|
+
repository = "https://github.com/veralvx/csan"
|
|
29
|
+
|
|
30
|
+
[package.metadata.dist]
|
|
31
|
+
dist = false
|
|
32
|
+
|
|
33
|
+
[lib]
|
|
34
|
+
name = "csan_rb"
|
|
35
|
+
crate-type = ["cdylib"]
|
|
36
|
+
path = "src/lib.rs"
|
|
37
|
+
test = false
|
|
38
|
+
doctest = false
|
|
39
|
+
|
|
40
|
+
[dependencies.csan]
|
|
41
|
+
version = "=0.8.0"
|
|
42
|
+
|
|
43
|
+
[dependencies.csan-core]
|
|
44
|
+
version = "0.8.0"
|
|
45
|
+
|
|
46
|
+
[dependencies.magnus]
|
|
47
|
+
version = "0.9.3"
|
|
48
|
+
|
|
49
|
+
[dependencies.serde_json]
|
|
50
|
+
version = "1.0"
|
|
51
|
+
|
|
52
|
+
[lints.clippy]
|
|
53
|
+
arbitrary_source_item_ordering = "allow"
|
|
54
|
+
blanket_clippy_restriction_lints = "allow"
|
|
55
|
+
default_numeric_fallback = "allow"
|
|
56
|
+
doc_paragraphs_missing_punctuation = "allow"
|
|
57
|
+
exhaustive_enums = "allow"
|
|
58
|
+
exhaustive_structs = "allow"
|
|
59
|
+
impl_trait_in_params = "allow"
|
|
60
|
+
implicit_return = "allow"
|
|
61
|
+
inline_modules = "allow"
|
|
62
|
+
inline_trait_bounds = "allow"
|
|
63
|
+
integer_division = "allow"
|
|
64
|
+
integer_division_remainder_used = "allow"
|
|
65
|
+
min_ident_chars = "allow"
|
|
66
|
+
missing_docs_in_private_items = "allow"
|
|
67
|
+
missing_inline_in_public_items = "allow"
|
|
68
|
+
missing_trait_methods = "allow"
|
|
69
|
+
module_name_repetitions = "allow"
|
|
70
|
+
multiple_crate_versions = "allow"
|
|
71
|
+
non_ascii_literal = "allow"
|
|
72
|
+
pattern_type_mismatch = "allow"
|
|
73
|
+
print_stderr = "allow"
|
|
74
|
+
print_stdout = "allow"
|
|
75
|
+
pub_use = "allow"
|
|
76
|
+
pub_with_shorthand = "allow"
|
|
77
|
+
question_mark_used = "allow"
|
|
78
|
+
self_named_module_files = "allow"
|
|
79
|
+
semicolon_outside_block = "allow"
|
|
80
|
+
separated_literal_suffix = "allow"
|
|
81
|
+
shadow_reuse = "allow"
|
|
82
|
+
shadow_same = "allow"
|
|
83
|
+
single_call_fn = "allow"
|
|
84
|
+
single_char_lifetime_names = "allow"
|
|
85
|
+
std_instead_of_alloc = "allow"
|
|
86
|
+
std_instead_of_core = "allow"
|
|
87
|
+
unused_trait_names = "allow"
|
|
88
|
+
|
|
89
|
+
[lints.clippy.cargo]
|
|
90
|
+
level = "warn"
|
|
91
|
+
priority = -1
|
|
92
|
+
|
|
93
|
+
[lints.clippy.pedantic]
|
|
94
|
+
level = "warn"
|
|
95
|
+
priority = -1
|
|
96
|
+
|
|
97
|
+
[lints.clippy.restriction]
|
|
98
|
+
level = "warn"
|
|
99
|
+
priority = -1
|
|
100
|
+
|
|
101
|
+
[lints.rust]
|
|
102
|
+
absolute_paths_not_starting_with_crate = "deny"
|
|
103
|
+
ambiguous_negative_literals = "deny"
|
|
104
|
+
closure_returning_async_block = "warn"
|
|
105
|
+
deprecated_in_future = "deny"
|
|
106
|
+
deprecated_safe_2024 = "deny"
|
|
107
|
+
deref_into_dyn_supertrait = "deny"
|
|
108
|
+
elided_lifetimes_in_paths = "warn"
|
|
109
|
+
explicit_outlives_requirements = "warn"
|
|
110
|
+
if_let_rescope = "warn"
|
|
111
|
+
impl_trait_overcaptures = "warn"
|
|
112
|
+
let_underscore_drop = "deny"
|
|
113
|
+
macro_use_extern_crate = "deny"
|
|
114
|
+
missing_copy_implementations = "warn"
|
|
115
|
+
missing_docs = "warn"
|
|
116
|
+
non_ascii_idents = "deny"
|
|
117
|
+
single_use_lifetimes = "warn"
|
|
118
|
+
trivial_casts = "warn"
|
|
119
|
+
trivial_numeric_casts = "warn"
|
|
120
|
+
unknown_lints = "allow"
|
|
121
|
+
unreachable_pub = "deny"
|
|
122
|
+
unsafe_op_in_unsafe_fn = "deny"
|
|
123
|
+
unused_crate_dependencies = "deny"
|
|
124
|
+
unused_import_braces = "warn"
|
|
125
|
+
unused_lifetimes = "warn"
|
|
126
|
+
unused_macro_rules = "warn"
|
|
127
|
+
unused_qualifications = "warn"
|
|
128
|
+
variant_size_differences = "warn"
|
|
129
|
+
|
|
130
|
+
[workspace]
|
data/ext/csan/extconf.rb
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Builds the gem's extension, lib/csan/csan_rb.so, from the crate beside this
|
|
4
|
+
# file (rb-sys runs Cargo).
|
|
5
|
+
require "mkmf"
|
|
6
|
+
require "rb_sys/mkmf"
|
|
7
|
+
|
|
8
|
+
create_rust_makefile("csan/csan_rb") do |r|
|
|
9
|
+
# The source gem's manifest carries the workspace's lint levels, some of
|
|
10
|
+
# them `deny`: a newer compiler must not fail a user's install over a lint.
|
|
11
|
+
r.extra_rustflags = ["--cap-lints", "warn"]
|
|
12
|
+
end
|