handoff_machines 0.8.3
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/CHANGELOG.md +113 -0
- data/Cargo.lock +331 -0
- data/Cargo.toml +30 -0
- data/LICENSE.txt +21 -0
- data/README.md +383 -0
- data/ext/handoff_machines_native/core/CHANGELOG.md +81 -0
- data/ext/handoff_machines_native/core/Cargo.toml +22 -0
- data/ext/handoff_machines_native/core/README.md +215 -0
- data/ext/handoff_machines_native/core/src/iter.rs +130 -0
- data/ext/handoff_machines_native/core/src/lib.rs +498 -0
- data/ext/handoff_machines_native/core/src/refusal.rs +83 -0
- data/ext/handoff_machines_native/core/src/transfer.rs +437 -0
- data/ext/handoff_machines_native/core/src/types.rs +440 -0
- data/ext/handoff_machines_native/extconf.rb +2 -0
- data/ext/handoff_machines_native/ffi/Cargo.toml +21 -0
- data/ext/handoff_machines_native/ffi/extconf.rb +14 -0
- data/ext/handoff_machines_native/ffi/src/classes.rs +50 -0
- data/ext/handoff_machines_native/ffi/src/handoff.rs +375 -0
- data/ext/handoff_machines_native/ffi/src/init.rs +62 -0
- data/ext/handoff_machines_native/ffi/src/lib.rs +36 -0
- data/ext/handoff_machines_native/ffi/src/names.rs +86 -0
- data/ext/handoff_machines_native/ffi/src/values.rs +211 -0
- data/lib/handoff_machines/version.rb +4 -0
- data/lib/handoff_machines.rb +263 -0
- data/sig/handoff_machines.rbs +291 -0
- metadata +93 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: af6dfa74705a224182bf553baa25f9d456e106ecc120cbb414d6c9d4c21f0547
|
|
4
|
+
data.tar.gz: 864750f7e618d7a7fe7e4b03d9432d053e29ba2bfabd6b09729dad691f9eb005
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 3f0f279e0ee85e392bd4276e73ea76f3218cab951d5315c47e10a561250bb8056d979835026acce03030f1da07a906c118f5dd902c0c0e674e25d5fd008f6b52
|
|
7
|
+
data.tar.gz: 374520015b1c0897a3e3f7b191372b50f7575ce5ca0d839adcfa7f1d41f3fa09186b71c2a942e9e430d913a5bf467a22da9d8d7dd2eb1d7947c3e9766376a0c9
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.8.3](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.8.2...handoff_machines/v0.8.3) (2026-11-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* accept every instant the gem returns ([5eab924](https://github.com/seuros/handoff_machines/commit/5eab9242935b9329d0a91c1a21e7ba201cf0d12d))
|
|
9
|
+
|
|
10
|
+
## [0.8.2](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.8.1...handoff_machines/v0.8.2) (2026-11-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fix wrapped classes at load so building a value runs no Ruby ([2480564](https://github.com/seuros/handoff_machines/commit/2480564c1c1223dfdbe5e953eccb818ecab11cf9))
|
|
16
|
+
|
|
17
|
+
## [0.8.1](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.8.0...handoff_machines/v0.8.1) (2026-11-16)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* Status::new refuses tokens no fence or abort could admit ([97b04ef](https://github.com/seuros/handoff_machines/commit/97b04efdfaa2a470d3644601e5e61e9ac21700ff))
|
|
23
|
+
|
|
24
|
+
## [0.8.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.7.0...handoff_machines/v0.8.0) (2026-11-16)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### ⚠ BREAKING CHANGES
|
|
28
|
+
|
|
29
|
+
* generation is nil before the first, restored takes nil
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* generation is nil before the first, restored takes nil ([837a82b](https://github.com/seuros/handoff_machines/commit/837a82bdf67ebfbe64e9e63eaaa8dd6f7d0dda2a))
|
|
34
|
+
|
|
35
|
+
## [0.7.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.6.1...handoff_machines/v0.7.0) (2026-11-14)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### ⚠ BREAKING CHANGES
|
|
39
|
+
|
|
40
|
+
* read handoff recipients and actions with symbol_or_fields and tokens with own_or_sibling
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* read handoff recipients and actions with symbol_or_fields and tokens with own_or_sibling ([b5693d0](https://github.com/seuros/handoff_machines/commit/b5693d06886fa5e4ce7ee93aeab3399f5014d935))
|
|
45
|
+
|
|
46
|
+
## [0.6.1](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.6.0...handoff_machines/v0.6.1) (2026-11-14)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* **deps:** require matryona-machines >= 0.3 with which for action classes and lazy exact-field messages ([82c7f52](https://github.com/seuros/handoff_machines/commit/82c7f523249e43937a7c4367a8be1ab25c34784b))
|
|
52
|
+
|
|
53
|
+
## [0.6.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.5.0...handoff_machines/v0.6.0) (2026-11-14)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### ⚠ BREAKING CHANGES
|
|
57
|
+
|
|
58
|
+
* adopt matryona-machines 0.2 and name every hook's real field
|
|
59
|
+
|
|
60
|
+
### Features
|
|
61
|
+
|
|
62
|
+
* adopt matryona-machines 0.2 and name every hook's real field ([fcee7fe](https://github.com/seuros/handoff_machines/commit/fcee7fef7c1c8dee5e5ec4908969130ea304ace6))
|
|
63
|
+
|
|
64
|
+
## [0.5.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.4.0...handoff_machines/v0.5.0) (2026-11-14)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### ⚠ BREAKING CHANGES
|
|
68
|
+
|
|
69
|
+
* private validated fields, refuse bare :resume and a drain at its quiesce point, exact-class reads, clone-then-keep acks
|
|
70
|
+
|
|
71
|
+
### Features
|
|
72
|
+
|
|
73
|
+
* private validated fields, refuse bare :resume and a drain at its quiesce point, exact-class reads, clone-then-keep acks ([ff05be6](https://github.com/seuros/handoff_machines/commit/ff05be61aedb4e27ac599d94d8ee2d28afb7b308))
|
|
74
|
+
|
|
75
|
+
## [0.4.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.3.0...handoff_machines/v0.4.0) (2026-11-13)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### ⚠ BREAKING CHANGES
|
|
79
|
+
|
|
80
|
+
* 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 lease-machines >= 0.4. Ruby takes a token by its raw reader; a bare Integer is a TypeError.
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
* fencing tokens are scoped values; a token of another scope is Unknown before anything else is read ([77e57ef](https://github.com/seuros/handoff_machines/commit/77e57ef727f205497d89171dd03db9f2aa6578aa))
|
|
85
|
+
|
|
86
|
+
## [0.3.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.2.0...handoff_machines/v0.3.0) (2026-11-13)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### ⚠ BREAKING CHANGES
|
|
90
|
+
|
|
91
|
+
* 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. restored(limits, scope, last_generation) returns an Option.
|
|
92
|
+
|
|
93
|
+
### Features
|
|
94
|
+
|
|
95
|
+
* scope ticket generations through periscope-machines; restored takes the scope and refuses a saved generation from another scope ([978b653](https://github.com/seuros/handoff_machines/commit/978b653d386062d925d002370930bf09d2d2dbf8))
|
|
96
|
+
|
|
97
|
+
## [0.2.0](https://github.com/seuros/handoff_machines/compare/handoff_machines/v0.1.1...handoff_machines/v0.2.0) (2026-11-13)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### ⚠ BREAKING CHANGES
|
|
101
|
+
|
|
102
|
+
* see CONVENTIONS: one exhaustive Refusal per crate, Result from every mutator, honoured idempotent repeats only when provable, Duration time, Ruby mirrors the core. No compatibility aliases. Requires offset-machines >= 0.3. A replay with a different payload is Mismatch; the Ruby class is Handoff and takes Limits.
|
|
103
|
+
|
|
104
|
+
### Features
|
|
105
|
+
|
|
106
|
+
* every acknowledgement answers Result<Acked, Refusal>, honouring recorded repeats as Duplicate ([9d6f347](https://github.com/seuros/handoff_machines/commit/9d6f3472e5c84fd887d87eb4b9aa05b482ffd1e1))
|
|
107
|
+
|
|
108
|
+
## [0.1.1](https://github.com/seuros/handoff_machines/compare/handoff_machines-v0.1.0...handoff_machines/v0.1.1) (2026-11-12)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
* initial extraction ([acfda8e](https://github.com/seuros/handoff_machines/commit/acfda8e11b70570a4728955c14a04bc31d5cbba3))
|
data/Cargo.lock
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
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 = "handoff-machines"
|
|
84
|
+
version = "0.8.1"
|
|
85
|
+
dependencies = [
|
|
86
|
+
"lease-machines",
|
|
87
|
+
"matryona-machines",
|
|
88
|
+
"offset-machines",
|
|
89
|
+
"periscope-machines",
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "handoff_machines_native"
|
|
94
|
+
version = "0.1.8"
|
|
95
|
+
dependencies = [
|
|
96
|
+
"handoff-machines",
|
|
97
|
+
"magnus",
|
|
98
|
+
"matryona-machines",
|
|
99
|
+
"rb-sys",
|
|
100
|
+
]
|
|
101
|
+
|
|
102
|
+
[[package]]
|
|
103
|
+
name = "itertools"
|
|
104
|
+
version = "0.13.0"
|
|
105
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
106
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
107
|
+
dependencies = [
|
|
108
|
+
"either",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "lazy_static"
|
|
113
|
+
version = "1.5.1"
|
|
114
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
116
|
+
|
|
117
|
+
[[package]]
|
|
118
|
+
name = "lease-machines"
|
|
119
|
+
version = "0.7.0"
|
|
120
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
121
|
+
checksum = "f88ccbff5d41f0f557a6868ae796a0760c4f4557d158dbd1b032e97a886b11ee"
|
|
122
|
+
dependencies = [
|
|
123
|
+
"periscope-machines",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "libc"
|
|
128
|
+
version = "0.2.191"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "libloading"
|
|
134
|
+
version = "0.8.9"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"cfg-if",
|
|
139
|
+
"windows-link",
|
|
140
|
+
]
|
|
141
|
+
|
|
142
|
+
[[package]]
|
|
143
|
+
name = "magnus"
|
|
144
|
+
version = "0.9.3"
|
|
145
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
146
|
+
checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
|
|
147
|
+
dependencies = [
|
|
148
|
+
"bytes",
|
|
149
|
+
"magnus-macros",
|
|
150
|
+
"rb-sys",
|
|
151
|
+
"rb-sys-env",
|
|
152
|
+
"seq-macro",
|
|
153
|
+
]
|
|
154
|
+
|
|
155
|
+
[[package]]
|
|
156
|
+
name = "magnus-macros"
|
|
157
|
+
version = "0.9.1"
|
|
158
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
159
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
160
|
+
dependencies = [
|
|
161
|
+
"proc-macro2",
|
|
162
|
+
"quote",
|
|
163
|
+
"syn",
|
|
164
|
+
]
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "matryona-machines"
|
|
168
|
+
version = "0.6.0"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "cf8a06ab02efd767270815a1f515a40bbf3bfc77038e9360676ebe8d47833b07"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"magnus",
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "memchr"
|
|
177
|
+
version = "2.8.3"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "minimal-lexical"
|
|
183
|
+
version = "0.2.1"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "nom"
|
|
189
|
+
version = "7.1.3"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
192
|
+
dependencies = [
|
|
193
|
+
"memchr",
|
|
194
|
+
"minimal-lexical",
|
|
195
|
+
]
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "offset-machines"
|
|
199
|
+
version = "0.6.0"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "41d5e7a0879d8875861b4042ea94e3126413ebe022ea0cd017f6cd80bb8ef1e5"
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "periscope-machines"
|
|
205
|
+
version = "0.5.0"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "1602a0bb66b4ba9529244868a2344cc39282c62c8ae4df357244adf49347bf51"
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "proc-macro2"
|
|
211
|
+
version = "1.0.107"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"unicode-ident",
|
|
216
|
+
]
|
|
217
|
+
|
|
218
|
+
[[package]]
|
|
219
|
+
name = "quote"
|
|
220
|
+
version = "1.0.47"
|
|
221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
223
|
+
dependencies = [
|
|
224
|
+
"proc-macro2",
|
|
225
|
+
]
|
|
226
|
+
|
|
227
|
+
[[package]]
|
|
228
|
+
name = "rb-sys"
|
|
229
|
+
version = "0.9.130"
|
|
230
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
231
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
232
|
+
dependencies = [
|
|
233
|
+
"rb-sys-build",
|
|
234
|
+
]
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "rb-sys-build"
|
|
238
|
+
version = "0.9.130"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"bindgen",
|
|
243
|
+
"lazy_static",
|
|
244
|
+
"proc-macro2",
|
|
245
|
+
"quote",
|
|
246
|
+
"regex",
|
|
247
|
+
"shell-words",
|
|
248
|
+
"syn",
|
|
249
|
+
]
|
|
250
|
+
|
|
251
|
+
[[package]]
|
|
252
|
+
name = "rb-sys-env"
|
|
253
|
+
version = "0.2.3"
|
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "regex"
|
|
259
|
+
version = "1.13.1"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
262
|
+
dependencies = [
|
|
263
|
+
"aho-corasick",
|
|
264
|
+
"memchr",
|
|
265
|
+
"regex-automata",
|
|
266
|
+
"regex-syntax",
|
|
267
|
+
]
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "regex-automata"
|
|
271
|
+
version = "0.4.18"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
274
|
+
dependencies = [
|
|
275
|
+
"aho-corasick",
|
|
276
|
+
"memchr",
|
|
277
|
+
"regex-syntax",
|
|
278
|
+
]
|
|
279
|
+
|
|
280
|
+
[[package]]
|
|
281
|
+
name = "regex-syntax"
|
|
282
|
+
version = "0.8.11"
|
|
283
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "rustc-hash"
|
|
288
|
+
version = "2.1.3"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "seq-macro"
|
|
294
|
+
version = "0.3.6"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "shell-words"
|
|
300
|
+
version = "1.1.1"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "shlex"
|
|
306
|
+
version = "1.3.0"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
309
|
+
|
|
310
|
+
[[package]]
|
|
311
|
+
name = "syn"
|
|
312
|
+
version = "2.0.119"
|
|
313
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
315
|
+
dependencies = [
|
|
316
|
+
"proc-macro2",
|
|
317
|
+
"quote",
|
|
318
|
+
"unicode-ident",
|
|
319
|
+
]
|
|
320
|
+
|
|
321
|
+
[[package]]
|
|
322
|
+
name = "unicode-ident"
|
|
323
|
+
version = "1.0.27"
|
|
324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
326
|
+
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "windows-link"
|
|
329
|
+
version = "0.2.1"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
data/Cargo.toml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["ext/handoff_machines_native/core", "ext/handoff_machines_native/ffi"]
|
|
3
|
+
default-members = ["ext/handoff_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
|
+
handoff-machines = { path = "ext/handoff_machines_native/core" }
|
|
13
|
+
magnus = { version = "0.9.3", default-features = false }
|
|
14
|
+
rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
|
|
15
|
+
lease-machines = ">=0.7"
|
|
16
|
+
offset-machines = ">=0.6"
|
|
17
|
+
periscope-machines = ">=0.5"
|
|
18
|
+
matryona-machines = { version = ">=0.6", default-features = false }
|
|
19
|
+
|
|
20
|
+
[workspace.lints.rust]
|
|
21
|
+
unsafe_code = "deny"
|
|
22
|
+
unused_must_use = "warn"
|
|
23
|
+
missing_docs = "warn"
|
|
24
|
+
|
|
25
|
+
[workspace.lints.clippy]
|
|
26
|
+
all = { level = "warn", priority = -1 }
|
|
27
|
+
pedantic = { level = "warn", priority = -1 }
|
|
28
|
+
nursery = { level = "warn", priority = -1 }
|
|
29
|
+
unwrap_used = "deny"
|
|
30
|
+
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.
|