breaker_machines 0.27.0 → 0.28.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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +552 -0
  3. data/Cargo.toml +64 -0
  4. data/README.md +63 -116
  5. data/ext/breaker_machines_native/core/CHANGELOG.md +292 -0
  6. data/ext/breaker_machines_native/core/Cargo.toml +36 -0
  7. data/ext/breaker_machines_native/core/README.md +115 -0
  8. data/ext/breaker_machines_native/core/src/answer.rs +261 -0
  9. data/ext/breaker_machines_native/core/src/async_circuit.rs +299 -0
  10. data/ext/breaker_machines_native/core/src/breaker/settle.rs +142 -0
  11. data/ext/breaker_machines_native/core/src/breaker/share.rs +65 -0
  12. data/ext/breaker_machines_native/core/src/breaker.rs +490 -0
  13. data/ext/breaker_machines_native/core/src/callbacks.rs +56 -0
  14. data/ext/breaker_machines_native/core/src/circuit/builder.rs +114 -0
  15. data/ext/breaker_machines_native/core/src/circuit.rs +524 -0
  16. data/ext/breaker_machines_native/core/src/classifier.rs +62 -0
  17. data/ext/breaker_machines_native/core/src/clock.rs +60 -0
  18. data/ext/breaker_machines_native/core/src/distributed.rs +312 -0
  19. data/ext/breaker_machines_native/core/src/error.rs +107 -0
  20. data/ext/breaker_machines_native/core/src/lib.rs +62 -0
  21. data/ext/breaker_machines_native/core/src/lifecycle.rs +44 -0
  22. data/ext/breaker_machines_native/core/src/policy.rs +170 -0
  23. data/ext/breaker_machines_native/core/src/refusal.rs +48 -0
  24. data/ext/breaker_machines_native/core/src/storage.rs +506 -0
  25. data/ext/breaker_machines_native/core/src/test_support.rs +53 -0
  26. data/ext/breaker_machines_native/extconf.rb +3 -0
  27. data/ext/breaker_machines_native/ffi/Cargo.toml +23 -0
  28. data/ext/breaker_machines_native/ffi/extconf.rb +12 -0
  29. data/ext/breaker_machines_native/ffi/src/breaker.rs +303 -0
  30. data/ext/breaker_machines_native/ffi/src/classes.rs +39 -0
  31. data/ext/breaker_machines_native/ffi/src/init.rs +59 -0
  32. data/ext/breaker_machines_native/ffi/src/lib.rs +8 -0
  33. data/ext/breaker_machines_native/ffi/src/names.rs +137 -0
  34. data/ext/breaker_machines_native/ffi/src/values.rs +255 -0
  35. data/lib/breaker_machines/async_circuit.rb +17 -30
  36. data/lib/breaker_machines/cascading_circuit.rb +61 -141
  37. data/lib/breaker_machines/circuit.rb +419 -6
  38. data/lib/breaker_machines/circuit_group.rb +44 -115
  39. data/lib/breaker_machines/configuration.rb +74 -0
  40. data/lib/breaker_machines/console.rb +54 -321
  41. data/lib/breaker_machines/coordinated_circuit.rb +52 -4
  42. data/lib/breaker_machines/dsl.rb +120 -229
  43. data/lib/breaker_machines/errors.rb +32 -38
  44. data/lib/breaker_machines/hedging.rb +174 -0
  45. data/lib/breaker_machines/registry.rb +85 -153
  46. data/lib/breaker_machines/storage/cache.rb +49 -240
  47. data/lib/breaker_machines/storage/fallback_chain.rb +35 -272
  48. data/lib/breaker_machines/storage/memory.rb +35 -60
  49. data/lib/breaker_machines/storage/null.rb +8 -47
  50. data/lib/breaker_machines/storage.rb +66 -2
  51. data/lib/breaker_machines/version.rb +1 -1
  52. data/lib/breaker_machines.rb +126 -206
  53. data/sig/breaker_machines.rbs +560 -0
  54. data/sig/manifest.yaml +6 -0
  55. metadata +52 -141
  56. data/lib/breaker_machines/async_support.rb +0 -112
  57. data/lib/breaker_machines/circuit/admission.rb +0 -115
  58. data/lib/breaker_machines/circuit/async_state_management.rb +0 -37
  59. data/lib/breaker_machines/circuit/base.rb +0 -100
  60. data/lib/breaker_machines/circuit/callbacks.rb +0 -162
  61. data/lib/breaker_machines/circuit/configuration.rb +0 -67
  62. data/lib/breaker_machines/circuit/coordinated_state_management.rb +0 -84
  63. data/lib/breaker_machines/circuit/execution.rb +0 -191
  64. data/lib/breaker_machines/circuit/hedged_execution.rb +0 -122
  65. data/lib/breaker_machines/circuit/introspection.rb +0 -93
  66. data/lib/breaker_machines/circuit/native.rb +0 -202
  67. data/lib/breaker_machines/circuit/protection.rb +0 -13
  68. data/lib/breaker_machines/circuit/proxy.rb +0 -27
  69. data/lib/breaker_machines/circuit/state_callbacks.rb +0 -70
  70. data/lib/breaker_machines/circuit/state_machine_definition.rb +0 -51
  71. data/lib/breaker_machines/circuit/state_management.rb +0 -26
  72. data/lib/breaker_machines/dsl/cascading_circuit_builder.rb +0 -20
  73. data/lib/breaker_machines/dsl/circuit_builder.rb +0 -209
  74. data/lib/breaker_machines/dsl/hedged_builder.rb +0 -21
  75. data/lib/breaker_machines/dsl/parallel_fallback_wrapper.rb +0 -20
  76. data/lib/breaker_machines/hedged_async_support.rb +0 -91
  77. data/lib/breaker_machines/native_extension.rb +0 -81
  78. data/lib/breaker_machines/native_speedup.rb +0 -10
  79. data/lib/breaker_machines/storage/backend_state.rb +0 -69
  80. data/lib/breaker_machines/storage/base.rb +0 -54
  81. data/lib/breaker_machines/storage/bucket_memory.rb +0 -113
  82. data/lib/breaker_machines/storage/memory_support.rb +0 -82
  83. data/lib/breaker_machines/storage/native.rb +0 -87
  84. data/lib/breaker_machines/types.rb +0 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73321068a993c8f58f659626a88370761526ccef4adf6377814a49994c9436fe
