bandit_machines 0.7.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 +7 -0
- data/CHANGELOG.md +95 -0
- data/Cargo.lock +321 -0
- data/Cargo.toml +29 -0
- data/LICENSE.txt +21 -0
- data/README.md +367 -0
- data/ext/bandit_machines_native/core/CHANGELOG.md +70 -0
- data/ext/bandit_machines_native/core/Cargo.toml +21 -0
- data/ext/bandit_machines_native/core/README.md +152 -0
- data/ext/bandit_machines_native/core/src/bandit.rs +576 -0
- data/ext/bandit_machines_native/core/src/lib.rs +286 -0
- data/ext/bandit_machines_native/core/src/math.rs +66 -0
- data/ext/bandit_machines_native/core/src/pick.rs +71 -0
- data/ext/bandit_machines_native/extconf.rb +2 -0
- data/ext/bandit_machines_native/ffi/Cargo.toml +21 -0
- data/ext/bandit_machines_native/ffi/extconf.rb +14 -0
- data/ext/bandit_machines_native/ffi/src/convert.rs +238 -0
- data/ext/bandit_machines_native/ffi/src/init.rs +128 -0
- data/ext/bandit_machines_native/ffi/src/lib.rs +246 -0
- data/lib/bandit_machines/version.rb +5 -0
- data/lib/bandit_machines.rb +74 -0
- data/sig/bandit_machines.rbs +157 -0
- metadata +87 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c9e2c3fc71423049f0fa8510c247bee39ac68ff2a0cd7ee64f08fb6ba101aaf8
|
|
4
|
+
data.tar.gz: fb5e2091903722f2fd4d231f7359b96f75e2299fd20e4c6e16a3f20f71ce64f0
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 661cb9e5c1f24e7389a11a475efbcc7f839e56317dea04d10184008a9c2b80cc7cd0d566151225c68b7710aee548e9c7fefe9c466d2ecf63d9ed220d8d9bb490
|
|
7
|
+
data.tar.gz: 6d9019bc7051d4a556533605b39601a384444589c3e901dd51e53d3a795f964da108e4693a679eb52c1108a59b1c740fe860e391c77fcd3c94e882865e938922
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.7.2](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.7.1...bandit_machines/v0.7.2) (2026-11-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix wrapped classes at load so building a value runs no Ruby ([0d4c834](https://github.com/seuros/bandit_machines/commit/0d4c8346efb6e3813c68fc89a553d1564ad9cc73))
|
|
9
|
+
|
|
10
|
+
## [0.7.1](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.7.0...bandit_machines/v0.7.1) (2026-11-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* rebuild bandit on matryona 0.5 and drop core slice indexing ([2157556](https://github.com/seuros/bandit_machines/commit/2157556821757abf6e4fd400f7ad6e2807dfb992))
|
|
16
|
+
|
|
17
|
+
## [0.7.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.6.1...bandit_machines/v0.7.0) (2026-11-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### ⚠ BREAKING CHANGES
|
|
21
|
+
|
|
22
|
+
* bandit ticket refusals name the class received
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* bandit ticket refusals name the class received ([d5cc30f](https://github.com/seuros/bandit_machines/commit/d5cc30ffe54634463c4496b138b0c6b9b243c874))
|
|
27
|
+
|
|
28
|
+
## [0.6.1](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.6.0...bandit_machines/v0.6.1) (2026-11-14)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **deps:** require matryona-machines >= 0.3 and read ArmStats#open with boolean ([7ece99c](https://github.com/seuros/bandit_machines/commit/7ece99c07c8c12177a121209d3696a3642ed68cf))
|
|
34
|
+
|
|
35
|
+
## [0.6.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.5.0...bandit_machines/v0.6.0) (2026-11-14)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### ⚠ BREAKING CHANGES
|
|
39
|
+
|
|
40
|
+
* adopt matryona-machines 0.2: symbols! tables, exact-class Ticket, exact Data fields
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* adopt matryona-machines 0.2: symbols! tables, exact-class Ticket, exact Data fields ([6b58ea2](https://github.com/seuros/bandit_machines/commit/6b58ea2370184d1156158928cd3c0a3e6764df2a))
|
|
45
|
+
|
|
46
|
+
## [0.5.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.4.0...bandit_machines/v0.5.0) (2026-11-14)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### ⚠ BREAKING CHANGES
|
|
50
|
+
|
|
51
|
+
* seal values, check exact classes natively, clone-then-keep selection
|
|
52
|
+
|
|
53
|
+
### Features
|
|
54
|
+
|
|
55
|
+
* seal values, check exact classes natively, clone-then-keep selection ([b120e24](https://github.com/seuros/bandit_machines/commit/b120e242333aeff876a2b3a6cf4a51550ad96277))
|
|
56
|
+
|
|
57
|
+
## [0.4.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.3.0...bandit_machines/v0.4.0) (2026-11-13)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### ⚠ BREAKING CHANGES
|
|
61
|
+
|
|
62
|
+
* 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 ticket from another bandit answers UnknownTicket. Serials count from one; next_serial is an Option; revoke_before returns a Result.
|
|
63
|
+
|
|
64
|
+
### Features
|
|
65
|
+
|
|
66
|
+
* scope ticket serials through periscope-machines, add Bandit::resumed, issued and revoke_all ([1217d87](https://github.com/seuros/bandit_machines/commit/1217d879479a315a7407ed99d8b493283a347682))
|
|
67
|
+
|
|
68
|
+
## [0.3.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.2.0...bandit_machines/v0.3.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. open/close return Opening/Closing; tie_break is required; Selection mirrors the core fields.
|
|
74
|
+
|
|
75
|
+
### Features
|
|
76
|
+
|
|
77
|
+
* name open and close outcomes, Config, Ratio and Draws as Ruby values, unknown arm answers :unknown_arm ([d94221c](https://github.com/seuros/bandit_machines/commit/d94221cbbf96f6a56638865e9f270a11f98c6077))
|
|
78
|
+
|
|
79
|
+
## [0.2.0](https://github.com/seuros/bandit_machines/compare/bandit_machines/v0.1.1...bandit_machines/v0.2.0) (2026-11-13)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### ⚠ BREAKING CHANGES
|
|
83
|
+
|
|
84
|
+
* BanditMachines::Bandit.new no longer takes arms: and opens nothing; the caller opens arms explicitly, as in the Rust core.
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* start every arm closed in the Ruby bandit and drop arms: ([4f4a0fe](https://github.com/seuros/bandit_machines/commit/4f4a0fef6e3aa39bf64dabca933753538f6e1238))
|
|
89
|
+
|
|
90
|
+
## [0.1.1](https://github.com/seuros/bandit_machines/compare/bandit_machines-v0.1.0...bandit_machines/v0.1.1) (2026-11-12)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Features
|
|
94
|
+
|
|
95
|
+
* initial extraction ([850717f](https://github.com/seuros/bandit_machines/commit/850717fa9108a4c70fee063cae97407e1a383845))
|
data/Cargo.lock
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
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 = "bandit-machines"
|
|
16
|
+
version = "0.7.1"
|
|
17
|
+
dependencies = [
|
|
18
|
+
"matryona-machines",
|
|
19
|
+
"periscope-machines",
|
|
20
|
+
"sliderule-machines",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "bandit_machines_native"
|
|
25
|
+
version = "0.1.7"
|
|
26
|
+
dependencies = [
|
|
27
|
+
"bandit-machines",
|
|
28
|
+
"magnus",
|
|
29
|
+
"matryona-machines",
|
|
30
|
+
"rb-sys",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[[package]]
|
|
34
|
+
name = "bindgen"
|
|
35
|
+
version = "0.72.1"
|
|
36
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
37
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
38
|
+
dependencies = [
|
|
39
|
+
"bitflags",
|
|
40
|
+
"cexpr",
|
|
41
|
+
"clang-sys",
|
|
42
|
+
"itertools",
|
|
43
|
+
"proc-macro2",
|
|
44
|
+
"quote",
|
|
45
|
+
"regex",
|
|
46
|
+
"rustc-hash",
|
|
47
|
+
"shlex",
|
|
48
|
+
"syn",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "bitflags"
|
|
53
|
+
version = "2.13.2"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
56
|
+
|
|
57
|
+
[[package]]
|
|
58
|
+
name = "bytes"
|
|
59
|
+
version = "1.12.1"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
62
|
+
|
|
63
|
+
[[package]]
|
|
64
|
+
name = "cexpr"
|
|
65
|
+
version = "0.6.0"
|
|
66
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
67
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
68
|
+
dependencies = [
|
|
69
|
+
"nom",
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
[[package]]
|
|
73
|
+
name = "cfg-if"
|
|
74
|
+
version = "1.0.5"
|
|
75
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
76
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
77
|
+
|
|
78
|
+
[[package]]
|
|
79
|
+
name = "clang-sys"
|
|
80
|
+
version = "1.9.1"
|
|
81
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
82
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
83
|
+
dependencies = [
|
|
84
|
+
"glob",
|
|
85
|
+
"libc",
|
|
86
|
+
"libloading",
|
|
87
|
+
]
|
|
88
|
+
|
|
89
|
+
[[package]]
|
|
90
|
+
name = "either"
|
|
91
|
+
version = "1.19.0"
|
|
92
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
93
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "glob"
|
|
97
|
+
version = "0.3.4"
|
|
98
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "itertools"
|
|
103
|
+
version = "0.13.0"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
106
|
+
dependencies = [
|
|
107
|
+
"either",
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "lazy_static"
|
|
112
|
+
version = "1.5.1"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
115
|
+
|
|
116
|
+
[[package]]
|
|
117
|
+
name = "libc"
|
|
118
|
+
version = "0.2.191"
|
|
119
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
121
|
+
|
|
122
|
+
[[package]]
|
|
123
|
+
name = "libloading"
|
|
124
|
+
version = "0.8.9"
|
|
125
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
127
|
+
dependencies = [
|
|
128
|
+
"cfg-if",
|
|
129
|
+
"windows-link",
|
|
130
|
+
]
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "magnus"
|
|
134
|
+
version = "0.9.3"
|
|
135
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
136
|
+
checksum = "40ef424404d166cbb71c8b8d19c9c589c748c4547c1afa1928c5504299f6c713"
|
|
137
|
+
dependencies = [
|
|
138
|
+
"bytes",
|
|
139
|
+
"magnus-macros",
|
|
140
|
+
"rb-sys",
|
|
141
|
+
"rb-sys-env",
|
|
142
|
+
"seq-macro",
|
|
143
|
+
]
|
|
144
|
+
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "magnus-macros"
|
|
147
|
+
version = "0.9.1"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
150
|
+
dependencies = [
|
|
151
|
+
"proc-macro2",
|
|
152
|
+
"quote",
|
|
153
|
+
"syn",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "matryona-machines"
|
|
158
|
+
version = "0.6.0"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "cf8a06ab02efd767270815a1f515a40bbf3bfc77038e9360676ebe8d47833b07"
|
|
161
|
+
dependencies = [
|
|
162
|
+
"magnus",
|
|
163
|
+
]
|
|
164
|
+
|
|
165
|
+
[[package]]
|
|
166
|
+
name = "memchr"
|
|
167
|
+
version = "2.8.3"
|
|
168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
169
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "minimal-lexical"
|
|
173
|
+
version = "0.2.1"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
176
|
+
|
|
177
|
+
[[package]]
|
|
178
|
+
name = "nom"
|
|
179
|
+
version = "7.1.3"
|
|
180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
182
|
+
dependencies = [
|
|
183
|
+
"memchr",
|
|
184
|
+
"minimal-lexical",
|
|
185
|
+
]
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "periscope-machines"
|
|
189
|
+
version = "0.5.0"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "1602a0bb66b4ba9529244868a2344cc39282c62c8ae4df357244adf49347bf51"
|
|
192
|
+
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "proc-macro2"
|
|
195
|
+
version = "1.0.107"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
198
|
+
dependencies = [
|
|
199
|
+
"unicode-ident",
|
|
200
|
+
]
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "quote"
|
|
204
|
+
version = "1.0.47"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
207
|
+
dependencies = [
|
|
208
|
+
"proc-macro2",
|
|
209
|
+
]
|
|
210
|
+
|
|
211
|
+
[[package]]
|
|
212
|
+
name = "rb-sys"
|
|
213
|
+
version = "0.9.130"
|
|
214
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
215
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
216
|
+
dependencies = [
|
|
217
|
+
"rb-sys-build",
|
|
218
|
+
]
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "rb-sys-build"
|
|
222
|
+
version = "0.9.130"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
225
|
+
dependencies = [
|
|
226
|
+
"bindgen",
|
|
227
|
+
"lazy_static",
|
|
228
|
+
"proc-macro2",
|
|
229
|
+
"quote",
|
|
230
|
+
"regex",
|
|
231
|
+
"shell-words",
|
|
232
|
+
"syn",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "rb-sys-env"
|
|
237
|
+
version = "0.2.3"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "regex"
|
|
243
|
+
version = "1.13.1"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
246
|
+
dependencies = [
|
|
247
|
+
"aho-corasick",
|
|
248
|
+
"memchr",
|
|
249
|
+
"regex-automata",
|
|
250
|
+
"regex-syntax",
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "regex-automata"
|
|
255
|
+
version = "0.4.18"
|
|
256
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
258
|
+
dependencies = [
|
|
259
|
+
"aho-corasick",
|
|
260
|
+
"memchr",
|
|
261
|
+
"regex-syntax",
|
|
262
|
+
]
|
|
263
|
+
|
|
264
|
+
[[package]]
|
|
265
|
+
name = "regex-syntax"
|
|
266
|
+
version = "0.8.11"
|
|
267
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
268
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
269
|
+
|
|
270
|
+
[[package]]
|
|
271
|
+
name = "rustc-hash"
|
|
272
|
+
version = "2.1.3"
|
|
273
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
274
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "seq-macro"
|
|
278
|
+
version = "0.3.6"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
281
|
+
|
|
282
|
+
[[package]]
|
|
283
|
+
name = "shell-words"
|
|
284
|
+
version = "1.1.1"
|
|
285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
287
|
+
|
|
288
|
+
[[package]]
|
|
289
|
+
name = "shlex"
|
|
290
|
+
version = "1.3.0"
|
|
291
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
292
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
293
|
+
|
|
294
|
+
[[package]]
|
|
295
|
+
name = "sliderule-machines"
|
|
296
|
+
version = "0.3.0"
|
|
297
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
298
|
+
checksum = "1948b9304f5981d079f774b7441cb6b1d5aa3da7af54854e25a256e9fd6a049b"
|
|
299
|
+
|
|
300
|
+
[[package]]
|
|
301
|
+
name = "syn"
|
|
302
|
+
version = "2.0.119"
|
|
303
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
304
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
305
|
+
dependencies = [
|
|
306
|
+
"proc-macro2",
|
|
307
|
+
"quote",
|
|
308
|
+
"unicode-ident",
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "unicode-ident"
|
|
313
|
+
version = "1.0.27"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "windows-link"
|
|
319
|
+
version = "0.2.1"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
data/Cargo.toml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[workspace]
|
|
2
|
+
members = ["ext/bandit_machines_native/core", "ext/bandit_machines_native/ffi"]
|
|
3
|
+
default-members = ["ext/bandit_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
|
+
bandit-machines = { path = "ext/bandit_machines_native/core" }
|
|
13
|
+
sliderule-machines = ">=0.3"
|
|
14
|
+
periscope-machines = ">=0.5"
|
|
15
|
+
matryona-machines = { version = ">=0.6", default-features = false }
|
|
16
|
+
magnus = { version = "0.9.3", default-features = false }
|
|
17
|
+
rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
|
|
18
|
+
|
|
19
|
+
[workspace.lints.rust]
|
|
20
|
+
unsafe_code = "deny"
|
|
21
|
+
unused_must_use = "warn"
|
|
22
|
+
missing_docs = "warn"
|
|
23
|
+
|
|
24
|
+
[workspace.lints.clippy]
|
|
25
|
+
all = { level = "warn", priority = -1 }
|
|
26
|
+
pedantic = { level = "warn", priority = -1 }
|
|
27
|
+
nursery = { level = "warn", priority = -1 }
|
|
28
|
+
unwrap_used = "deny"
|
|
29
|
+
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.
|