sortes 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sortes-0.1.0/Cargo.lock +595 -0
- sortes-0.1.0/Cargo.toml +26 -0
- sortes-0.1.0/LICENSE +21 -0
- sortes-0.1.0/PKG-INFO +120 -0
- sortes-0.1.0/README.md +94 -0
- sortes-0.1.0/pyproject.toml +35 -0
- sortes-0.1.0/src/build.rs +820 -0
- sortes-0.1.0/src/draw.rs +1890 -0
- sortes-0.1.0/src/init.rs +73 -0
- sortes-0.1.0/src/lock.rs +335 -0
- sortes-0.1.0/src/main.rs +65 -0
- sortes-0.1.0/src/testing.rs +93 -0
- sortes-0.1.0/src/typst.rs +231 -0
- sortes-0.1.0/src/ui.rs +35 -0
- sortes-0.1.0/templates/bank.typ +135 -0
- sortes-0.1.0/templates/typst.toml +2 -0
- sortes-0.1.0/typst/lib.typ +516 -0
- sortes-0.1.0/typst/typst.toml +5 -0
sortes-0.1.0/Cargo.lock
ADDED
|
@@ -0,0 +1,595 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "anstream"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"anstyle",
|
|
12
|
+
"anstyle-parse",
|
|
13
|
+
"anstyle-query",
|
|
14
|
+
"anstyle-wincon",
|
|
15
|
+
"colorchoice",
|
|
16
|
+
"is_terminal_polyfill",
|
|
17
|
+
"utf8parse",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "anstyle"
|
|
22
|
+
version = "1.0.14"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anstyle-parse"
|
|
28
|
+
version = "1.0.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"utf8parse",
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstyle-query"
|
|
37
|
+
version = "1.1.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"windows-sys 0.61.2",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "anstyle-wincon"
|
|
46
|
+
version = "3.0.11"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"anstyle",
|
|
51
|
+
"once_cell_polyfill",
|
|
52
|
+
"windows-sys 0.61.2",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[[package]]
|
|
56
|
+
name = "anyhow"
|
|
57
|
+
version = "1.0.105"
|
|
58
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
+
checksum = "2cb931c189b85683d69a5cfad41d4d418671e1ac413dd209f3f2fc31e3cfd902"
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "cfg-if"
|
|
63
|
+
version = "1.0.5"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "clap"
|
|
69
|
+
version = "4.6.10"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "50066ca966813ca8957ee15361752f19424a8ff620dbe9c8993d9f99d99b04b3"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"clap_builder",
|
|
74
|
+
"clap_derive",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "clap_builder"
|
|
79
|
+
version = "4.6.10"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "a0ed97c96ef4efb3cc84e09fa388df4463e7cc3224ec38d7b1d9e45749333590"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"anstream",
|
|
84
|
+
"anstyle",
|
|
85
|
+
"clap_lex",
|
|
86
|
+
"strsim",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "clap_derive"
|
|
91
|
+
version = "4.6.9"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "b4c174f11f949b9ca8c60580925e282b9cbd5454750e506f08648b2038080cd7"
|
|
94
|
+
dependencies = [
|
|
95
|
+
"heck",
|
|
96
|
+
"proc-macro2",
|
|
97
|
+
"quote",
|
|
98
|
+
"syn 3.0.10",
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "clap_lex"
|
|
103
|
+
version = "1.1.2"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79"
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "colorchoice"
|
|
109
|
+
version = "1.0.5"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
|
|
112
|
+
|
|
113
|
+
[[package]]
|
|
114
|
+
name = "dirs"
|
|
115
|
+
version = "5.0.1"
|
|
116
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
117
|
+
checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"
|
|
118
|
+
dependencies = [
|
|
119
|
+
"dirs-sys",
|
|
120
|
+
]
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "dirs-sys"
|
|
124
|
+
version = "0.4.1"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"
|
|
127
|
+
dependencies = [
|
|
128
|
+
"libc",
|
|
129
|
+
"option-ext",
|
|
130
|
+
"redox_users",
|
|
131
|
+
"windows-sys 0.48.0",
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
[[package]]
|
|
135
|
+
name = "equivalent"
|
|
136
|
+
version = "1.0.3"
|
|
137
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "foldhash"
|
|
142
|
+
version = "0.2.0"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
|
|
145
|
+
|
|
146
|
+
[[package]]
|
|
147
|
+
name = "getrandom"
|
|
148
|
+
version = "0.2.17"
|
|
149
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
150
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
151
|
+
dependencies = [
|
|
152
|
+
"cfg-if",
|
|
153
|
+
"libc",
|
|
154
|
+
"wasi",
|
|
155
|
+
]
|
|
156
|
+
|
|
157
|
+
[[package]]
|
|
158
|
+
name = "hashbrown"
|
|
159
|
+
version = "0.17.2"
|
|
160
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
+
checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc"
|
|
162
|
+
|
|
163
|
+
[[package]]
|
|
164
|
+
name = "heck"
|
|
165
|
+
version = "0.5.0"
|
|
166
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
167
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
168
|
+
|
|
169
|
+
[[package]]
|
|
170
|
+
name = "indexmap"
|
|
171
|
+
version = "2.14.2"
|
|
172
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
174
|
+
dependencies = [
|
|
175
|
+
"equivalent",
|
|
176
|
+
"hashbrown",
|
|
177
|
+
]
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "is_terminal_polyfill"
|
|
181
|
+
version = "1.70.2"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
184
|
+
|
|
185
|
+
[[package]]
|
|
186
|
+
name = "itoa"
|
|
187
|
+
version = "1.0.19"
|
|
188
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
189
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
190
|
+
|
|
191
|
+
[[package]]
|
|
192
|
+
name = "jiff"
|
|
193
|
+
version = "1.0.3"
|
|
194
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
195
|
+
checksum = "107f2e89536b6818514025f6787b0d94d819e54fe3b40365275fc753de485b3f"
|
|
196
|
+
dependencies = [
|
|
197
|
+
"jiff-core",
|
|
198
|
+
"jiff-static",
|
|
199
|
+
"jiff-tzdb-platform",
|
|
200
|
+
"log",
|
|
201
|
+
"portable-atomic",
|
|
202
|
+
"portable-atomic-util",
|
|
203
|
+
"serde_core",
|
|
204
|
+
"windows-link",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "jiff-core"
|
|
209
|
+
version = "1.0.2"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "d44c923edf2bf456a982253f1a9ee1f6e89e421dffd0065d9b9a581da0def58f"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"log",
|
|
214
|
+
]
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "jiff-static"
|
|
218
|
+
version = "1.0.3"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "4996f71e569e3a3e32b925c28ef8f0027dc30bb1d594b33eeda409eea185f5c8"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"jiff-core",
|
|
223
|
+
"proc-macro2",
|
|
224
|
+
"quote",
|
|
225
|
+
"syn 3.0.10",
|
|
226
|
+
]
|
|
227
|
+
|
|
228
|
+
[[package]]
|
|
229
|
+
name = "jiff-tzdb"
|
|
230
|
+
version = "1.0.0"
|
|
231
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
232
|
+
checksum = "12e71a1b68a875a44a33bb7a1dd84392cb77145a3367a552a3cfe6a4f5cf3afc"
|
|
233
|
+
|
|
234
|
+
[[package]]
|
|
235
|
+
name = "jiff-tzdb-platform"
|
|
236
|
+
version = "1.0.0"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "dc65b284afcfa8f6cf189c7274c805505314a7ab975c60e1f548bff56525420e"
|
|
239
|
+
dependencies = [
|
|
240
|
+
"jiff-tzdb",
|
|
241
|
+
]
|
|
242
|
+
|
|
243
|
+
[[package]]
|
|
244
|
+
name = "libc"
|
|
245
|
+
version = "0.2.191"
|
|
246
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
247
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
248
|
+
|
|
249
|
+
[[package]]
|
|
250
|
+
name = "libredox"
|
|
251
|
+
version = "0.1.25"
|
|
252
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
+
checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d"
|
|
254
|
+
dependencies = [
|
|
255
|
+
"libc",
|
|
256
|
+
]
|
|
257
|
+
|
|
258
|
+
[[package]]
|
|
259
|
+
name = "log"
|
|
260
|
+
version = "0.4.35"
|
|
261
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
+
checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c"
|
|
263
|
+
|
|
264
|
+
[[package]]
|
|
265
|
+
name = "memchr"
|
|
266
|
+
version = "2.8.3"
|
|
267
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
268
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
269
|
+
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "once_cell_polyfill"
|
|
272
|
+
version = "1.70.2"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "option-ext"
|
|
278
|
+
version = "0.2.0"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
|
|
281
|
+
|
|
282
|
+
[[package]]
|
|
283
|
+
name = "portable-atomic"
|
|
284
|
+
version = "1.15.0"
|
|
285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
+
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "portable-atomic-util"
|
|
290
|
+
version = "0.2.8"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
293
|
+
dependencies = [
|
|
294
|
+
"portable-atomic",
|
|
295
|
+
]
|
|
296
|
+
|
|
297
|
+
[[package]]
|
|
298
|
+
name = "ppv-lite86"
|
|
299
|
+
version = "0.2.21"
|
|
300
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
302
|
+
dependencies = [
|
|
303
|
+
"zerocopy",
|
|
304
|
+
]
|
|
305
|
+
|
|
306
|
+
[[package]]
|
|
307
|
+
name = "proc-macro2"
|
|
308
|
+
version = "1.0.107"
|
|
309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
310
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
311
|
+
dependencies = [
|
|
312
|
+
"unicode-ident",
|
|
313
|
+
]
|
|
314
|
+
|
|
315
|
+
[[package]]
|
|
316
|
+
name = "quote"
|
|
317
|
+
version = "1.0.47"
|
|
318
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
320
|
+
dependencies = [
|
|
321
|
+
"proc-macro2",
|
|
322
|
+
]
|
|
323
|
+
|
|
324
|
+
[[package]]
|
|
325
|
+
name = "rand"
|
|
326
|
+
version = "0.8.8"
|
|
327
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
+
checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
|
|
329
|
+
dependencies = [
|
|
330
|
+
"libc",
|
|
331
|
+
"rand_chacha",
|
|
332
|
+
"rand_core",
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "rand_chacha"
|
|
337
|
+
version = "0.3.1"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
|
340
|
+
dependencies = [
|
|
341
|
+
"ppv-lite86",
|
|
342
|
+
"rand_core",
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "rand_core"
|
|
347
|
+
version = "0.6.4"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"getrandom",
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
[[package]]
|
|
355
|
+
name = "redox_users"
|
|
356
|
+
version = "0.4.6"
|
|
357
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
358
|
+
checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
|
|
359
|
+
dependencies = [
|
|
360
|
+
"getrandom",
|
|
361
|
+
"libredox",
|
|
362
|
+
"thiserror",
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "serde"
|
|
367
|
+
version = "1.0.229"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
370
|
+
dependencies = [
|
|
371
|
+
"serde_core",
|
|
372
|
+
"serde_derive",
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
[[package]]
|
|
376
|
+
name = "serde_core"
|
|
377
|
+
version = "1.0.229"
|
|
378
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
379
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
380
|
+
dependencies = [
|
|
381
|
+
"serde_derive",
|
|
382
|
+
]
|
|
383
|
+
|
|
384
|
+
[[package]]
|
|
385
|
+
name = "serde_derive"
|
|
386
|
+
version = "1.0.229"
|
|
387
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
389
|
+
dependencies = [
|
|
390
|
+
"proc-macro2",
|
|
391
|
+
"quote",
|
|
392
|
+
"syn 3.0.10",
|
|
393
|
+
]
|
|
394
|
+
|
|
395
|
+
[[package]]
|
|
396
|
+
name = "serde_json"
|
|
397
|
+
version = "1.0.154"
|
|
398
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
399
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
400
|
+
dependencies = [
|
|
401
|
+
"foldhash",
|
|
402
|
+
"indexmap",
|
|
403
|
+
"itoa",
|
|
404
|
+
"memchr",
|
|
405
|
+
"serde",
|
|
406
|
+
"serde_core",
|
|
407
|
+
"zmij",
|
|
408
|
+
]
|
|
409
|
+
|
|
410
|
+
[[package]]
|
|
411
|
+
name = "sortes"
|
|
412
|
+
version = "0.1.0"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"anyhow",
|
|
415
|
+
"clap",
|
|
416
|
+
"dirs",
|
|
417
|
+
"jiff",
|
|
418
|
+
"rand",
|
|
419
|
+
"rand_chacha",
|
|
420
|
+
"serde",
|
|
421
|
+
"serde_json",
|
|
422
|
+
]
|
|
423
|
+
|
|
424
|
+
[[package]]
|
|
425
|
+
name = "strsim"
|
|
426
|
+
version = "0.11.1"
|
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "syn"
|
|
432
|
+
version = "2.0.119"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
435
|
+
dependencies = [
|
|
436
|
+
"proc-macro2",
|
|
437
|
+
"quote",
|
|
438
|
+
"unicode-ident",
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "syn"
|
|
443
|
+
version = "3.0.10"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"proc-macro2",
|
|
448
|
+
"quote",
|
|
449
|
+
"unicode-ident",
|
|
450
|
+
]
|
|
451
|
+
|
|
452
|
+
[[package]]
|
|
453
|
+
name = "thiserror"
|
|
454
|
+
version = "1.0.69"
|
|
455
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
+
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
457
|
+
dependencies = [
|
|
458
|
+
"thiserror-impl",
|
|
459
|
+
]
|
|
460
|
+
|
|
461
|
+
[[package]]
|
|
462
|
+
name = "thiserror-impl"
|
|
463
|
+
version = "1.0.69"
|
|
464
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
465
|
+
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
|
466
|
+
dependencies = [
|
|
467
|
+
"proc-macro2",
|
|
468
|
+
"quote",
|
|
469
|
+
"syn 2.0.119",
|
|
470
|
+
]
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "unicode-ident"
|
|
474
|
+
version = "1.0.27"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "utf8parse"
|
|
480
|
+
version = "0.2.2"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
483
|
+
|
|
484
|
+
[[package]]
|
|
485
|
+
name = "wasi"
|
|
486
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
487
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
488
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
489
|
+
|
|
490
|
+
[[package]]
|
|
491
|
+
name = "windows-link"
|
|
492
|
+
version = "0.2.1"
|
|
493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
494
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "windows-sys"
|
|
498
|
+
version = "0.48.0"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
501
|
+
dependencies = [
|
|
502
|
+
"windows-targets",
|
|
503
|
+
]
|
|
504
|
+
|
|
505
|
+
[[package]]
|
|
506
|
+
name = "windows-sys"
|
|
507
|
+
version = "0.61.2"
|
|
508
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
509
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
510
|
+
dependencies = [
|
|
511
|
+
"windows-link",
|
|
512
|
+
]
|
|
513
|
+
|
|
514
|
+
[[package]]
|
|
515
|
+
name = "windows-targets"
|
|
516
|
+
version = "0.48.5"
|
|
517
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
518
|
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
519
|
+
dependencies = [
|
|
520
|
+
"windows_aarch64_gnullvm",
|
|
521
|
+
"windows_aarch64_msvc",
|
|
522
|
+
"windows_i686_gnu",
|
|
523
|
+
"windows_i686_msvc",
|
|
524
|
+
"windows_x86_64_gnu",
|
|
525
|
+
"windows_x86_64_gnullvm",
|
|
526
|
+
"windows_x86_64_msvc",
|
|
527
|
+
]
|
|
528
|
+
|
|
529
|
+
[[package]]
|
|
530
|
+
name = "windows_aarch64_gnullvm"
|
|
531
|
+
version = "0.48.5"
|
|
532
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
533
|
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
534
|
+
|
|
535
|
+
[[package]]
|
|
536
|
+
name = "windows_aarch64_msvc"
|
|
537
|
+
version = "0.48.5"
|
|
538
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
539
|
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
540
|
+
|
|
541
|
+
[[package]]
|
|
542
|
+
name = "windows_i686_gnu"
|
|
543
|
+
version = "0.48.5"
|
|
544
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
545
|
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "windows_i686_msvc"
|
|
549
|
+
version = "0.48.5"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
552
|
+
|
|
553
|
+
[[package]]
|
|
554
|
+
name = "windows_x86_64_gnu"
|
|
555
|
+
version = "0.48.5"
|
|
556
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
557
|
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
558
|
+
|
|
559
|
+
[[package]]
|
|
560
|
+
name = "windows_x86_64_gnullvm"
|
|
561
|
+
version = "0.48.5"
|
|
562
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
564
|
+
|
|
565
|
+
[[package]]
|
|
566
|
+
name = "windows_x86_64_msvc"
|
|
567
|
+
version = "0.48.5"
|
|
568
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
569
|
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
570
|
+
|
|
571
|
+
[[package]]
|
|
572
|
+
name = "zerocopy"
|
|
573
|
+
version = "0.8.66"
|
|
574
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
575
|
+
checksum = "cba8a86aee14fc8cc6c208af60854b3d4ab7185a9a369a12c648faa2716ff42a"
|
|
576
|
+
dependencies = [
|
|
577
|
+
"zerocopy-derive",
|
|
578
|
+
]
|
|
579
|
+
|
|
580
|
+
[[package]]
|
|
581
|
+
name = "zerocopy-derive"
|
|
582
|
+
version = "0.8.66"
|
|
583
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
+
checksum = "f89bca3b96ceb3cfcb4572790402f977442270d252b9a8504ebc258760c55f94"
|
|
585
|
+
dependencies = [
|
|
586
|
+
"proc-macro2",
|
|
587
|
+
"quote",
|
|
588
|
+
"syn 2.0.119",
|
|
589
|
+
]
|
|
590
|
+
|
|
591
|
+
[[package]]
|
|
592
|
+
name = "zmij"
|
|
593
|
+
version = "1.0.23"
|
|
594
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
595
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
sortes-0.1.0/Cargo.toml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "sortes"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
description = "Question banks in Typst, sampled into exams with balanced versions."
|
|
6
|
+
license = "MIT"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
repository = "https://github.com/wiseodd/sortes"
|
|
9
|
+
homepage = "https://sortes.kristia.de"
|
|
10
|
+
# Released on PyPI only (uv tool install sortes), never on crates.io.
|
|
11
|
+
publish = false
|
|
12
|
+
include = ["/src/**", "/typst/**", "/templates/**", "/README.md", "/LICENSE"]
|
|
13
|
+
|
|
14
|
+
[dependencies]
|
|
15
|
+
anyhow = "1"
|
|
16
|
+
clap = { version = "4", features = ["derive"] }
|
|
17
|
+
dirs = "5"
|
|
18
|
+
jiff = "1"
|
|
19
|
+
rand = "0.8"
|
|
20
|
+
rand_chacha = "0.3"
|
|
21
|
+
serde = { version = "1", features = ["derive"] }
|
|
22
|
+
serde_json = { version = "1", features = ["preserve_order"] }
|
|
23
|
+
|
|
24
|
+
[profile.release]
|
|
25
|
+
lto = true
|
|
26
|
+
strip = true
|
sortes-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Agustinus Kristiadi
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|