nagori-fsrs 0.1.0.dev.20260702.ffff69c
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 +7 -0
- data/Cargo.lock +604 -0
- data/Cargo.toml +6 -0
- data/LICENSE +33 -0
- data/README.md +169 -0
- data/ext/nagori/Cargo.toml +14 -0
- data/ext/nagori/extconf.rb +4 -0
- data/ext/nagori/src/convert.rs +265 -0
- data/ext/nagori/src/errors.rs +12 -0
- data/ext/nagori/src/fsrs_wrap.rs +146 -0
- data/ext/nagori/src/lib.rs +60 -0
- data/ext/nagori/src/nogvl.rs +54 -0
- data/ext/nagori/src/simulator.rs +124 -0
- data/lib/nagori/version.rb +3 -0
- data/lib/nagori-fsrs.rb +2 -0
- data/lib/nagori.rb +233 -0
- metadata +131 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4c63382e576c63efee55e247378c125e5747fc3049706dba04c742ce61103a21
|
|
4
|
+
data.tar.gz: 1ec46c670dd089fd32ba7ff736c76b573850af77f472295db51f9500a8699960
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d6265f1c912bc45296fd3b5d6932baa4d30a674c4bc1a16a4cbcd468c507e22c8739185c7d9c0069a4f1d8a045de6d3c9efa131b2fb4787409bc6f6b77b093cc
|
|
7
|
+
data.tar.gz: 22b2f5271fd8b582e862dc143d579eff83c755cbc0865d662d757da50cbc7b94ca0755cb7e4446897b9d655d1e566d052a8fcc85f908c8a41c152b27e65411da
|
data/Cargo.lock
ADDED
|
@@ -0,0 +1,604 @@
|
|
|
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.4"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "autocfg"
|
|
16
|
+
version = "1.5.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bindgen"
|
|
22
|
+
version = "0.72.1"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
25
|
+
dependencies = [
|
|
26
|
+
"bitflags",
|
|
27
|
+
"cexpr",
|
|
28
|
+
"clang-sys",
|
|
29
|
+
"itertools 0.13.0",
|
|
30
|
+
"proc-macro2",
|
|
31
|
+
"quote",
|
|
32
|
+
"regex",
|
|
33
|
+
"rustc-hash",
|
|
34
|
+
"shlex",
|
|
35
|
+
"syn",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "bitflags"
|
|
40
|
+
version = "2.13.0"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "cexpr"
|
|
46
|
+
version = "0.6.0"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"nom",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[package]]
|
|
54
|
+
name = "cfg-if"
|
|
55
|
+
version = "1.0.4"
|
|
56
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
57
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
58
|
+
|
|
59
|
+
[[package]]
|
|
60
|
+
name = "chacha20"
|
|
61
|
+
version = "0.10.1"
|
|
62
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
+
checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
|
|
64
|
+
dependencies = [
|
|
65
|
+
"cfg-if",
|
|
66
|
+
"cpufeatures",
|
|
67
|
+
"rand_core",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "clang-sys"
|
|
72
|
+
version = "1.8.1"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
|
75
|
+
dependencies = [
|
|
76
|
+
"glob",
|
|
77
|
+
"libc",
|
|
78
|
+
"libloading",
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
[[package]]
|
|
82
|
+
name = "cpufeatures"
|
|
83
|
+
version = "0.3.0"
|
|
84
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
85
|
+
checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
|
|
86
|
+
dependencies = [
|
|
87
|
+
"libc",
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "crossbeam-deque"
|
|
92
|
+
version = "0.8.6"
|
|
93
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
94
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
95
|
+
dependencies = [
|
|
96
|
+
"crossbeam-epoch",
|
|
97
|
+
"crossbeam-utils",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "crossbeam-epoch"
|
|
102
|
+
version = "0.9.18"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"crossbeam-utils",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[[package]]
|
|
110
|
+
name = "crossbeam-utils"
|
|
111
|
+
version = "0.8.21"
|
|
112
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
113
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
114
|
+
|
|
115
|
+
[[package]]
|
|
116
|
+
name = "either"
|
|
117
|
+
version = "1.16.0"
|
|
118
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
119
|
+
checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "equivalent"
|
|
123
|
+
version = "1.0.2"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "fsrs"
|
|
129
|
+
version = "6.6.1"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "b8a99ea3dec9af37c9ed3835463ff6820a578a0026a8e370b4c1c0db48dfab3f"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"itertools 0.14.0",
|
|
134
|
+
"log",
|
|
135
|
+
"ndarray",
|
|
136
|
+
"priority-queue",
|
|
137
|
+
"rand",
|
|
138
|
+
"rayon",
|
|
139
|
+
"serde",
|
|
140
|
+
"snafu",
|
|
141
|
+
"strum",
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "getrandom"
|
|
146
|
+
version = "0.4.3"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"cfg-if",
|
|
151
|
+
"libc",
|
|
152
|
+
"r-efi",
|
|
153
|
+
"rand_core",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "glob"
|
|
158
|
+
version = "0.3.3"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "hashbrown"
|
|
164
|
+
version = "0.17.1"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
167
|
+
|
|
168
|
+
[[package]]
|
|
169
|
+
name = "heck"
|
|
170
|
+
version = "0.5.0"
|
|
171
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
173
|
+
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "indexmap"
|
|
176
|
+
version = "2.14.0"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
|
|
179
|
+
dependencies = [
|
|
180
|
+
"equivalent",
|
|
181
|
+
"hashbrown",
|
|
182
|
+
]
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "itertools"
|
|
186
|
+
version = "0.13.0"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
189
|
+
dependencies = [
|
|
190
|
+
"either",
|
|
191
|
+
]
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "itertools"
|
|
195
|
+
version = "0.14.0"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
|
|
198
|
+
dependencies = [
|
|
199
|
+
"either",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "lazy_static"
|
|
204
|
+
version = "1.5.0"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "libc"
|
|
210
|
+
version = "0.2.186"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
213
|
+
|
|
214
|
+
[[package]]
|
|
215
|
+
name = "libloading"
|
|
216
|
+
version = "0.8.9"
|
|
217
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
219
|
+
dependencies = [
|
|
220
|
+
"cfg-if",
|
|
221
|
+
"windows-link",
|
|
222
|
+
]
|
|
223
|
+
|
|
224
|
+
[[package]]
|
|
225
|
+
name = "log"
|
|
226
|
+
version = "0.4.33"
|
|
227
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
+
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "magnus"
|
|
232
|
+
version = "0.8.2"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
|
|
235
|
+
dependencies = [
|
|
236
|
+
"magnus-macros",
|
|
237
|
+
"rb-sys",
|
|
238
|
+
"rb-sys-env",
|
|
239
|
+
"seq-macro",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "magnus-macros"
|
|
244
|
+
version = "0.8.0"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"proc-macro2",
|
|
249
|
+
"quote",
|
|
250
|
+
"syn",
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "matrixmultiply"
|
|
255
|
+
version = "0.3.10"
|
|
256
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
+
checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08"
|
|
258
|
+
dependencies = [
|
|
259
|
+
"autocfg",
|
|
260
|
+
"rawpointer",
|
|
261
|
+
]
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "memchr"
|
|
265
|
+
version = "2.8.2"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "minimal-lexical"
|
|
271
|
+
version = "0.2.1"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "nagori"
|
|
277
|
+
version = "0.1.0"
|
|
278
|
+
dependencies = [
|
|
279
|
+
"fsrs",
|
|
280
|
+
"magnus",
|
|
281
|
+
]
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "ndarray"
|
|
285
|
+
version = "0.17.2"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
|
|
288
|
+
dependencies = [
|
|
289
|
+
"matrixmultiply",
|
|
290
|
+
"num-complex",
|
|
291
|
+
"num-integer",
|
|
292
|
+
"num-traits",
|
|
293
|
+
"portable-atomic",
|
|
294
|
+
"portable-atomic-util",
|
|
295
|
+
"rawpointer",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "nom"
|
|
300
|
+
version = "7.1.3"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
303
|
+
dependencies = [
|
|
304
|
+
"memchr",
|
|
305
|
+
"minimal-lexical",
|
|
306
|
+
]
|
|
307
|
+
|
|
308
|
+
[[package]]
|
|
309
|
+
name = "num-complex"
|
|
310
|
+
version = "0.4.6"
|
|
311
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
+
checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
|
|
313
|
+
dependencies = [
|
|
314
|
+
"num-traits",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "num-integer"
|
|
319
|
+
version = "0.1.46"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"num-traits",
|
|
324
|
+
]
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "num-traits"
|
|
328
|
+
version = "0.2.19"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
331
|
+
dependencies = [
|
|
332
|
+
"autocfg",
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
[[package]]
|
|
336
|
+
name = "portable-atomic"
|
|
337
|
+
version = "1.13.1"
|
|
338
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
340
|
+
|
|
341
|
+
[[package]]
|
|
342
|
+
name = "portable-atomic-util"
|
|
343
|
+
version = "0.2.7"
|
|
344
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
345
|
+
checksum = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618"
|
|
346
|
+
dependencies = [
|
|
347
|
+
"portable-atomic",
|
|
348
|
+
]
|
|
349
|
+
|
|
350
|
+
[[package]]
|
|
351
|
+
name = "priority-queue"
|
|
352
|
+
version = "2.7.0"
|
|
353
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
354
|
+
checksum = "93980406f12d9f8140ed5abe7155acb10bb1e69ea55c88960b9c2f117445ef96"
|
|
355
|
+
dependencies = [
|
|
356
|
+
"equivalent",
|
|
357
|
+
"indexmap",
|
|
358
|
+
"serde",
|
|
359
|
+
]
|
|
360
|
+
|
|
361
|
+
[[package]]
|
|
362
|
+
name = "proc-macro2"
|
|
363
|
+
version = "1.0.106"
|
|
364
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
365
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
366
|
+
dependencies = [
|
|
367
|
+
"unicode-ident",
|
|
368
|
+
]
|
|
369
|
+
|
|
370
|
+
[[package]]
|
|
371
|
+
name = "quote"
|
|
372
|
+
version = "1.0.46"
|
|
373
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
374
|
+
checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
|
|
375
|
+
dependencies = [
|
|
376
|
+
"proc-macro2",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "r-efi"
|
|
381
|
+
version = "6.0.0"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "rand"
|
|
387
|
+
version = "0.10.2"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
|
|
390
|
+
dependencies = [
|
|
391
|
+
"chacha20",
|
|
392
|
+
"getrandom",
|
|
393
|
+
"rand_core",
|
|
394
|
+
]
|
|
395
|
+
|
|
396
|
+
[[package]]
|
|
397
|
+
name = "rand_core"
|
|
398
|
+
version = "0.10.1"
|
|
399
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
+
checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
|
|
401
|
+
|
|
402
|
+
[[package]]
|
|
403
|
+
name = "rawpointer"
|
|
404
|
+
version = "0.2.1"
|
|
405
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
406
|
+
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "rayon"
|
|
410
|
+
version = "1.12.0"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"either",
|
|
415
|
+
"rayon-core",
|
|
416
|
+
]
|
|
417
|
+
|
|
418
|
+
[[package]]
|
|
419
|
+
name = "rayon-core"
|
|
420
|
+
version = "1.13.0"
|
|
421
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
422
|
+
checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
|
|
423
|
+
dependencies = [
|
|
424
|
+
"crossbeam-deque",
|
|
425
|
+
"crossbeam-utils",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "rb-sys"
|
|
430
|
+
version = "0.9.128"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "45ca28513560e56cfb79a62b1fce363c73af170a182024ce880c77ee9429920a"
|
|
433
|
+
dependencies = [
|
|
434
|
+
"rb-sys-build",
|
|
435
|
+
]
|
|
436
|
+
|
|
437
|
+
[[package]]
|
|
438
|
+
name = "rb-sys-build"
|
|
439
|
+
version = "0.9.128"
|
|
440
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
+
checksum = "ce04b2c55eff3a21aaa623fcc655d94373238e72cac6b3e1a3641ff31649f99a"
|
|
442
|
+
dependencies = [
|
|
443
|
+
"bindgen",
|
|
444
|
+
"lazy_static",
|
|
445
|
+
"proc-macro2",
|
|
446
|
+
"quote",
|
|
447
|
+
"regex",
|
|
448
|
+
"shell-words",
|
|
449
|
+
"syn",
|
|
450
|
+
]
|
|
451
|
+
|
|
452
|
+
[[package]]
|
|
453
|
+
name = "rb-sys-env"
|
|
454
|
+
version = "0.2.3"
|
|
455
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
457
|
+
|
|
458
|
+
[[package]]
|
|
459
|
+
name = "regex"
|
|
460
|
+
version = "1.12.4"
|
|
461
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
462
|
+
checksum = "f1292b7759ae1cb9ec195452d1390a074f0cd8541ab7a5a8c31cd6db45d4a6ba"
|
|
463
|
+
dependencies = [
|
|
464
|
+
"aho-corasick",
|
|
465
|
+
"memchr",
|
|
466
|
+
"regex-automata",
|
|
467
|
+
"regex-syntax",
|
|
468
|
+
]
|
|
469
|
+
|
|
470
|
+
[[package]]
|
|
471
|
+
name = "regex-automata"
|
|
472
|
+
version = "0.4.14"
|
|
473
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
+
checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
|
|
475
|
+
dependencies = [
|
|
476
|
+
"aho-corasick",
|
|
477
|
+
"memchr",
|
|
478
|
+
"regex-syntax",
|
|
479
|
+
]
|
|
480
|
+
|
|
481
|
+
[[package]]
|
|
482
|
+
name = "regex-syntax"
|
|
483
|
+
version = "0.8.11"
|
|
484
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
485
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
486
|
+
|
|
487
|
+
[[package]]
|
|
488
|
+
name = "rustc-hash"
|
|
489
|
+
version = "2.1.2"
|
|
490
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
491
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
492
|
+
|
|
493
|
+
[[package]]
|
|
494
|
+
name = "seq-macro"
|
|
495
|
+
version = "0.3.6"
|
|
496
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
497
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
498
|
+
|
|
499
|
+
[[package]]
|
|
500
|
+
name = "serde"
|
|
501
|
+
version = "1.0.228"
|
|
502
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
503
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
504
|
+
dependencies = [
|
|
505
|
+
"serde_core",
|
|
506
|
+
"serde_derive",
|
|
507
|
+
]
|
|
508
|
+
|
|
509
|
+
[[package]]
|
|
510
|
+
name = "serde_core"
|
|
511
|
+
version = "1.0.228"
|
|
512
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
513
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
514
|
+
dependencies = [
|
|
515
|
+
"serde_derive",
|
|
516
|
+
]
|
|
517
|
+
|
|
518
|
+
[[package]]
|
|
519
|
+
name = "serde_derive"
|
|
520
|
+
version = "1.0.228"
|
|
521
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
523
|
+
dependencies = [
|
|
524
|
+
"proc-macro2",
|
|
525
|
+
"quote",
|
|
526
|
+
"syn",
|
|
527
|
+
]
|
|
528
|
+
|
|
529
|
+
[[package]]
|
|
530
|
+
name = "shell-words"
|
|
531
|
+
version = "1.1.1"
|
|
532
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
533
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
534
|
+
|
|
535
|
+
[[package]]
|
|
536
|
+
name = "shlex"
|
|
537
|
+
version = "1.3.0"
|
|
538
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
539
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
540
|
+
|
|
541
|
+
[[package]]
|
|
542
|
+
name = "snafu"
|
|
543
|
+
version = "0.9.1"
|
|
544
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
545
|
+
checksum = "d1a012328be2e3f5d5f6f3218147ca02588cea4cb865e876849ab6debcf36522"
|
|
546
|
+
dependencies = [
|
|
547
|
+
"snafu-derive",
|
|
548
|
+
]
|
|
549
|
+
|
|
550
|
+
[[package]]
|
|
551
|
+
name = "snafu-derive"
|
|
552
|
+
version = "0.9.1"
|
|
553
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
554
|
+
checksum = "5f103c50866b8743da9429b8a581d81a27c2d3a9c4ac7df8f8571c1dd7896eda"
|
|
555
|
+
dependencies = [
|
|
556
|
+
"heck",
|
|
557
|
+
"proc-macro2",
|
|
558
|
+
"quote",
|
|
559
|
+
"syn",
|
|
560
|
+
]
|
|
561
|
+
|
|
562
|
+
[[package]]
|
|
563
|
+
name = "strum"
|
|
564
|
+
version = "0.28.0"
|
|
565
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
566
|
+
checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
|
|
567
|
+
dependencies = [
|
|
568
|
+
"strum_macros",
|
|
569
|
+
]
|
|
570
|
+
|
|
571
|
+
[[package]]
|
|
572
|
+
name = "strum_macros"
|
|
573
|
+
version = "0.28.0"
|
|
574
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
575
|
+
checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
|
|
576
|
+
dependencies = [
|
|
577
|
+
"heck",
|
|
578
|
+
"proc-macro2",
|
|
579
|
+
"quote",
|
|
580
|
+
"syn",
|
|
581
|
+
]
|
|
582
|
+
|
|
583
|
+
[[package]]
|
|
584
|
+
name = "syn"
|
|
585
|
+
version = "2.0.118"
|
|
586
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
587
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
588
|
+
dependencies = [
|
|
589
|
+
"proc-macro2",
|
|
590
|
+
"quote",
|
|
591
|
+
"unicode-ident",
|
|
592
|
+
]
|
|
593
|
+
|
|
594
|
+
[[package]]
|
|
595
|
+
name = "unicode-ident"
|
|
596
|
+
version = "1.0.24"
|
|
597
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
599
|
+
|
|
600
|
+
[[package]]
|
|
601
|
+
name = "windows-link"
|
|
602
|
+
version = "0.2.1"
|
|
603
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
data/Cargo.toml
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, David Afonso (Nagori Ruby bindings)
|
|
4
|
+
Copyright (c) 2023, Open Spaced Repetition (fsrs-rs, the wrapped `fsrs` crate)
|
|
5
|
+
|
|
6
|
+
Nagori is a Ruby binding for fsrs-rs (https://github.com/open-spaced-repetition/fsrs-rs),
|
|
7
|
+
which is distributed under the BSD 3-Clause License. This gem redistributes and
|
|
8
|
+
links against that crate; its copyright notice is retained above as required.
|
|
9
|
+
|
|
10
|
+
Redistribution and use in source and binary forms, with or without
|
|
11
|
+
modification, are permitted provided that the following conditions are met:
|
|
12
|
+
|
|
13
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
14
|
+
list of conditions and the following disclaimer.
|
|
15
|
+
|
|
16
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
17
|
+
this list of conditions and the following disclaimer in the documentation
|
|
18
|
+
and/or other materials provided with the distribution.
|
|
19
|
+
|
|
20
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
21
|
+
contributors may be used to endorse or promote products derived from
|
|
22
|
+
this software without specific prior written permission.
|
|
23
|
+
|
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
25
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
26
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
27
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
28
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
29
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
30
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
31
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
32
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
33
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|