4
- data.tar.gz: 75500e3d2ffff230bbcf050141aad347d912681fbfe70b4a6993885d3162aeb3
3
+ metadata.gz: 79510c6d240a00bb19ad211eb51fd2c9f3deaa363a07acdaba53d03f86aa629d
4
+ data.tar.gz: 2aa407fd07f2803db15af0ea21a91c92c6f8908b2764c208322423c815832567
5
5
  SHA512:
6
- metadata.gz: d0471c22f1207d2f5b3db7e3db3316c618a09c01a2742185137af778aa0f600337a1427330b0e33601a35bcd636f171fc9acca2e63d98e08e5724feb56e92ef9
7
- data.tar.gz: a7b15800fc5207caa78d6d26362bd0b37df0abaaae1cd5ace06e6e3fbb94e07ba87255021529d522bd09d86ffc1372f17bf74b1275e72ddc9b55196b2d5a62ba
6
+ metadata.gz: 62f2d9e28706100b8f300ef125234f6cb3026455616ffdd4fb5c320595256c3f0c3c05d4e1653bf3eec374e44670b942206c4c208930d82484c3295fe7067ff4
7
+ data.tar.gz: 3727f0dfe59c285aa982e8a48c52858c68287790864beec9adbe0b0fbc4e5bfaa5e30b449cf49ca249874e5e0387bf92f3a1f33050b19219b5a6820749505337
data/CHANGELOG.md ADDED
@@ -0,0 +1,552 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ### Bug Fixes
6
+
7
+ * Restore shared circuit state after state machine initialization.
8
+
9
+ ## [0.28.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.28.0...breaker_machines/v0.28.1) (2026-11-16)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * give StorageError a kind so store exhaustion refuses as Refusal::Exhausted ([1c83941](https://github.com/seuros/breaker_machines/commit/1c839417f7c2c864835b4a817130224111826f7d))
15
+
16
+ ## [0.28.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.27.0...breaker_machines/v0.28.0) (2026-11-16)
17
+
18
+
19
+ ### ⚠ BREAKING CHANGES
20
+
21
+ * the whole Ruby API is the core's: Integer nanoseconds, `Data` configuration values, refusal Symbols, Ruby >= 4.0 and a native extension. In Rust, `Breaker::force_close`, `reset` and `adopt` and the runtime's `force_open`/`force_close`/`reset` return `Result`.
22
+
23
+ ### Features
24
+
25
+ * decide circuits in a no_std Rust core, Ruby runtime on top ([a030b81](https://github.com/seuros/breaker_machines/commit/a030b8196de7394b7231cfabed3b6a70e07d08f6))
26
+
27
+ ## [0.27.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.26.1...breaker_machines/v0.27.0) (2026-11-06)
28
+
29
+
30
+ ### ⚠ BREAKING CHANGES
31
+
32
+ * the re-exported chrono-machines is now 0.11.
33
+
34
+ ### Features
35
+
36
+ * require chrono-machines 0.11 ([082c156](https://github.com/seuros/breaker_machines/commit/082c1560219f0bdc5240ec208ebbb2e4e667c893))
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * build without default features again ([4e9f993](https://github.com/seuros/breaker_machines/commit/4e9f993f414f3646ecc805b5d7ac8dcf51be002b))
42
+
43
+ ## [0.26.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.26.0...breaker_machines/v0.26.1) (2026-11-06)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * dedup closed-circuit gate and async circuit test helpers ([04dd0ac](https://github.com/seuros/breaker_machines/commit/04dd0ac88b6db46c7dbc8a49f6400d442e61a4cb))
49
+
50
+ ## [0.26.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.25.0...breaker_machines/v0.26.0) (2026-11-06)
51
+
52
+
53
+ ### Features
54
+
55
+ * expose retry timing and a drop-safe probe ticket on the async breaker ([f963c02](https://github.com/seuros/breaker_machines/commit/f963c02176526dfad1db26d8bcfad6ee8f3c36a2))
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * keep test modules out of the packaged crate ([269e5c9](https://github.com/seuros/breaker_machines/commit/269e5c9be8d302e98d1c31d6d66d03df23921450))
61
+
62
+ ## [0.25.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.24.1...breaker_machines/v0.25.0) (2026-11-02)
63
+
64
+
65
+ ### ⚠ BREAKING CHANGES
66
+
67
+ * breaker-machines re-exports state-machines, now 0.34. A crate that names the re-export, or pairs breaker-machines with its own state-machines, needs state-machines 0.34.
68
+
69
+ ### Bug Fixes
70
+
71
+ * build on state-machines 0.34 ([add4838](https://github.com/seuros/breaker_machines/commit/add4838e63d9cb60ecf8751da71c2d8def890735))
72
+
73
+ ## [0.24.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.24.0...breaker_machines/v0.24.1) (2026-11-01)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * express the state_machines constraint as a floor ([131264c](https://github.com/seuros/breaker_machines/commit/131264cdd9b0e1e6192627b7b3503e3daec7aa55))
79
+
80
+ ## [0.24.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.23.0...breaker_machines/v0.24.0) (2026-11-01)
81
+
82
+
83
+ ### Features
84
+
85
+ * gems:push_all fetches the release itself ([3b4eb6d](https://github.com/seuros/breaker_machines/commit/3b4eb6d3e7b54bbc60639cc6659a3b3a652ec02d))
86
+ * pass a rubygems OTP through GEM_OTP ([188ea57](https://github.com/seuros/breaker_machines/commit/188ea57b4c9f193c8f202a14fd1a44b01f46a70b))
87
+ * verify release gem checksums before pushing ([1000edf](https://github.com/seuros/breaker_machines/commit/1000edf92efd75518e1aaa0609b807351e0f5135))
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * enable the rb-sys compiled fallback so new Rubies can build ([db6d75e](https://github.com/seuros/breaker_machines/commit/db6d75e0feadc2ade27518aad47eaba370ee1526))
93
+ * raise the chrono_machines floor to 0.12.1 ([2959305](https://github.com/seuros/breaker_machines/commit/295930570ef92754ba38bc9697a755227c640fb6))
94
+
95
+ ## [0.23.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.22.1...breaker_machines/v0.23.0) (2026-11-01)
96
+
97
+
98
+ ### Features
99
+
100
+ * **core:** forward state-machines' serde feature ([42361d7](https://github.com/seuros/breaker_machines/commit/42361d77fdd462bf644611fc4c2a264b6f262cde))
101
+ * **core:** re-export state-machines and chrono-machines ([b32e43a](https://github.com/seuros/breaker_machines/commit/b32e43a26290b7f8e063222318873f6169e7700b))
102
+ * honour an ambient deadline at admission ([210555f](https://github.com/seuros/breaker_machines/commit/210555fabceb5f4e31d89b33f4183f8c40feeb79))
103
+
104
+
105
+ ### Bug Fixes
106
+
107
+ * a failed gem push fails the release ([8ce3858](https://github.com/seuros/breaker_machines/commit/8ce38582e9621eec5eb9106c19a04f7ea18eb107))
108
+ * a lone checkout can bundle ([ed39395](https://github.com/seuros/breaker_machines/commit/ed39395189c692876d008becbe59e846b586a92e))
109
+ * both circuit backends follow one recovery rule ([c4a731b](https://github.com/seuros/breaker_machines/commit/c4a731bbbee111242d35bc4b2f9dd72f0dd518ce))
110
+ * call chrono for jitter instead of reimplementing it ([c203132](https://github.com/seuros/breaker_machines/commit/c20313268b61b13b38cce877ccfe258e3af2b987))
111
+ * check the budget before clamping the hedge timeout ([536f102](https://github.com/seuros/breaker_machines/commit/536f1020b62fae55b6bf7b2a20852bef3152a2f0))
112
+ * cooldown jitter is drawn once, and observers run outside the lock ([1f75a21](https://github.com/seuros/breaker_machines/commit/1f75a217fe7b098d8f18d5e8afa821057efe459d))
113
+ * hedges prefer a slow success, and native storage counts once ([3a6ffe6](https://github.com/seuros/breaker_machines/commit/3a6ffe67d5f5c8e3b551a955d5d4df2a0abfcab9))
114
+ * native circuits answer the registry's protocol ([fa74516](https://github.com/seuros/breaker_machines/commit/fa74516b19305b8b1a0546a74f4a13ad78b15a9b))
115
+ * resolve the sibling crates from the registry ([83927b3](https://github.com/seuros/breaker_machines/commit/83927b3131556a25aa19bb8d0dc47ef7c397964b))
116
+ * ship the core's test files so the packaged crate builds ([05f5937](https://github.com/seuros/breaker_machines/commit/05f5937b44e75c8e0bfd0ebe52eb85fabf8d0d61))
117
+ * the circuit registry retained every circuit forever ([3fc5d8d](https://github.com/seuros/breaker_machines/commit/3fc5d8dd10a719d6f1c2681da141c30a20f58f3a))
118
+ * the hedged path no longer overruns the budget it just checked ([60a9ccd](https://github.com/seuros/breaker_machines/commit/60a9ccdbf5060e54ce6ec15224db149f62588c53))
119
+ * the native circuit honours half_open_calls ([2ac5f46](https://github.com/seuros/breaker_machines/commit/2ac5f4636e97ae0e2b967e690d6f2cd425c29ab6))
120
+
121
+ ## [0.22.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.22.0...breaker_machines/v0.22.1) (2026-10-30)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * **console:** show event times as wall-clock dates ([fc6a3fc](https://github.com/seuros/breaker_machines/commit/fc6a3fc0c58c228a513e1b8bd576ab4329e9189c))
127
+ * **storage:** append Cache events atomically and clear stores without delete_matched ([26fdc66](https://github.com/seuros/breaker_machines/commit/26fdc66fa6b1c2e6c4b727847423ff11f8307723))
128
+
129
+ ## [0.22.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.2...breaker_machines/v0.22.0) (2026-10-16)
130
+
131
+
132
+ ### Features
133
+
134
+ * **core:** observe outcomes that ran outside the circuit ([d9fcb64](https://github.com/seuros/breaker_machines/commit/d9fcb64ee045963f1a8a53f41d1768a6ca073cab))
135
+
136
+ ## [0.21.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.1...breaker_machines/v0.21.2) (2026-10-14)
137
+
138
+
139
+ ### Bug Fixes
140
+
141
+ * **deps:** bump chrono-machines to 0.9 ([c378c62](https://github.com/seuros/breaker_machines/commit/c378c6270aae5e67da3388c546ac9d8d062d076d))
142
+ * **deps:** bump state-machines to 0.32 ([2ac37d7](https://github.com/seuros/breaker_machines/commit/2ac37d7a6c83d9c486f615d35af455e7d6cd0e0e))
143
+
144
+ ## [0.21.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.21.0...breaker_machines/v0.21.1) (2026-10-14)
145
+
146
+
147
+ ### Bug Fixes
148
+
149
+ * restore shared circuit state after initialization ([#85](https://github.com/seuros/breaker_machines/issues/85)) ([b15edc8](https://github.com/seuros/breaker_machines/commit/b15edc849708618b67ce7977347ac70230600ea4))
150
+
151
+ ## [0.21.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.20.0...breaker_machines/v0.21.0) (2026-10-13)
152
+
153
+
154
+ ### Features
155
+
156
+ * protect selected client methods with a circuit ([#81](https://github.com/seuros/breaker_machines/issues/81)) ([3bba5ff](https://github.com/seuros/breaker_machines/commit/3bba5ff467930485d6d768f593a456ff419af37d))
157
+
158
+ ## [0.20.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.19.0...breaker_machines/v0.20.0) (2026-10-12)
159
+
160
+
161
+ ### ⚠ BREAKING CHANGES
162
+
163
+ * Rails 8.0 is no longer supported; activesupport >= 8.1 is required.
164
+
165
+ ### Features
166
+
167
+ * add bucket_seconds to cache storage counters ([637aa5e](https://github.com/seuros/breaker_machines/commit/637aa5ec4ac0d32bb106cf70203f05bf9df2e3d5))
168
+
169
+
170
+ ### Bug Fixes
171
+
172
+ * honor cache counter windows ([#78](https://github.com/seuros/breaker_machines/issues/78)) ([81437a6](https://github.com/seuros/breaker_machines/commit/81437a61803aaa344712487406a19a349c4d4c1f))
173
+ * keep shared circuit state consistent across hosts ([39f9d11](https://github.com/seuros/breaker_machines/commit/39f9d11bed086f58bc9db5f85e9a70bc99aefb4d))
174
+ * refresh shared circuit state before admission ([#79](https://github.com/seuros/breaker_machines/issues/79)) ([759b122](https://github.com/seuros/breaker_machines/commit/759b122f6ff52fa664b136501e7da54028e96754))
175
+
176
+
177
+ ### Build System
178
+
179
+ * require Rails 8.1 and run tests with padded_cell ([bc575a9](https://github.com/seuros/breaker_machines/commit/bc575a9e37cd1113f28baa98749e8fdb8e4646ca))
180
+
181
+ ## [0.19.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.18.0...breaker_machines/v0.19.0) (2026-10-10)
182
+
183
+
184
+ ### Features
185
+
186
+ * **core:** add CallTicket admission (try_acquire/complete/abandon) ([9c00764](https://github.com/seuros/breaker_machines/commit/9c007649c2c47a66915587d6d43b48f44b8c39ca))
187
+ * **core:** drop per-call allocations; adopt state-machines 0.31 ([89b8f53](https://github.com/seuros/breaker_machines/commit/89b8f5300d3e06383ba2351468ac7c0f00a01968))
188
+
189
+
190
+ ### Bug Fixes
191
+
192
+ * **ci:** attach release gems with gh release upload ([9248788](https://github.com/seuros/breaker_machines/commit/924878817ef098e0f03340faebbe0fd7ba068a28))
193
+ * **native:** admit Ruby calls through the core so circuits leave Open ([16a75ce](https://github.com/seuros/breaker_machines/commit/16a75ce4701db90432abf011983e33738ecd8fc1))
194
+ * **storage:** stop scanning the memory event log on every write ([940a1fc](https://github.com/seuros/breaker_machines/commit/940a1fc580bb18b5078b000cc76bd02a50b9f169))
195
+
196
+
197
+ ### Performance Improvements
198
+
199
+ * **core:** keep the event buffer in a VecDeque ([871cd36](https://github.com/seuros/breaker_machines/commit/871cd3669503f0a5291f41f80315ae3c8fecbeab))
200
+
201
+ ## [0.18.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.17.0...breaker_machines/v0.18.0) (2026-10-05)
202
+
203
+
204
+ ### Features
205
+
206
+ * **core:** adopt state-machines 0.30 entry data, hooks and epochs ([d1ee535](https://github.com/seuros/breaker_machines/commit/d1ee535083dd996aa9f6d84c096255cafedaf0c6))
207
+ * require Ruby 4.0, magnus 0.9, Ractor-safe native ext ([bcad7dd](https://github.com/seuros/breaker_machines/commit/bcad7dd403f8fa31a4e0d26c3b173c7b0c8299a0))
208
+
209
+
210
+ ### Bug Fixes
211
+
212
+ * **build:** skip host compile when packaging a cross gem ([308f761](https://github.com/seuros/breaker_machines/commit/308f761fd77163485ec3e19b1f6c1eda4c7cdbf6))
213
+ * **deps:** loosen state-machines/chrono-machines version ranges ([535f507](https://github.com/seuros/breaker_machines/commit/535f50758de19ff920f082ce575361a2161bfb9f))
214
+ * **deps:** pin state_machines ~> 0.202, chrono_machines ~> 0.9; crates to 0.30/0.8 ([ed47405](https://github.com/seuros/breaker_machines/commit/ed47405988274b30b10dc3934d71f094f0f745c2))
215
+
216
+ ## [0.17.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.16.1...breaker_machines/v0.17.0) (2026-09-14)
217
+
218
+
219
+ ### Features
220
+
221
+ * **core:** share circuit context via Arc ([240375d](https://github.com/seuros/breaker_machines/commit/240375d62b22eb580c87268313a730d6edec2c0d))
222
+ * **core:** share circuit context via Arc, drop defensive fallbacks ([feb5b37](https://github.com/seuros/breaker_machines/commit/feb5b37ce44a11353a2c94492dd27f266cc43b35))
223
+
224
+ ## [0.16.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.16.0...breaker_machines/v0.16.1) (2026-08-26)
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * **deps:** bump chrono-machines to 0.6, hashbrown to 0.17; pin rust 1.98 ([de9da4f](https://github.com/seuros/breaker_machines/commit/de9da4f50b900179e03c47e5aff6fae5bd0aa43c))
230
+
231
+ ## [0.16.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.2...breaker_machines/v0.16.0) (2026-07-18)
232
+
233
+
234
+ ### Features
235
+
236
+ * **storage:** add distributed circuit coordination ([#71](https://github.com/seuros/breaker_machines/issues/71)) ([8533a6e](https://github.com/seuros/breaker_machines/commit/8533a6e8cdaaeee4053cab0b70763268224bd801))
237
+
238
+ ## [0.15.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.1...breaker_machines/v0.15.2) (2026-07-17)
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * **async:** make circuit calls cancellation-safe ([#69](https://github.com/seuros/breaker_machines/issues/69)) ([859c200](https://github.com/seuros/breaker_machines/commit/859c200a4aa4844c95a37ee2ac5801ae1815f2d7))
244
+
245
+ ## [0.15.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.15.0...breaker_machines/v0.15.1) (2026-06-24)
246
+
247
+
248
+ ### Bug Fixes
249
+
250
+ * **ci:** use existing actions/upload-artifact v7 ([269667d](https://github.com/seuros/breaker_machines/commit/269667de6bbda38d4f5cfdaae4cf7c7a74ffe4c4))
251
+
252
+ ## [0.15.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.14.0...breaker_machines/v0.15.0) (2026-06-24)
253
+
254
+
255
+ ### Features
256
+
257
+ * **native:** no_std support ([9256931](https://github.com/seuros/breaker_machines/commit/92569311d604f40b3ada7ceccd16ab49a49bab23))
258
+
259
+ ## [0.14.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.2...breaker_machines/v0.14.0) (2026-06-24)
260
+
261
+
262
+ ### Features
263
+
264
+ * **native:** add async circuit support ([4a76604](https://github.com/seuros/breaker_machines/commit/4a76604b9f4737470d9e52083b19fe33d9101020))
265
+
266
+ ## [0.13.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.1...breaker_machines/v0.13.2) (2026-06-15)
267
+
268
+
269
+ ### Bug Fixes
270
+
271
+ * **ci:** build aarch64-linux gem in cross-gem matrix on x86_64 host ([68cea75](https://github.com/seuros/breaker_machines/commit/68cea7529921365f4b2bcbf790d31a8f397d655d))
272
+
273
+ ## [0.13.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.13.0...breaker_machines/v0.13.1) (2026-06-15)
274
+
275
+
276
+ ### Bug Fixes
277
+
278
+ * **ci:** cross-compile aarch64-linux gem for Ruby 3.4 and 4.0 ([6022fb7](https://github.com/seuros/breaker_machines/commit/6022fb75d3b9f62b80e9491600637bc0ea68f75e))
279
+
280
+ ## [0.13.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.12.0...breaker_machines/v0.13.0) (2026-06-15)
281
+
282
+
283
+ ### Features
284
+
285
+ * adopt state-machines 0.20 typed-state API ([fcfcfee](https://github.com/seuros/breaker_machines/commit/fcfcfee9a3fd16ab34f0331b05cc0ee7d4f11e0a))
286
+
287
+ ## [0.12.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.11.0...breaker_machines/v0.12.0) (2026-05-25)
288
+
289
+
290
+ ### Bug Fixes
291
+
292
+ * ship pure ruby fallback gem ([7103928](https://github.com/seuros/breaker_machines/commit/71039286d00ebf308adfdc893e968110100cae29))
293
+
294
+ ## [0.11.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.9...breaker_machines/v0.11.0) (2026-05-25)
295
+
296
+
297
+ ### Bug Fixes
298
+
299
+ * skip native extension outside CRuby ([2cbda6f](https://github.com/seuros/breaker_machines/commit/2cbda6fe828e39f1b7da8280f2d348a1e37464ec))
300
+ * stabilize hedged execution timing tests ([9bec8f5](https://github.com/seuros/breaker_machines/commit/9bec8f59a1a29c6cab113854542086ded67d75c3))
301
+
302
+ ## [0.10.9](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.8...breaker_machines/v0.10.9) (2026-05-25)
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * load native extension without embedding Ruby ([ae00fce](https://github.com/seuros/breaker_machines/commit/ae00fceaeeed505570b3f077de0ca8306f6e77d7))
308
+
309
+ ## [0.10.8](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.7...breaker_machines/v0.10.8) (2026-03-22)
310
+
311
+
312
+ ### Bug Fixes
313
+
314
+ * add state-machine keyword, upgrade state-machines to 0.9 ([0157a3c](https://github.com/seuros/breaker_machines/commit/0157a3c4decc0cac51a528af710018ea39604cf2))
315
+
316
+ ## [0.10.7](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.6...breaker_machines/v0.10.7) (2026-03-22)
317
+
318
+
319
+ ### Bug Fixes
320
+
321
+ * add version to workspace breaker-machines dependency ([b87f538](https://github.com/seuros/breaker_machines/commit/b87f538a8512b1f5b3221a036dc3d12caf502c7f))
322
+ * upgrade state-machines to 0.9 ([4054177](https://github.com/seuros/breaker_machines/commit/4054177dc2326ae8407e91eab2b8d3890cf7e4b0))
323
+
324
+ ## [0.10.6](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.5...breaker_machines/v0.10.6) (2026-01-23)
325
+
326
+
327
+ ### Bug Fixes
328
+
329
+ * update state machines ([#56](https://github.com/seuros/breaker_machines/issues/56)) ([cc630de](https://github.com/seuros/breaker_machines/commit/cc630deb675b8ec7e78b8af699244d8b59ab8fde))
330
+
331
+ ## [0.10.5](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.4...breaker_machines/v0.10.5) (2026-01-23)
332
+
333
+
334
+ ### Bug Fixes
335
+
336
+ * update state-machines ([#54](https://github.com/seuros/breaker_machines/issues/54)) ([108af96](https://github.com/seuros/breaker_machines/commit/108af96df17df7773bc35dedd512a3a3cbb0251f))
337
+
338
+ ## [0.10.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.3...breaker_machines/v0.10.4) (2026-01-16)
339
+
340
+
341
+ ### Bug Fixes
342
+
343
+ * update crate dependencies ([#52](https://github.com/seuros/breaker_machines/issues/52)) ([2c5e382](https://github.com/seuros/breaker_machines/commit/2c5e382edc08d7d283334c57af3a4b97b1315dd7))
344
+
345
+ ## [0.10.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.2...breaker_machines/v0.10.3) (2025-12-27)
346
+
347
+
348
+ ### Bug Fixes
349
+
350
+ * add Ruby 4.0.0-preview3 to test matrix ([#50](https://github.com/seuros/breaker_machines/issues/50)) ([dc73a38](https://github.com/seuros/breaker_machines/commit/dc73a38846b4e8816bbb43cfaf5ea62529f56053))
351
+
352
+ ## [0.10.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.1...breaker_machines/v0.10.2) (2025-12-11)
353
+
354
+
355
+ ### Bug Fixes
356
+
357
+ * remove unused variable in jitter variance test ([cfbd8e0](https://github.com/seuros/breaker_machines/commit/cfbd8e00118db8b93464ef8cc65ba894e809ce44))
358
+
359
+ ## [0.10.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.10.0...breaker_machines/v0.10.1) (2025-11-25)
360
+
361
+
362
+ ### Bug Fixes
363
+
364
+ * callback panic safety and expanded test coverage ([#46](https://github.com/seuros/breaker_machines/issues/46)) ([5414bc6](https://github.com/seuros/breaker_machines/commit/5414bc6d60e102dca4ba78bf13134f48e2c22de3))
365
+ * callback panic safety and expanded test coverage ([#48](https://github.com/seuros/breaker_machines/issues/48)) ([6dbeb3d](https://github.com/seuros/breaker_machines/commit/6dbeb3d3653b2d1208f119fcebe7f3a9015193cc))
366
+
367
+ ## [0.10.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.4...breaker_machines/v0.10.0) (2025-11-24)
368
+
369
+
370
+ ### Features
371
+
372
+ * circuit breaker bookkeeping and HalfOpen counter reset ([#44](https://github.com/seuros/breaker_machines/issues/44)) ([ef2bac7](https://github.com/seuros/breaker_machines/commit/ef2bac77d6c0024265498d2173816e906fa4fb39))
373
+
374
+ ## [0.9.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.3...breaker_machines/v0.9.4) (2025-11-24)
375
+
376
+
377
+ ### Bug Fixes
378
+
379
+ * update crate ([6b5fac4](https://github.com/seuros/breaker_machines/commit/6b5fac4504454039182765675832288a4fa3eab4))
380
+
381
+ ## [0.9.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.2...breaker_machines/v0.9.3) (2025-11-23)
382
+
383
+
384
+ ### Bug Fixes
385
+
386
+ * Remove empty env block in manual-native-build.yml ([2487c95](https://github.com/seuros/breaker_machines/commit/2487c953e6e799c538842c9cc1ed8573e349948a))
387
+ * Set BREAKER_MACHINES_NATIVE env var before require in CI test ([62a2eca](https://github.com/seuros/breaker_machines/commit/62a2eca430bc0e963c3e87a581556074b48cd695))
388
+
389
+ ## [0.9.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.1...breaker_machines/v0.9.2) (2025-11-23)
390
+
391
+
392
+ ### Bug Fixes
393
+
394
+ * Use ubuntu-24.04-arm (not arm64) ([1ea562c](https://github.com/seuros/breaker_machines/commit/1ea562cc2c387a3b3f525804af0641f626f6d13f))
395
+
396
+ ## [0.9.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.9.0...breaker_machines/v0.9.1) (2025-11-23)
397
+
398
+
399
+ ### Bug Fixes
400
+
401
+ * Use native ARM runner for aarch64-linux builds ([82f4abb](https://github.com/seuros/breaker_machines/commit/82f4abbf095753fb4000197213d8e7ab7a00c326))
402
+
403
+ ## [0.9.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.4...breaker_machines/v0.9.0) (2025-11-23)
404
+
405
+
406
+ ### Features
407
+
408
+ * Make native extension opt-in at runtime ([5fba9af](https://github.com/seuros/breaker_machines/commit/5fba9afd9c81ab1e00c154b80e62d50bfdd1127e))
409
+
410
+
411
+ ### Bug Fixes
412
+
413
+ * Re-add aarch64-linux with platform-specific cache isolation ([b3e8de3](https://github.com/seuros/breaker_machines/commit/b3e8de37dffe79e56d7ca492c6e58135ca2dc9fc))
414
+ * Remove aarch64-linux from build matrix ([aa2d02b](https://github.com/seuros/breaker_machines/commit/aa2d02b22b5ac9b72d8bfd03b11bf51de207e181))
415
+
416
+ ## [0.8.4](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.3...breaker_machines/v0.8.4) (2025-11-23)
417
+
418
+
419
+ ### Bug Fixes
420
+
421
+ * Use platform-specific cache-version to prevent cross-contamination ([a5c53d7](https://github.com/seuros/breaker_machines/commit/a5c53d737184209c80c007d8d009203f7b1923bf))
422
+
423
+ ## [0.8.3](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.2...breaker_machines/v0.8.3) (2025-11-23)
424
+
425
+
426
+ ### Bug Fixes
427
+
428
+ * Revert opt-in native extension and remove invalid cache-key ([2e6a03f](https://github.com/seuros/breaker_machines/commit/2e6a03f308469dbe4d0c43a3a055573037ce53af))
429
+
430
+ ## [0.8.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.1...breaker_machines/v0.8.2) (2025-11-23)
431
+
432
+
433
+ ### Bug Fixes
434
+
435
+ * add JRuby and TruffleRuby CI testing ([#11](https://github.com/seuros/breaker_machines/issues/11)) ([8aa1c99](https://github.com/seuros/breaker_machines/commit/8aa1c995a6b75c5fa6d392ce58243b818c2df27e))
436
+ * Make native extension opt-in with BREAKER_MACHINES_NATIVE=1 ([#36](https://github.com/seuros/breaker_machines/issues/36)) ([126d631](https://github.com/seuros/breaker_machines/commit/126d63158e83fc7e6ca62cd7392ef62d9a592c5e))
437
+
438
+ ## [0.8.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.8.0...breaker_machines/v0.8.1) (2025-11-23)
439
+
440
+
441
+ ### Bug Fixes
442
+
443
+ * Isolate aarch64-linux build with platform-specific cache and target dir ([653ec42](https://github.com/seuros/breaker_machines/commit/653ec427077fe5072e868b2b0c303952217a584f))
444
+
445
+ ## [0.8.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.7.1...breaker_machines/v0.8.0) (2025-11-23)
446
+
447
+
448
+ ### Features
449
+
450
+ * Add GEM_PUSH_HOST env var for flexible gem publishing ([16530d6](https://github.com/seuros/breaker_machines/commit/16530d6ec00a44d69e7a84712b07e496ea13d993))
451
+ * Add multi-architecture test workflow with musl support ([70017e9](https://github.com/seuros/breaker_machines/commit/70017e900ae068213793512e355e28df85cc47a2))
452
+ * Add x86_64-linux-musl platform and GitHub Packages publishing to release workflow ([b661d1a](https://github.com/seuros/breaker_machines/commit/b661d1a9430ebde285214865177e042949bd278f))
453
+
454
+
455
+ ### Bug Fixes
456
+
457
+ * Add --force flag to bypass allowed_push_host restriction ([7edd9b1](https://github.com/seuros/breaker_machines/commit/7edd9b13d1e79d50a0eacda309a9c8bf1024c207))
458
+ * Correct publish idempotent logic and gem install syntax ([cab2826](https://github.com/seuros/breaker_machines/commit/cab2826e9dee72fb41fac1e6f8a8edf48a0e3063))
459
+ * Handle RubyGems version normalization in test workflow ([b641418](https://github.com/seuros/breaker_machines/commit/b641418222d6822a0051b6c1a9502bdf841f30e8))
460
+ * Make publish idempotent and fix smoke test dependencies ([addc7b7](https://github.com/seuros/breaker_machines/commit/addc7b74b26ea73f2dce6247ec3fce67003737ce))
461
+ * Make smoke tests non-blocking ([3d22dea](https://github.com/seuros/breaker_machines/commit/3d22dea550b7c4e3c845be401736fe21f2cc4558))
462
+ * Reduce to working platforms only - 5 total ([e0ed30b](https://github.com/seuros/breaker_machines/commit/e0ed30bc9098b5e42a2df17806a1671e026ae3c8))
463
+ * Remove aarch64-linux from test workflow due to cache corruption ([8315eff](https://github.com/seuros/breaker_machines/commit/8315effc4d5bd5a926f8ca3f623d6601b610df8d))
464
+ * Remove unsupported armv7-linux-musl and arm-linux-musl platforms ([a075b6c](https://github.com/seuros/breaker_machines/commit/a075b6ccf6943139549edabf67e5ac12bb1ca0b8))
465
+ * Use --allowed-push-host flag to override gemspec restriction ([37e3291](https://github.com/seuros/breaker_machines/commit/37e3291801ed0c2d68ded21eeb234bd2fa841f75))
466
+
467
+ ## [0.7.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.7.0...breaker_machines/v0.7.1) (2025-11-19)
468
+
469
+
470
+ ### Bug Fixes
471
+
472
+ * detect platform binary ([#31](https://github.com/seuros/breaker_machines/issues/31)) ([4f71383](https://github.com/seuros/breaker_machines/commit/4f71383d40e203f8b520b38331abca37941e086c))
473
+
474
+ ## [0.7.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.2...breaker_machines/v0.7.0) (2025-11-11)
475
+
476
+
477
+ ### Bug Fixes
478
+
479
+ * cross gem perms ([#28](https://github.com/seuros/breaker_machines/issues/28)) ([e35b9b7](https://github.com/seuros/breaker_machines/commit/e35b9b7fc0383aaf601bce24a492a63de5ff07ec))
480
+ * Fix/release cross gem perms ([#30](https://github.com/seuros/breaker_machines/issues/30)) ([717a152](https://github.com/seuros/breaker_machines/commit/717a152b055d2df1c0d2d3b4697f553c09ea881d))
481
+
482
+ ## [0.6.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.1...breaker_machines/v0.6.2) (2025-11-05)
483
+
484
+
485
+ ### Bug Fixes
486
+
487
+ * install rb_sys to user gem home in release ([#26](https://github.com/seuros/breaker_machines/issues/26)) ([909ae50](https://github.com/seuros/breaker_machines/commit/909ae505a68fe3ea96648f626eefc33ae3470eb8))
488
+
489
+ ## [0.6.1](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.6.0...breaker_machines/v0.6.1) (2025-11-05)
490
+
491
+
492
+ ### Bug Fixes
493
+
494
+ * bundle rb_sys for source installs ([#24](https://github.com/seuros/breaker_machines/issues/24)) ([adeed7e](https://github.com/seuros/breaker_machines/commit/adeed7e7eac2f974d95ffb7ca93c02a4183d36f0))
495
+
496
+ ## [0.6.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.5.0...breaker_machines/v0.6.0) (2025-11-05)
497
+
498
+
499
+ ### Features
500
+
501
+ * add native storage backend with Rust v0.3.0 and Rails 8+ support ([#21](https://github.com/seuros/breaker_machines/issues/21)) ([cf45b0a](https://github.com/seuros/breaker_machines/commit/cf45b0aa8444a86b5ce20e1627013c532c56169e))
502
+
503
+
504
+ ### Bug Fixes
505
+
506
+ * configure release-please for monorepo with Ruby and Rust packages ([656127c](https://github.com/seuros/breaker_machines/commit/656127c4588010f33822ca5114ba3e9ebbeb6df5))
507
+
508
+
509
+ ### Code Refactoring
510
+
511
+ * fix clippy warnings in Rust crate ([7dd1230](https://github.com/seuros/breaker_machines/commit/7dd1230bdfc1beff377c4b9c332727beabb996ab))
512
+
513
+ ## [0.5.0](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.4.2...breaker_machines/v0.5.0) (2025-09-10)
514
+
515
+
516
+ ### Bug Fixes
517
+
518
+ * version ([c69d413](https://github.com/seuros/breaker_machines/commit/c69d41371ea9b72c63b0cce11825f6059a45b8f3))
519
+
520
+ ## [0.4.2](https://github.com/seuros/breaker_machines/compare/breaker_machines/v0.4.1...breaker_machines/v0.4.2) (2025-09-10)
521
+
522
+
523
+ ### Features
524
+
525
+ * modernize async API to leverage 2.31.0 features ([#19](https://github.com/seuros/breaker_machines/issues/19)) ([8360716](https://github.com/seuros/breaker_machines/commit/836071690cee92febdc7d66d9839dbfb68fe486f))
526
+
527
+
528
+ ### Bug Fixes
529
+
530
+ * implement hard_reset event for proper test isolation ([#16](https://github.com/seuros/breaker_machines/issues/16)) ([0e0c31f](https://github.com/seuros/breaker_machines/commit/0e0c31f0c5e289be77c453b41ea56a8b96449610))
531
+ * resolve race condition in parallel fallback execution ([#18](https://github.com/seuros/breaker_machines/issues/18)) ([07eed69](https://github.com/seuros/breaker_machines/commit/07eed69092dc4747251e10d6501a054570198e5f))
532
+
533
+ ## [0.4.1](https://github.com/seuros/breaker_machines/compare/breaker_machines-v0.4.0...breaker_machines/v0.4.1) (2025-09-10)
534
+
535
+
536
+ ### Features
537
+
538
+ * add state_machines v0.100.0 features and enhancements ([#10](https://github.com/seuros/breaker_machines/issues/10)) ([dc32336](https://github.com/seuros/breaker_machines/commit/dc323365c05e8d1faf0421f3dbc0d62487378a03))
539
+ * allow rails 7.2 to use this gem ([027a8b8](https://github.com/seuros/breaker_machines/commit/027a8b8baeb296c5436b9f4f7db168012ff1fb9e))
540
+ * cascading circuits aka "Shield Harmonics" ([#7](https://github.com/seuros/breaker_machines/issues/7)) ([310bfe6](https://github.com/seuros/breaker_machines/commit/310bfe665c099a510cd358919c095b5c8f89e7fc))
541
+ * created adapter for Rails cache stores ([#1](https://github.com/seuros/breaker_machines/issues/1)) ([2f423e9](https://github.com/seuros/breaker_machines/commit/2f423e9a6f2dc3c82ddeb5eab4bd290ae464c664))
542
+ * dynamic circuits ([b63597b](https://github.com/seuros/breaker_machines/commit/b63597b6136b35e05bf7ad4d87fadf628da99461))
543
+ * extract instrumentation for fallback chain ([5880304](https://github.com/seuros/breaker_machines/commit/588030463b36cfb483dc7c20d5ded65a5a75a8ff))
544
+ * fallback_chain feature ([#6](https://github.com/seuros/breaker_machines/issues/6)) ([fc0df2e](https://github.com/seuros/breaker_machines/commit/fc0df2e69407f5fa900208fcab1409cc836e4605))
545
+
546
+
547
+ ### Bug Fixes
548
+
549
+ * circuit breaker deadlock in bulkheading feature ([#2](https://github.com/seuros/breaker_machines/issues/2)) ([f72349c](https://github.com/seuros/breaker_machines/commit/f72349c1e6792a5cb71e1bdfbf34fd00c9efd86c))
550
+ * correct fiber_safe syntax ([1024400](https://github.com/seuros/breaker_machines/commit/10244005c40ac1b248dc5eb746056b9de27f8a1c))
551
+ * extract hedged requests ([94dfcc1](https://github.com/seuros/breaker_machines/commit/94dfcc1ebd967a4bc04e3dff12c89eecbc9f13bf))
552
+ * extract hedged requests ([afd9b4b](https://github.com/seuros/breaker_machines/commit/afd9b4b3b5792798fffdb2b1afb17b8ba337013d))
data/Cargo.toml ADDED
@@ -0,0 +1,64 @@
1
+ [workspace]
2
+ members = ["ext/breaker_machines_native/core", "ext/breaker_machines_native/ffi"]
3
+ default-members = ["ext/breaker_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
+ breaker-machines = { path = "ext/breaker_machines_native/core" }
13
+ matryona-machines = { version = ">=0.6", default-features = false }
14
+ magnus = { version = "0.9.3", default-features = false }
15
+ # Nothing here calls rb-sys directly: this is the compiled fallback that
16
+ # implements the stable API for a Ruby rb-sys ships no pre-generated bindings
17
+ # for, such as a preview. magnus asks for "stable-api" without it, and its
18
+ # default-features = false drops the default that would have supplied it.
19
+ rb-sys = { version = "0.9.130", default-features = false, features = ["stable-api-compiled-fallback"] }
20
+
21
+ [workspace.lints.rust]
22
+ unsafe_code = "deny"
23
+ unused_must_use = "warn"
24
+ missing_docs = "warn"
25
+
26
+ [workspace.lints.clippy]
27
+ all = { level = "warn", priority = -1 }
28
+ pedantic = { level = "warn", priority = -1 }
29
+ nursery = { level = "warn", priority = -1 }
30
+ await_holding_invalid_type = "deny"
31
+ await_holding_lock = "deny"
32
+ expect_used = "deny"
33
+ identity_op = "deny"
34
+ manual_clamp = "deny"
35
+ manual_filter = "deny"
36
+ manual_find = "deny"
37
+ manual_flatten = "deny"
38
+ manual_map = "deny"
39
+ manual_memcpy = "deny"
40
+ manual_non_exhaustive = "deny"
41
+ manual_ok_or = "deny"
42
+ manual_range_contains = "deny"
43
+ manual_retain = "deny"
44
+ manual_strip = "deny"
45
+ manual_try_fold = "deny"
46
+ manual_unwrap_or = "deny"
47
+ needless_borrow = "deny"
48
+ needless_borrowed_reference = "deny"
49
+ needless_collect = "deny"
50
+ needless_late_init = "deny"
51
+ needless_option_as_deref = "deny"
52
+ needless_question_mark = "deny"
53
+ needless_update = "deny"
54
+ redundant_clone = "deny"
55
+ redundant_closure = "deny"
56
+ redundant_closure_for_method_calls = "deny"
57
+ redundant_static_lifetimes = "deny"
58
+ trivially_copy_pass_by_ref = "deny"
59
+ uninlined_format_args = "deny"
60
+ unnecessary_filter_map = "deny"
61
+ unnecessary_lazy_evaluations = "deny"
62
+ unnecessary_sort_by = "deny"
63
+ unnecessary_to_owned = "deny"
64
+ unwrap_used = "deny"