join_machines 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 0724c1358d72f66fef888760632593ef62b373a0d95fe9292b4fd5e08600f27c
4
+ data.tar.gz: 49990367ad79c63273cd367fea6bedf2e47052c6284f9d33cf53d8105d8a0134
5
+ SHA512:
6
+ metadata.gz: 0abe0c208ba6c19c3137209123148673d8d745237d036080c3ba349566644d230b726f5490be5609fa767eebb79c4b0aee8a8713bc7f85a0e1894b5551b0e147
7
+ data.tar.gz: a07f94fdc8d514e227c5eba4e19361c7ed3b05dcb72ce026126785148ee12589b300faf6df1380559e71f9bc5e5fe85ceda5d891b623e7de2783965de58222fa
data/CHANGELOG.md ADDED
@@ -0,0 +1,91 @@
1
+ # Changelog
2
+
3
+ ## [0.6.2](https://github.com/seuros/join_machines/compare/join_machines/v0.6.1...join_machines/v0.6.2) (2026-11-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fix wrapped classes at load so building a value runs no Ruby ([7df0f34](https://github.com/seuros/join_machines/commit/7df0f34bb6f9ee574054bef9b858c6c51db27152))
9
+
10
+ ## [0.6.1](https://github.com/seuros/join_machines/compare/join_machines/v0.6.0...join_machines/v0.6.1) (2026-11-16)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * validate values from their stored members, not deconstruct ([7af4e49](https://github.com/seuros/join_machines/commit/7af4e498acb6f9e48b3b323bf0fb0ccc57331ab3))
16
+
17
+ ## [0.6.0](https://github.com/seuros/join_machines/compare/join_machines/v0.5.1...join_machines/v0.6.0) (2026-11-14)
18
+
19
+
20
+ ### ⚠ BREAKING CHANGES
21
+
22
+ * read sibling watermarks through matryona own_or_sibling, one refusal message
23
+
24
+ ### Features
25
+
26
+ * read sibling watermarks through matryona own_or_sibling, one refusal message ([6634897](https://github.com/seuros/join_machines/commit/6634897f7e7684feb52c3cf0ddb7c805467f4991))
27
+
28
+ ## [0.5.1](https://github.com/seuros/join_machines/compare/join_machines/v0.5.0...join_machines/v0.5.1) (2026-11-14)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **deps:** require matryona-machines >= 0.3 with symbols! tables for refusals, advancing, inserting ([a287139](https://github.com/seuros/join_machines/commit/a287139080c0b42d4ea0435f9cecaf5213924b85))
34
+
35
+ ## [0.5.0](https://github.com/seuros/join_machines/compare/join_machines/v0.4.0...join_machines/v0.5.0) (2026-11-14)
36
+
37
+
38
+ ### ⚠ BREAKING CHANGES
39
+
40
+ * adopt matryona-machines 0.2 (exact_fields, symbols!, frozen-first)
41
+
42
+ ### Features
43
+
44
+ * adopt matryona-machines 0.2 (exact_fields, symbols!, frozen-first) ([84d94d2](https://github.com/seuros/join_machines/commit/84d94d2fc841d1dcbc3d0cdd8da938dcd3547298))
45
+
46
+ ## [0.4.0](https://github.com/seuros/join_machines/compare/join_machines/v0.3.0...join_machines/v0.4.0) (2026-11-14)
47
+
48
+
49
+ ### ⚠ BREAKING CHANGES
50
+
51
+ * seal values, native Bounds#reach, exact-class reads, re-check frozen before keeping
52
+
53
+ ### Features
54
+
55
+ * seal values, native Bounds#reach, exact-class reads, re-check frozen before keeping ([3432d10](https://github.com/seuros/join_machines/commit/3432d1010e389333e15a2adf9dd702f0f7adf64d))
56
+
57
+ ## [0.3.0](https://github.com/seuros/join_machines/compare/join_machines/v0.2.0...join_machines/v0.3.0) (2026-11-13)
58
+
59
+
60
+ ### ⚠ BREAKING CHANGES
61
+
62
+ * converted to the fleet conventions. One exhaustive Refusal per crate, Result from every operation that can refuse, a refusal changes nothing, provable idempotent repeats are honoured, Ruby mirrors the core. No compatibility aliases. Requires window-machines >= 0.3 and re-exports its Advancing. Refusal::Duplicate is gone; a retired record is Late on replay.
63
+
64
+ ### Features
65
+
66
+ * honour identical re-inserts as Duplicate, refuse changed ones as Mismatch, retire only when both watermarks have passed ([e06e9fe](https://github.com/seuros/join_machines/commit/e06e9fe31e3e93b80dd1fa99bfb5bc60839b2bd2))
67
+
68
+ ## [0.2.0](https://github.com/seuros/join_machines/compare/join_machines/v0.1.2...join_machines/v0.2.0) (2026-11-13)
69
+
70
+
71
+ ### ⚠ BREAKING CHANGES
72
+
73
+ * see CONVENTIONS: one exhaustive Refusal per crate, Result from every mutator, honoured idempotent repeats, Ruby mirrors the core. No compatibility aliases. advance_watermark and advance_watermark_from return Result<Advancing, Refusal>.
74
+
75
+ ### Features
76
+
77
+ * watermark advances answer Advancing or WatermarkRegressed, Ruby takes Bounds and Record ([eb4f557](https://github.com/seuros/join_machines/commit/eb4f557d1449c4791204000ca818b4a7d8bdec55))
78
+
79
+ ## [0.1.2](https://github.com/seuros/join_machines/compare/join_machines/v0.1.1...join_machines/v0.1.2) (2026-11-13)
80
+
81
+
82
+ ### Features
83
+
84
+ * expose the window-machines Watermark seam and default output elements ([51df744](https://github.com/seuros/join_machines/commit/51df744004344e4679adf8ccfe308ad68337eca8))
85
+
86
+ ## [0.1.1](https://github.com/seuros/join_machines/compare/join_machines-v0.1.0...join_machines/v0.1.1) (2026-11-12)
87
+
88
+
89
+ ### Features
90
+
91
+ * initial extraction ([a045343](https://github.com/seuros/join_machines/commit/a04534332b17bd40113de9bdcb41c6a24c6eefa6))
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 = "join-machines"
93
+ version = "0.7.1"
94
+ dependencies = [
95
+ "matryona-machines",
96
+ "window-machines",
97
+ ]
98
+
99
+ [[package]]
100
+ name = "join_machines_native"
101
+ version = "0.1.7"
102
+ dependencies = [
103
+ "join-machines",
104
+ "magnus",
105
+ "matryona-machines",
106
+ "rb-sys",
107
+ ]
108
+
109
+ [[package]]
110
+ name = "lazy_static"
111
+ version = "1.5.1"
112
+ source = "registry+https://github.com/rust-lang/crates.io-index"
113
+ checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
114
+
115
+ [[package]]
116
+ name = "libc"
117
+ version = "0.2.191"
118
+ source = "registry+https://github.com/rust-lang/crates.io-index"
119
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
120
+
121
+ [[package]]
122
+ name = "libloading"
123
+ version = "0.8.9"
124
+ source = "registry+https://github.com/rust-lang/crates.io-index"
125
+ checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
126
+ dependencies = [
127
+ "cfg-if",
128
+ "windows-link",
129
+ ]
130
+
131
+ [[package]]
132
+ name = "magnus"
133
+ version = "0.9.3"
134
+ source = "registry+https://github.com/rust-lang/crates.io-index"
135
+ checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
136
+ dependencies = [
137
+ "bytes",
138
+ "magnus-macros",
139
+ "rb-sys",
140
+ "rb-sys-env",
141
+ "seq-macro",
142
+ ]
143
+
144
+ [[package]]
145
+ name = "magnus-macros"
146
+ version = "0.9.1"
147
+ source = "registry+https://github.com/rust-lang/crates.io-index"
148
+ checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
149
+ dependencies = [
150
+ "proc-macro2",
151
+ "quote",
152
+ "syn",
153
+ ]
154
+
155
+ [[package]]
156
+ name = "matryona-machines"
157
+ version = "0.6.0"
158
+ source = "registry+https://github.com/rust-lang/crates.io-index"
159
+ checksum = "cf8a06ab02efd767270815a1f515a40bbf3bfc77038e9360676ebe8d47833b07"
160
+ dependencies = [
161
+ "magnus",
162
+ ]
163
+
164
+ [[package]]
165
+ name = "memchr"
166
+ version = "2.8.3"
167
+ source = "registry+https://github.com/rust-lang/crates.io-index"
168
+ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
169
+
170
+ [[package]]
171
+ name = "minimal-lexical"
172
+ version = "0.2.1"
173
+ source = "registry+https://github.com/rust-lang/crates.io-index"
174
+ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
175
+
176
+ [[package]]
177
+ name = "nom"
178
+ version = "7.1.3"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
181
+ dependencies = [
182
+ "memchr",
183
+ "minimal-lexical",
184
+ ]
185
+
186
+ [[package]]
187
+ name = "proc-macro2"
188
+ version = "1.0.107"
189
+ source = "registry+https://github.com/rust-lang/crates.io-index"
190
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
191
+ dependencies = [
192
+ "unicode-ident",
193
+ ]
194
+
195
+ [[package]]
196
+ name = "quote"
197
+ version = "1.0.47"
198
+ source = "registry+https://github.com/rust-lang/crates.io-index"
199
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
200
+ dependencies = [
201
+ "proc-macro2",
202
+ ]
203
+
204
+ [[package]]
205
+ name = "rb-sys"
206
+ version = "0.9.130"
207
+ source = "registry+https://github.com/rust-lang/crates.io-index"
208
+ checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
209
+ dependencies = [
210
+ "rb-sys-build",
211
+ ]
212
+
213
+ [[package]]
214
+ name = "rb-sys-build"
215
+ version = "0.9.130"
216
+ source = "registry+https://github.com/rust-lang/crates.io-index"
217
+ checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
218
+ dependencies = [
219
+ "bindgen",
220
+ "lazy_static",
221
+ "proc-macro2",
222
+ "quote",
223
+ "regex",
224
+ "shell-words",
225
+ "syn",
226
+ ]
227
+
228
+ [[package]]
229
+ name = "rb-sys-env"
230
+ version = "0.2.3"
231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
232
+ checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
233
+
234
+ [[package]]
235
+ name = "regex"
236
+ version = "1.13.1"
237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
238
+ checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
239
+ dependencies = [
240
+ "aho-corasick",
241
+ "memchr",
242
+ "regex-automata",
243
+ "regex-syntax",
244
+ ]
245
+
246
+ [[package]]
247
+ name = "regex-automata"
248
+ version = "0.4.18"
249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
250
+ checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
251
+ dependencies = [
252
+ "aho-corasick",
253
+ "memchr",
254
+ "regex-syntax",
255
+ ]
256
+
257
+ [[package]]
258
+ name = "regex-syntax"
259
+ version = "0.8.11"
260
+ source = "registry+https://github.com/rust-lang/crates.io-index"
261
+ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
262
+
263
+ [[package]]
264
+ name = "rustc-hash"
265
+ version = "2.1.3"
266
+ source = "registry+https://github.com/rust-lang/crates.io-index"
267
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
268
+
269
+ [[package]]
270
+ name = "seq-macro"
271
+ version = "0.3.6"
272
+ source = "registry+https://github.com/rust-lang/crates.io-index"
273
+ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
274
+
275
+ [[package]]
276
+ name = "shell-words"
277
+ version = "1.1.1"
278
+ source = "registry+https://github.com/rust-lang/crates.io-index"
279
+ checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
280
+
281
+ [[package]]
282
+ name = "shlex"
283
+ version = "1.3.0"
284
+ source = "registry+https://github.com/rust-lang/crates.io-index"
285
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
286
+
287
+ [[package]]
288
+ name = "syn"
289
+ version = "2.0.119"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
292
+ dependencies = [
293
+ "proc-macro2",
294
+ "quote",
295
+ "unicode-ident",
296
+ ]
297
+
298
+ [[package]]
299
+ name = "unicode-ident"
300
+ version = "1.0.27"
301
+ source = "registry+https://github.com/rust-lang/crates.io-index"
302
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
303
+
304
+ [[package]]
305
+ name = "window-machines"
306
+ version = "0.5.1"
307
+ source = "registry+https://github.com/rust-lang/crates.io-index"
308
+ checksum = "f48c364f7049c9a0a40e3c9acf7a46042c1443f3222aad8f8e7854e694820ad0"
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,24 @@
1
+ [workspace]
2
+ members = ["ext/join_machines_native/core", "ext/join_machines_native/ffi"]
3
+ default-members = ["ext/join_machines_native/core"]
4
+ resolver = "3"
5
+ [workspace.package]
6
+ edition = "2024"
7
+ rust-version = "1.99"
8
+ license = "MIT"
9
+ [workspace.dependencies]
10
+ join-machines = { path = "ext/join_machines_native/core" }
11
+ matryona-machines = { version = ">=0.6", default-features = false }
12
+ magnus = { version = "0.9.3", default-features = false }
13
+ rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
14
+ window-machines = ">=0.5.1"
15
+ [workspace.lints.rust]
16
+ unsafe_code = "deny"
17
+ unused_must_use = "warn"
18
+ missing_docs = "warn"
19
+ [workspace.lints.clippy]
20
+ all = { level = "warn", priority = -1 }
21
+ pedantic = { level = "warn", priority = -1 }
22
+ nursery = { level = "warn", priority = -1 }
23
+ unwrap_used = "deny"
24
+ 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.