ratatui_ruby 0.1.0
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/.build.yml +34 -0
- data/.pre-commit-config.yaml +9 -0
- data/.rubocop.yml +8 -0
- data/.ruby-version +1 -0
- data/AGENTS.md +119 -0
- data/CHANGELOG.md +15 -0
- data/CODE_OF_CONDUCT.md +30 -0
- data/CONTRIBUTING.md +40 -0
- data/LICENSE +15 -0
- data/LICENSES/AGPL-3.0-or-later.txt +661 -0
- data/LICENSES/BSD-2-Clause.txt +9 -0
- data/LICENSES/CC-BY-SA-4.0.txt +427 -0
- data/LICENSES/CC0-1.0.txt +121 -0
- data/LICENSES/MIT.txt +21 -0
- data/README.md +86 -0
- data/REUSE.toml +17 -0
- data/Rakefile +108 -0
- data/docs/application_testing.md +96 -0
- data/docs/contributors/design/ruby_frontend.md +100 -0
- data/docs/contributors/design/rust_backend.md +61 -0
- data/docs/contributors/design.md +11 -0
- data/docs/contributors/index.md +16 -0
- data/docs/images/examples-analytics.rb.png +0 -0
- data/docs/images/examples-box_demo.rb.png +0 -0
- data/docs/images/examples-dashboard.rb.png +0 -0
- data/docs/images/examples-login_form.rb.png +0 -0
- data/docs/images/examples-map_demo.rb.png +0 -0
- data/docs/images/examples-mouse_events.rb.png +0 -0
- data/docs/images/examples-scrollbar_demo.rb.png +0 -0
- data/docs/images/examples-stock_ticker.rb.png +0 -0
- data/docs/images/examples-system_monitor.rb.png +0 -0
- data/docs/index.md +18 -0
- data/docs/quickstart.md +126 -0
- data/examples/analytics.rb +87 -0
- data/examples/box_demo.rb +71 -0
- data/examples/dashboard.rb +72 -0
- data/examples/login_form.rb +114 -0
- data/examples/map_demo.rb +58 -0
- data/examples/mouse_events.rb +95 -0
- data/examples/scrollbar_demo.rb +75 -0
- data/examples/stock_ticker.rb +85 -0
- data/examples/system_monitor.rb +93 -0
- data/examples/test_analytics.rb +65 -0
- data/examples/test_box_demo.rb +38 -0
- data/examples/test_dashboard.rb +38 -0
- data/examples/test_login_form.rb +63 -0
- data/examples/test_map_demo.rb +100 -0
- data/examples/test_stock_ticker.rb +39 -0
- data/examples/test_system_monitor.rb +40 -0
- data/ext/ratatui_ruby/.cargo/config.toml +8 -0
- data/ext/ratatui_ruby/.gitignore +4 -0
- data/ext/ratatui_ruby/Cargo.lock +698 -0
- data/ext/ratatui_ruby/Cargo.toml +16 -0
- data/ext/ratatui_ruby/extconf.rb +12 -0
- data/ext/ratatui_ruby/src/events.rs +279 -0
- data/ext/ratatui_ruby/src/lib.rs +105 -0
- data/ext/ratatui_ruby/src/rendering.rs +31 -0
- data/ext/ratatui_ruby/src/style.rs +149 -0
- data/ext/ratatui_ruby/src/terminal.rs +131 -0
- data/ext/ratatui_ruby/src/widgets/barchart.rs +73 -0
- data/ext/ratatui_ruby/src/widgets/block.rs +12 -0
- data/ext/ratatui_ruby/src/widgets/canvas.rs +146 -0
- data/ext/ratatui_ruby/src/widgets/center.rs +81 -0
- data/ext/ratatui_ruby/src/widgets/cursor.rs +29 -0
- data/ext/ratatui_ruby/src/widgets/gauge.rs +50 -0
- data/ext/ratatui_ruby/src/widgets/layout.rs +82 -0
- data/ext/ratatui_ruby/src/widgets/linechart.rs +154 -0
- data/ext/ratatui_ruby/src/widgets/list.rs +62 -0
- data/ext/ratatui_ruby/src/widgets/mod.rs +18 -0
- data/ext/ratatui_ruby/src/widgets/overlay.rs +20 -0
- data/ext/ratatui_ruby/src/widgets/paragraph.rs +56 -0
- data/ext/ratatui_ruby/src/widgets/scrollbar.rs +68 -0
- data/ext/ratatui_ruby/src/widgets/sparkline.rs +59 -0
- data/ext/ratatui_ruby/src/widgets/table.rs +117 -0
- data/ext/ratatui_ruby/src/widgets/tabs.rs +51 -0
- data/lib/ratatui_ruby/output.rb +7 -0
- data/lib/ratatui_ruby/schema/bar_chart.rb +28 -0
- data/lib/ratatui_ruby/schema/block.rb +23 -0
- data/lib/ratatui_ruby/schema/canvas.rb +62 -0
- data/lib/ratatui_ruby/schema/center.rb +19 -0
- data/lib/ratatui_ruby/schema/constraint.rb +33 -0
- data/lib/ratatui_ruby/schema/cursor.rb +17 -0
- data/lib/ratatui_ruby/schema/gauge.rb +24 -0
- data/lib/ratatui_ruby/schema/layout.rb +22 -0
- data/lib/ratatui_ruby/schema/line_chart.rb +41 -0
- data/lib/ratatui_ruby/schema/list.rb +22 -0
- data/lib/ratatui_ruby/schema/overlay.rb +15 -0
- data/lib/ratatui_ruby/schema/paragraph.rb +37 -0
- data/lib/ratatui_ruby/schema/scrollbar.rb +33 -0
- data/lib/ratatui_ruby/schema/sparkline.rb +24 -0
- data/lib/ratatui_ruby/schema/style.rb +31 -0
- data/lib/ratatui_ruby/schema/table.rb +24 -0
- data/lib/ratatui_ruby/schema/tabs.rb +22 -0
- data/lib/ratatui_ruby/test_helper.rb +75 -0
- data/lib/ratatui_ruby/version.rb +10 -0
- data/lib/ratatui_ruby.rb +87 -0
- data/sig/ratatui_ruby/ratatui_ruby.rbs +16 -0
- data/sig/ratatui_ruby/schema/bar_chart.rbs +14 -0
- data/sig/ratatui_ruby/schema/block.rbs +11 -0
- data/sig/ratatui_ruby/schema/canvas.rbs +62 -0
- data/sig/ratatui_ruby/schema/center.rbs +11 -0
- data/sig/ratatui_ruby/schema/constraint.rbs +13 -0
- data/sig/ratatui_ruby/schema/cursor.rbs +10 -0
- data/sig/ratatui_ruby/schema/gauge.rbs +13 -0
- data/sig/ratatui_ruby/schema/layout.rbs +11 -0
- data/sig/ratatui_ruby/schema/line_chart.rbs +20 -0
- data/sig/ratatui_ruby/schema/list.rbs +11 -0
- data/sig/ratatui_ruby/schema/overlay.rbs +9 -0
- data/sig/ratatui_ruby/schema/paragraph.rbs +11 -0
- data/sig/ratatui_ruby/schema/scrollbar.rbs +20 -0
- data/sig/ratatui_ruby/schema/sparkline.rbs +12 -0
- data/sig/ratatui_ruby/schema/style.rbs +13 -0
- data/sig/ratatui_ruby/schema/table.rbs +13 -0
- data/sig/ratatui_ruby/schema/tabs.rbs +11 -0
- data/sig/ratatui_ruby/test_helper.rbs +11 -0
- data/sig/ratatui_ruby/version.rbs +6 -0
- data/vendor/goodcop/base.yml +1047 -0
- metadata +196 -0
|
@@ -0,0 +1,698 @@
|
|
|
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.4"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "allocator-api2"
|
|
16
|
+
version = "0.2.21"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bindgen"
|
|
22
|
+
version = "0.69.5"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088"
|
|
25
|
+
dependencies = [
|
|
26
|
+
"bitflags",
|
|
27
|
+
"cexpr",
|
|
28
|
+
"clang-sys",
|
|
29
|
+
"itertools 0.12.1",
|
|
30
|
+
"lazy_static",
|
|
31
|
+
"lazycell",
|
|
32
|
+
"proc-macro2",
|
|
33
|
+
"quote",
|
|
34
|
+
"regex",
|
|
35
|
+
"rustc-hash",
|
|
36
|
+
"shlex",
|
|
37
|
+
"syn",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[[package]]
|
|
41
|
+
name = "bitflags"
|
|
42
|
+
version = "2.10.0"
|
|
43
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
44
|
+
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|
45
|
+
|
|
46
|
+
[[package]]
|
|
47
|
+
name = "cassowary"
|
|
48
|
+
version = "0.3.0"
|
|
49
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
50
|
+
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "castaway"
|
|
54
|
+
version = "0.2.4"
|
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
|
+
checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
|
|
57
|
+
dependencies = [
|
|
58
|
+
"rustversion",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "cexpr"
|
|
63
|
+
version = "0.6.0"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"nom",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
[[package]]
|
|
71
|
+
name = "cfg-if"
|
|
72
|
+
version = "1.0.4"
|
|
73
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
75
|
+
|
|
76
|
+
[[package]]
|
|
77
|
+
name = "clang-sys"
|
|
78
|
+
version = "1.8.1"
|
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
|
+
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
|
|
81
|
+
dependencies = [
|
|
82
|
+
"glob",
|
|
83
|
+
"libc",
|
|
84
|
+
"libloading",
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
[[package]]
|
|
88
|
+
name = "compact_str"
|
|
89
|
+
version = "0.7.1"
|
|
90
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
91
|
+
checksum = "f86b9c4c00838774a6d902ef931eff7470720c51d90c2e32cfe15dc304737b3f"
|
|
92
|
+
dependencies = [
|
|
93
|
+
"castaway",
|
|
94
|
+
"cfg-if",
|
|
95
|
+
"itoa",
|
|
96
|
+
"ryu",
|
|
97
|
+
"static_assertions",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "crossterm"
|
|
102
|
+
version = "0.27.0"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"bitflags",
|
|
107
|
+
"crossterm_winapi",
|
|
108
|
+
"libc",
|
|
109
|
+
"mio",
|
|
110
|
+
"parking_lot",
|
|
111
|
+
"signal-hook",
|
|
112
|
+
"signal-hook-mio",
|
|
113
|
+
"winapi",
|
|
114
|
+
]
|
|
115
|
+
|
|
116
|
+
[[package]]
|
|
117
|
+
name = "crossterm_winapi"
|
|
118
|
+
version = "0.9.1"
|
|
119
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
+
checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
|
|
121
|
+
dependencies = [
|
|
122
|
+
"winapi",
|
|
123
|
+
]
|
|
124
|
+
|
|
125
|
+
[[package]]
|
|
126
|
+
name = "either"
|
|
127
|
+
version = "1.15.0"
|
|
128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
129
|
+
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
130
|
+
|
|
131
|
+
[[package]]
|
|
132
|
+
name = "equivalent"
|
|
133
|
+
version = "1.0.2"
|
|
134
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "foldhash"
|
|
139
|
+
version = "0.1.5"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
142
|
+
|
|
143
|
+
[[package]]
|
|
144
|
+
name = "glob"
|
|
145
|
+
version = "0.3.3"
|
|
146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
+
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "hashbrown"
|
|
151
|
+
version = "0.15.5"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
|
154
|
+
dependencies = [
|
|
155
|
+
"allocator-api2",
|
|
156
|
+
"equivalent",
|
|
157
|
+
"foldhash",
|
|
158
|
+
]
|
|
159
|
+
|
|
160
|
+
[[package]]
|
|
161
|
+
name = "heck"
|
|
162
|
+
version = "0.5.0"
|
|
163
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "itertools"
|
|
168
|
+
version = "0.12.1"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"either",
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "itertools"
|
|
177
|
+
version = "0.13.0"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
180
|
+
dependencies = [
|
|
181
|
+
"either",
|
|
182
|
+
]
|
|
183
|
+
|
|
184
|
+
[[package]]
|
|
185
|
+
name = "itoa"
|
|
186
|
+
version = "1.0.16"
|
|
187
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
188
|
+
checksum = "7ee5b5339afb4c41626dde77b7a611bd4f2c202b897852b4bcf5d03eddc61010"
|
|
189
|
+
|
|
190
|
+
[[package]]
|
|
191
|
+
name = "lazy_static"
|
|
192
|
+
version = "1.5.0"
|
|
193
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
195
|
+
|
|
196
|
+
[[package]]
|
|
197
|
+
name = "lazycell"
|
|
198
|
+
version = "1.3.0"
|
|
199
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
+
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
201
|
+
|
|
202
|
+
[[package]]
|
|
203
|
+
name = "libc"
|
|
204
|
+
version = "0.2.178"
|
|
205
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
206
|
+
checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
|
|
207
|
+
|
|
208
|
+
[[package]]
|
|
209
|
+
name = "libloading"
|
|
210
|
+
version = "0.8.9"
|
|
211
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
213
|
+
dependencies = [
|
|
214
|
+
"cfg-if",
|
|
215
|
+
"windows-link",
|
|
216
|
+
]
|
|
217
|
+
|
|
218
|
+
[[package]]
|
|
219
|
+
name = "lock_api"
|
|
220
|
+
version = "0.4.14"
|
|
221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
223
|
+
dependencies = [
|
|
224
|
+
"scopeguard",
|
|
225
|
+
]
|
|
226
|
+
|
|
227
|
+
[[package]]
|
|
228
|
+
name = "log"
|
|
229
|
+
version = "0.4.29"
|
|
230
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
231
|
+
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
232
|
+
|
|
233
|
+
[[package]]
|
|
234
|
+
name = "lru"
|
|
235
|
+
version = "0.12.5"
|
|
236
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
237
|
+
checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
|
|
238
|
+
dependencies = [
|
|
239
|
+
"hashbrown",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "magnus"
|
|
244
|
+
version = "0.6.4"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "b1597ef40aa8c36be098249e82c9a20cf7199278ac1c1a1a995eeead6a184479"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"magnus-macros",
|
|
249
|
+
"rb-sys",
|
|
250
|
+
"rb-sys-env",
|
|
251
|
+
"seq-macro",
|
|
252
|
+
]
|
|
253
|
+
|
|
254
|
+
[[package]]
|
|
255
|
+
name = "magnus-macros"
|
|
256
|
+
version = "0.6.0"
|
|
257
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
+
checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
|
|
259
|
+
dependencies = [
|
|
260
|
+
"proc-macro2",
|
|
261
|
+
"quote",
|
|
262
|
+
"syn",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "memchr"
|
|
267
|
+
version = "2.7.6"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
270
|
+
|
|
271
|
+
[[package]]
|
|
272
|
+
name = "minimal-lexical"
|
|
273
|
+
version = "0.2.1"
|
|
274
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
276
|
+
|
|
277
|
+
[[package]]
|
|
278
|
+
name = "mio"
|
|
279
|
+
version = "0.8.11"
|
|
280
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
281
|
+
checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
|
|
282
|
+
dependencies = [
|
|
283
|
+
"libc",
|
|
284
|
+
"log",
|
|
285
|
+
"wasi",
|
|
286
|
+
"windows-sys",
|
|
287
|
+
]
|
|
288
|
+
|
|
289
|
+
[[package]]
|
|
290
|
+
name = "nom"
|
|
291
|
+
version = "7.1.3"
|
|
292
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
293
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
294
|
+
dependencies = [
|
|
295
|
+
"memchr",
|
|
296
|
+
"minimal-lexical",
|
|
297
|
+
]
|
|
298
|
+
|
|
299
|
+
[[package]]
|
|
300
|
+
name = "parking_lot"
|
|
301
|
+
version = "0.12.5"
|
|
302
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
304
|
+
dependencies = [
|
|
305
|
+
"lock_api",
|
|
306
|
+
"parking_lot_core",
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
[[package]]
|
|
310
|
+
name = "parking_lot_core"
|
|
311
|
+
version = "0.9.12"
|
|
312
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
313
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
314
|
+
dependencies = [
|
|
315
|
+
"cfg-if",
|
|
316
|
+
"libc",
|
|
317
|
+
"redox_syscall",
|
|
318
|
+
"smallvec",
|
|
319
|
+
"windows-link",
|
|
320
|
+
]
|
|
321
|
+
|
|
322
|
+
[[package]]
|
|
323
|
+
name = "paste"
|
|
324
|
+
version = "1.0.15"
|
|
325
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
326
|
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
327
|
+
|
|
328
|
+
[[package]]
|
|
329
|
+
name = "proc-macro2"
|
|
330
|
+
version = "1.0.103"
|
|
331
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
332
|
+
checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
|
|
333
|
+
dependencies = [
|
|
334
|
+
"unicode-ident",
|
|
335
|
+
]
|
|
336
|
+
|
|
337
|
+
[[package]]
|
|
338
|
+
name = "quote"
|
|
339
|
+
version = "1.0.42"
|
|
340
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
341
|
+
checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
|
|
342
|
+
dependencies = [
|
|
343
|
+
"proc-macro2",
|
|
344
|
+
]
|
|
345
|
+
|
|
346
|
+
[[package]]
|
|
347
|
+
name = "ratatui"
|
|
348
|
+
version = "0.26.3"
|
|
349
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
350
|
+
checksum = "f44c9e68fd46eda15c646fbb85e1040b657a58cdc8c98db1d97a55930d991eef"
|
|
351
|
+
dependencies = [
|
|
352
|
+
"bitflags",
|
|
353
|
+
"cassowary",
|
|
354
|
+
"compact_str",
|
|
355
|
+
"crossterm",
|
|
356
|
+
"itertools 0.12.1",
|
|
357
|
+
"lru",
|
|
358
|
+
"paste",
|
|
359
|
+
"stability",
|
|
360
|
+
"strum",
|
|
361
|
+
"unicode-segmentation",
|
|
362
|
+
"unicode-truncate",
|
|
363
|
+
"unicode-width",
|
|
364
|
+
]
|
|
365
|
+
|
|
366
|
+
[[package]]
|
|
367
|
+
name = "ratatui_ruby"
|
|
368
|
+
version = "0.1.0"
|
|
369
|
+
dependencies = [
|
|
370
|
+
"crossterm",
|
|
371
|
+
"lazy_static",
|
|
372
|
+
"magnus",
|
|
373
|
+
"ratatui",
|
|
374
|
+
]
|
|
375
|
+
|
|
376
|
+
[[package]]
|
|
377
|
+
name = "rb-sys"
|
|
378
|
+
version = "0.9.123"
|
|
379
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
380
|
+
checksum = "45fb1a185af97ee456f1c9e56dbe6e2e662bec4fdeaf83c4c28e0e6adfb18816"
|
|
381
|
+
dependencies = [
|
|
382
|
+
"rb-sys-build",
|
|
383
|
+
]
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "rb-sys-build"
|
|
387
|
+
version = "0.9.123"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "a58ebd02d7a6033e6a5f6f8d150c1e9f16506039092b84a73e6bedce6d3adf41"
|
|
390
|
+
dependencies = [
|
|
391
|
+
"bindgen",
|
|
392
|
+
"lazy_static",
|
|
393
|
+
"proc-macro2",
|
|
394
|
+
"quote",
|
|
395
|
+
"regex",
|
|
396
|
+
"shell-words",
|
|
397
|
+
"syn",
|
|
398
|
+
]
|
|
399
|
+
|
|
400
|
+
[[package]]
|
|
401
|
+
name = "rb-sys-env"
|
|
402
|
+
version = "0.1.2"
|
|
403
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
404
|
+
checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
405
|
+
|
|
406
|
+
[[package]]
|
|
407
|
+
name = "redox_syscall"
|
|
408
|
+
version = "0.5.18"
|
|
409
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
411
|
+
dependencies = [
|
|
412
|
+
"bitflags",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "regex"
|
|
417
|
+
version = "1.12.2"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4"
|
|
420
|
+
dependencies = [
|
|
421
|
+
"aho-corasick",
|
|
422
|
+
"memchr",
|
|
423
|
+
"regex-automata",
|
|
424
|
+
"regex-syntax",
|
|
425
|
+
]
|
|
426
|
+
|
|
427
|
+
[[package]]
|
|
428
|
+
name = "regex-automata"
|
|
429
|
+
version = "0.4.13"
|
|
430
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
431
|
+
checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
|
|
432
|
+
dependencies = [
|
|
433
|
+
"aho-corasick",
|
|
434
|
+
"memchr",
|
|
435
|
+
"regex-syntax",
|
|
436
|
+
]
|
|
437
|
+
|
|
438
|
+
[[package]]
|
|
439
|
+
name = "regex-syntax"
|
|
440
|
+
version = "0.8.8"
|
|
441
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
442
|
+
checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
|
|
443
|
+
|
|
444
|
+
[[package]]
|
|
445
|
+
name = "rustc-hash"
|
|
446
|
+
version = "1.1.0"
|
|
447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
+
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "rustversion"
|
|
452
|
+
version = "1.0.22"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "ryu"
|
|
458
|
+
version = "1.0.21"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "62049b2877bf12821e8f9ad256ee38fdc31db7387ec2d3b3f403024de2034aea"
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "scopeguard"
|
|
464
|
+
version = "1.2.0"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
467
|
+
|
|
468
|
+
[[package]]
|
|
469
|
+
name = "seq-macro"
|
|
470
|
+
version = "0.3.6"
|
|
471
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
472
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
473
|
+
|
|
474
|
+
[[package]]
|
|
475
|
+
name = "shell-words"
|
|
476
|
+
version = "1.1.1"
|
|
477
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
478
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "shlex"
|
|
482
|
+
version = "1.3.0"
|
|
483
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
485
|
+
|
|
486
|
+
[[package]]
|
|
487
|
+
name = "signal-hook"
|
|
488
|
+
version = "0.3.18"
|
|
489
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
490
|
+
checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
|
|
491
|
+
dependencies = [
|
|
492
|
+
"libc",
|
|
493
|
+
"signal-hook-registry",
|
|
494
|
+
]
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "signal-hook-mio"
|
|
498
|
+
version = "0.2.5"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
|
|
501
|
+
dependencies = [
|
|
502
|
+
"libc",
|
|
503
|
+
"mio",
|
|
504
|
+
"signal-hook",
|
|
505
|
+
]
|
|
506
|
+
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "signal-hook-registry"
|
|
509
|
+
version = "1.4.7"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad"
|
|
512
|
+
dependencies = [
|
|
513
|
+
"libc",
|
|
514
|
+
]
|
|
515
|
+
|
|
516
|
+
[[package]]
|
|
517
|
+
name = "smallvec"
|
|
518
|
+
version = "1.15.1"
|
|
519
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
520
|
+
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
521
|
+
|
|
522
|
+
[[package]]
|
|
523
|
+
name = "stability"
|
|
524
|
+
version = "0.2.1"
|
|
525
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
526
|
+
checksum = "d904e7009df136af5297832a3ace3370cd14ff1546a232f4f185036c2736fcac"
|
|
527
|
+
dependencies = [
|
|
528
|
+
"quote",
|
|
529
|
+
"syn",
|
|
530
|
+
]
|
|
531
|
+
|
|
532
|
+
[[package]]
|
|
533
|
+
name = "static_assertions"
|
|
534
|
+
version = "1.1.0"
|
|
535
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
536
|
+
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
537
|
+
|
|
538
|
+
[[package]]
|
|
539
|
+
name = "strum"
|
|
540
|
+
version = "0.26.3"
|
|
541
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
542
|
+
checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
|
|
543
|
+
dependencies = [
|
|
544
|
+
"strum_macros",
|
|
545
|
+
]
|
|
546
|
+
|
|
547
|
+
[[package]]
|
|
548
|
+
name = "strum_macros"
|
|
549
|
+
version = "0.26.4"
|
|
550
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
+
checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
|
|
552
|
+
dependencies = [
|
|
553
|
+
"heck",
|
|
554
|
+
"proc-macro2",
|
|
555
|
+
"quote",
|
|
556
|
+
"rustversion",
|
|
557
|
+
"syn",
|
|
558
|
+
]
|
|
559
|
+
|
|
560
|
+
[[package]]
|
|
561
|
+
name = "syn"
|
|
562
|
+
version = "2.0.111"
|
|
563
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
564
|
+
checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
|
|
565
|
+
dependencies = [
|
|
566
|
+
"proc-macro2",
|
|
567
|
+
"quote",
|
|
568
|
+
"unicode-ident",
|
|
569
|
+
]
|
|
570
|
+
|
|
571
|
+
[[package]]
|
|
572
|
+
name = "unicode-ident"
|
|
573
|
+
version = "1.0.22"
|
|
574
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
575
|
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
576
|
+
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "unicode-segmentation"
|
|
579
|
+
version = "1.12.0"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
|
|
582
|
+
|
|
583
|
+
[[package]]
|
|
584
|
+
name = "unicode-truncate"
|
|
585
|
+
version = "1.1.0"
|
|
586
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
587
|
+
checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf"
|
|
588
|
+
dependencies = [
|
|
589
|
+
"itertools 0.13.0",
|
|
590
|
+
"unicode-segmentation",
|
|
591
|
+
"unicode-width",
|
|
592
|
+
]
|
|
593
|
+
|
|
594
|
+
[[package]]
|
|
595
|
+
name = "unicode-width"
|
|
596
|
+
version = "0.1.14"
|
|
597
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
|
+
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
|
|
599
|
+
|
|
600
|
+
[[package]]
|
|
601
|
+
name = "wasi"
|
|
602
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
603
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
605
|
+
|
|
606
|
+
[[package]]
|
|
607
|
+
name = "winapi"
|
|
608
|
+
version = "0.3.9"
|
|
609
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
610
|
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
611
|
+
dependencies = [
|
|
612
|
+
"winapi-i686-pc-windows-gnu",
|
|
613
|
+
"winapi-x86_64-pc-windows-gnu",
|
|
614
|
+
]
|
|
615
|
+
|
|
616
|
+
[[package]]
|
|
617
|
+
name = "winapi-i686-pc-windows-gnu"
|
|
618
|
+
version = "0.4.0"
|
|
619
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
620
|
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
621
|
+
|
|
622
|
+
[[package]]
|
|
623
|
+
name = "winapi-x86_64-pc-windows-gnu"
|
|
624
|
+
version = "0.4.0"
|
|
625
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
626
|
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
627
|
+
|
|
628
|
+
[[package]]
|
|
629
|
+
name = "windows-link"
|
|
630
|
+
version = "0.2.1"
|
|
631
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
632
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
633
|
+
|
|
634
|
+
[[package]]
|
|
635
|
+
name = "windows-sys"
|
|
636
|
+
version = "0.48.0"
|
|
637
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
639
|
+
dependencies = [
|
|
640
|
+
"windows-targets",
|
|
641
|
+
]
|
|
642
|
+
|
|
643
|
+
[[package]]
|
|
644
|
+
name = "windows-targets"
|
|
645
|
+
version = "0.48.5"
|
|
646
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
|
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
648
|
+
dependencies = [
|
|
649
|
+
"windows_aarch64_gnullvm",
|
|
650
|
+
"windows_aarch64_msvc",
|
|
651
|
+
"windows_i686_gnu",
|
|
652
|
+
"windows_i686_msvc",
|
|
653
|
+
"windows_x86_64_gnu",
|
|
654
|
+
"windows_x86_64_gnullvm",
|
|
655
|
+
"windows_x86_64_msvc",
|
|
656
|
+
]
|
|
657
|
+
|
|
658
|
+
[[package]]
|
|
659
|
+
name = "windows_aarch64_gnullvm"
|
|
660
|
+
version = "0.48.5"
|
|
661
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
662
|
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
663
|
+
|
|
664
|
+
[[package]]
|
|
665
|
+
name = "windows_aarch64_msvc"
|
|
666
|
+
version = "0.48.5"
|
|
667
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
668
|
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
669
|
+
|
|
670
|
+
[[package]]
|
|
671
|
+
name = "windows_i686_gnu"
|
|
672
|
+
version = "0.48.5"
|
|
673
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
674
|
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
675
|
+
|
|
676
|
+
[[package]]
|
|
677
|
+
name = "windows_i686_msvc"
|
|
678
|
+
version = "0.48.5"
|
|
679
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
680
|
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
681
|
+
|
|
682
|
+
[[package]]
|
|
683
|
+
name = "windows_x86_64_gnu"
|
|
684
|
+
version = "0.48.5"
|
|
685
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
686
|
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
687
|
+
|
|
688
|
+
[[package]]
|
|
689
|
+
name = "windows_x86_64_gnullvm"
|
|
690
|
+
version = "0.48.5"
|
|
691
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
692
|
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
693
|
+
|
|
694
|
+
[[package]]
|
|
695
|
+
name = "windows_x86_64_msvc"
|
|
696
|
+
version = "0.48.5"
|
|
697
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
698
|
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2025 Kerrick Long <me@kerricklong.com>
|
|
2
|
+
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
3
|
+
|
|
4
|
+
[package]
|
|
5
|
+
name = "ratatui_ruby"
|
|
6
|
+
version = "0.1.0"
|
|
7
|
+
edition = "2021"
|
|
8
|
+
|
|
9
|
+
[lib]
|
|
10
|
+
crate-type = ["cdylib"]
|
|
11
|
+
|
|
12
|
+
[dependencies]
|
|
13
|
+
magnus = "0.6"
|
|
14
|
+
ratatui = "0.26"
|
|
15
|
+
crossterm = "0.27"
|
|
16
|
+
lazy_static = "1.4"
|