wheel_machines 0.7.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6bc1f55ffd96da1a45c3456879d246959820c7bf3c03f77909631b5fc9dd85b6
4
+ data.tar.gz: fa92fffef4eec92f8a6572313f90d2a66bedd094b47b6d678fd9ef0cf8da1315
5
+ SHA512:
6
+ metadata.gz: 47e8de039d01c14d318202ccc581e75de9cbc9e17fa2d6e7fd78218650496e1a086dadf9bc269e9cb8ead236ffd1fd949b1e801f0427281736dc5419817bc4c9
7
+ data.tar.gz: 3ce8244c8e4f20f3b3f3697614af0aace1a578a347e9b6034accad5f85655a3c375afd5817657f18680206ddc8ae739e3cce95f81761973d35ea917b1ba97e61
data/CHANGELOG.md ADDED
@@ -0,0 +1,95 @@
1
+ # Changelog
2
+
3
+ ## [0.7.1](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.7.0...wheel_machines/v0.7.1) (2026-11-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix wrapped classes at load so building a value runs no Ruby ([0920968](https://github.com/seuros/wheel_machines/commit/092096836b5c2a4cd90dff3629cbd6b64a068ae4))
9
+
10
+ ## [0.7.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.6.0...wheel_machines/v0.7.0) (2026-11-16)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * seal Wheel and Handle against subclassing
16
+
17
+ ### Features
18
+
19
+ * seal Wheel and Handle against subclassing ([3454640](https://github.com/seuros/wheel_machines/commit/3454640fb4173f6e67233f6bcf9f9674a40f5604))
20
+
21
+ ## [0.6.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.5.1...wheel_machines/v0.6.0) (2026-11-14)
22
+
23
+
24
+ ### ⚠ BREAKING CHANGES
25
+
26
+ * wheel handle refusals name the class received
27
+
28
+ ### Features
29
+
30
+ * wheel handle refusals name the class received ([f1edc66](https://github.com/seuros/wheel_machines/commit/f1edc6638ccb62c90dbb44cc1a6d37208ccb122d))
31
+
32
+ ## [0.5.1](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.5.0...wheel_machines/v0.5.1) (2026-11-14)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * **deps:** require matryona-machines >= 0.3 with a names_only refusal table ([5a85b47](https://github.com/seuros/wheel_machines/commit/5a85b472af8714f8d6a08ff08295032c5fd85c56))
38
+
39
+ ## [0.5.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.4.0...wheel_machines/v0.5.0) (2026-11-14)
40
+
41
+
42
+ ### ⚠ BREAKING CHANGES
43
+
44
+ * adopt matryona-machines 0.2: Status symbols! table, exact-class Handle, exact Due fields, keep test support out of the crate
45
+
46
+ ### Features
47
+
48
+ * adopt matryona-machines 0.2: Status symbols! table, exact-class Handle, exact Due fields, keep test support out of the crate ([a7c8651](https://github.com/seuros/wheel_machines/commit/a7c8651e40b8573af6853ef2a4bef45c8027eeb2))
49
+
50
+ ## [0.4.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.3.0...wheel_machines/v0.4.0) (2026-11-14)
51
+
52
+
53
+ ### ⚠ BREAKING CHANGES
54
+
55
+ * seal values, check exact classes natively, drain and tick never lose an entry
56
+
57
+ ### Features
58
+
59
+ * seal values, check exact classes natively, drain and tick never lose an entry ([92a1f59](https://github.com/seuros/wheel_machines/commit/92a1f593f23777cd0db0a24e6000aa06c0a66141))
60
+
61
+ ## [0.3.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.2.0...wheel_machines/v0.3.0) (2026-11-13)
62
+
63
+
64
+ ### ⚠ BREAKING CHANGES
65
+
66
+ * handles are issued through periscope-machines. Every instance can be built with a scope; a handle from another scope is refused before any lookup; all handle kinds of an instance share one sequence; resumed restores the sequence after a restart. A handle from another wheel answers Stale. with_scope_starting_at is gone.
67
+
68
+ ### Features
69
+
70
+ * scope handles through periscope-machines, add Wheel::resumed and issued, starting_at takes the scope ([3d4b484](https://github.com/seuros/wheel_machines/commit/3d4b48460f280fc78ef504384942f38527992282))
71
+
72
+ ## [0.2.0](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.1.2...wheel_machines/v0.2.0) (2026-11-13)
73
+
74
+
75
+ ### ⚠ BREAKING CHANGES
76
+
77
+ * see CONVENTIONS: one exhaustive Refusal per crate, Result from every mutator, honoured idempotent repeats, Ruby mirrors the core. No compatibility aliases. cancel returns Result<I, Refusal>; the Ruby Timer class is Handle.
78
+
79
+ ### Features
80
+
81
+ * fold Regressed into Refusal, refuse stale cancels, Ruby Handle ([4fa0048](https://github.com/seuros/wheel_machines/commit/4fa00481e46931a9563d0ac024adeb4e5dd954a8))
82
+
83
+ ## [0.1.2](https://github.com/seuros/wheel_machines/compare/wheel_machines/v0.1.1...wheel_machines/v0.1.2) (2026-11-13)
84
+
85
+
86
+ ### Features
87
+
88
+ * implement Default for Due so drain buffers need no dummy id ([1dcc6aa](https://github.com/seuros/wheel_machines/commit/1dcc6aae2e0ac403e302ca0fac688d32497eac7f))
89
+
90
+ ## [0.1.1](https://github.com/seuros/wheel_machines/compare/wheel_machines-v0.1.0...wheel_machines/v0.1.1) (2026-11-12)
91
+
92
+
93
+ ### Features
94
+
95
+ * initial extraction ([5f1d698](https://github.com/seuros/wheel_machines/commit/5f1d698edae4429ef7e51ca07461b26197e77eb1))
data/Cargo.lock ADDED
@@ -0,0 +1,314 @@
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 = "bindgen"
16
+ version = "0.72.1"
17
+ source = "registry+https://github.com/rust-lang/crates.io-index"
18
+ checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
19
+ dependencies = [
20
+ "bitflags",
21
+ "cexpr",
22
+ "clang-sys",
23
+ "itertools",
24
+ "proc-macro2",
25
+ "quote",
26
+ "regex",
27
+ "rustc-hash",
28
+ "shlex",
29
+ "syn",
30
+ ]
31
+
32
+ [[package]]
33
+ name = "bitflags"
34
+ version = "2.13.2"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
37
+
38
+ [[package]]
39
+ name = "bytes"
40
+ version = "1.12.1"
41
+ source = "registry+https://github.com/rust-lang/crates.io-index"
42
+ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
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.5"
56
+ source = "registry+https://github.com/rust-lang/crates.io-index"
57
+ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
58
+
59
+ [[package]]
60
+ name = "clang-sys"
61
+ version = "1.9.1"
62
+ source = "registry+https://github.com/rust-lang/crates.io-index"
63
+ checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
64
+ dependencies = [
65
+ "glob",
66
+ "libc",
67
+ "libloading",
68
+ ]
69
+
70
+ [[package]]
71
+ name = "either"
72
+ version = "1.19.0"
73
+ source = "registry+https://github.com/rust-lang/crates.io-index"
74
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
75
+
76
+ [[package]]
77
+ name = "glob"
78
+ version = "0.3.4"
79
+ source = "registry+https://github.com/rust-lang/crates.io-index"
80
+ checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
81
+
82
+ [[package]]
83
+ name = "itertools"
84
+ version = "0.13.0"
85
+ source = "registry+https://github.com/rust-lang/crates.io-index"
86
+ checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
87
+ dependencies = [
88
+ "either",
89
+ ]
90
+
91
+ [[package]]
92
+ name = "lazy_static"
93
+ version = "1.5.1"
94
+ source = "registry+https://github.com/rust-lang/crates.io-index"
95
+ checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
96
+
97
+ [[package]]
98
+ name = "libc"
99
+ version = "0.2.191"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
102
+
103
+ [[package]]
104
+ name = "libloading"
105
+ version = "0.8.9"
106
+ source = "registry+https://github.com/rust-lang/crates.io-index"
107
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
108
+ dependencies = [
109
+ "cfg-if",
110
+ "windows-link",
111
+ ]
112
+
113
+ [[package]]
114
+ name = "magnus"
115
+ version = "0.9.3"
116
+ source = "registry+https://github.com/rust-lang/crates.io-index"
117
+ checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
118
+ dependencies = [
119
+ "bytes",
120
+ "magnus-macros",
121
+ "rb-sys",
122
+ "rb-sys-env",
123
+ "seq-macro",
124
+ ]
125
+
126
+ [[package]]
127
+ name = "magnus-macros"
128
+ version = "0.9.1"
129
+ source = "registry+https://github.com/rust-lang/crates.io-index"
130
+ checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
131
+ dependencies = [
132
+ "proc-macro2",
133
+ "quote",
134
+ "syn",
135
+ ]
136
+
137
+ [[package]]
138
+ name = "matryona-machines"
139
+ version = "0.6.0"
140
+ source = "registry+https://github.com/rust-lang/crates.io-index"
141
+ checksum = "cf8a06ab02efd767270815a1f515a40bbf3bfc77038e9360676ebe8d47833b07"
142
+ dependencies = [
143
+ "magnus",
144
+ ]
145
+
146
+ [[package]]
147
+ name = "memchr"
148
+ version = "2.8.3"
149
+ source = "registry+https://github.com/rust-lang/crates.io-index"
150
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
151
+
152
+ [[package]]
153
+ name = "minimal-lexical"
154
+ version = "0.2.1"
155
+ source = "registry+https://github.com/rust-lang/crates.io-index"
156
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
157
+
158
+ [[package]]
159
+ name = "nom"
160
+ version = "7.1.3"
161
+ source = "registry+https://github.com/rust-lang/crates.io-index"
162
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
163
+ dependencies = [
164
+ "memchr",
165
+ "minimal-lexical",
166
+ ]
167
+
168
+ [[package]]
169
+ name = "periscope-machines"
170
+ version = "0.5.0"
171
+ source = "registry+https://github.com/rust-lang/crates.io-index"
172
+ checksum = "1602a0bb66b4ba9529244868a2344cc39282c62c8ae4df357244adf49347bf51"
173
+
174
+ [[package]]
175
+ name = "proc-macro2"
176
+ version = "1.0.107"
177
+ source = "registry+https://github.com/rust-lang/crates.io-index"
178
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
179
+ dependencies = [
180
+ "unicode-ident",
181
+ ]
182
+
183
+ [[package]]
184
+ name = "quote"
185
+ version = "1.0.47"
186
+ source = "registry+https://github.com/rust-lang/crates.io-index"
187
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
188
+ dependencies = [
189
+ "proc-macro2",
190
+ ]
191
+
192
+ [[package]]
193
+ name = "rb-sys"
194
+ version = "0.9.130"
195
+ source = "registry+https://github.com/rust-lang/crates.io-index"
196
+ checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
197
+ dependencies = [
198
+ "rb-sys-build",
199
+ ]
200
+
201
+ [[package]]
202
+ name = "rb-sys-build"
203
+ version = "0.9.130"
204
+ source = "registry+https://github.com/rust-lang/crates.io-index"
205
+ checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
206
+ dependencies = [
207
+ "bindgen",
208
+ "lazy_static",
209
+ "proc-macro2",
210
+ "quote",
211
+ "regex",
212
+ "shell-words",
213
+ "syn",
214
+ ]
215
+
216
+ [[package]]
217
+ name = "rb-sys-env"
218
+ version = "0.2.3"
219
+ source = "registry+https://github.com/rust-lang/crates.io-index"
220
+ checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
221
+
222
+ [[package]]
223
+ name = "regex"
224
+ version = "1.13.1"
225
+ source = "registry+https://github.com/rust-lang/crates.io-index"
226
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
227
+ dependencies = [
228
+ "aho-corasick",
229
+ "memchr",
230
+ "regex-automata",
231
+ "regex-syntax",
232
+ ]
233
+
234
+ [[package]]
235
+ name = "regex-automata"
236
+ version = "0.4.18"
237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
238
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
239
+ dependencies = [
240
+ "aho-corasick",
241
+ "memchr",
242
+ "regex-syntax",
243
+ ]
244
+
245
+ [[package]]
246
+ name = "regex-syntax"
247
+ version = "0.8.11"
248
+ source = "registry+https://github.com/rust-lang/crates.io-index"
249
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
250
+
251
+ [[package]]
252
+ name = "rustc-hash"
253
+ version = "2.1.3"
254
+ source = "registry+https://github.com/rust-lang/crates.io-index"
255
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
256
+
257
+ [[package]]
258
+ name = "seq-macro"
259
+ version = "0.3.6"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
262
+
263
+ [[package]]
264
+ name = "shell-words"
265
+ version = "1.1.1"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
268
+
269
+ [[package]]
270
+ name = "shlex"
271
+ version = "1.3.0"
272
+ source = "registry+https://github.com/rust-lang/crates.io-index"
273
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
274
+
275
+ [[package]]
276
+ name = "syn"
277
+ version = "2.0.119"
278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
279
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
280
+ dependencies = [
281
+ "proc-macro2",
282
+ "quote",
283
+ "unicode-ident",
284
+ ]
285
+
286
+ [[package]]
287
+ name = "unicode-ident"
288
+ version = "1.0.27"
289
+ source = "registry+https://github.com/rust-lang/crates.io-index"
290
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
291
+
292
+ [[package]]
293
+ name = "wheel-machines"
294
+ version = "0.8.0"
295
+ dependencies = [
296
+ "matryona-machines",
297
+ "periscope-machines",
298
+ ]
299
+
300
+ [[package]]
301
+ name = "wheel_machines_native"
302
+ version = "0.1.7"
303
+ dependencies = [
304
+ "magnus",
305
+ "matryona-machines",
306
+ "rb-sys",
307
+ "wheel-machines",
308
+ ]
309
+
310
+ [[package]]
311
+ name = "windows-link"
312
+ version = "0.2.1"
313
+ source = "registry+https://github.com/rust-lang/crates.io-index"
314
+ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
data/Cargo.toml ADDED
@@ -0,0 +1,28 @@
1
+ [workspace]
2
+ members = ["ext/wheel_machines_native/core", "ext/wheel_machines_native/ffi"]
3
+ default-members = ["ext/wheel_machines_native/core"]
4
+ resolver = "3"
5
+
6
+ [workspace.package]
7
+ edition = "2024"
8
+ rust-version = "1.99"
9
+ license = "MIT"
10
+
11
+ [workspace.dependencies]
12
+ wheel-machines = { path = "ext/wheel_machines_native/core" }
13
+ periscope-machines = ">=0.5"
14
+ matryona-machines = { version = ">=0.6", default-features = false }
15
+ magnus = { version = "0.9.3", default-features = false }
16
+ rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
17
+
18
+ [workspace.lints.rust]
19
+ unsafe_code = "deny"
20
+ unused_must_use = "warn"
21
+ missing_docs = "warn"
22
+
23
+ [workspace.lints.clippy]
24
+ all = { level = "warn", priority = -1 }
25
+ pedantic = { level = "warn", priority = -1 }
26
+ nursery = { level = "warn", priority = -1 }
27
+ unwrap_used = "deny"
28
+ expect_used = "deny"
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Abdelkader Boudih
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.