elelem-ratatui 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/.agents/backlog/001-run-without-dev-tty.md +57 -0
- data/.agents/backlog/002-manual-scrollback.md +46 -0
- data/.agents/backlog/003-quit-from-any-thread.md +49 -0
- data/.agents/backlog/004-readme.md +41 -0
- data/.agents/backlog/005-gem-metadata-links.md +65 -0
- data/.github/workflows/release.yml +73 -0
- data/.release-please-manifest.json +3 -0
- data/.rspec +1 -0
- data/.rubocop.yml +62 -0
- data/CHANGELOG.md +22 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +13 -0
- data/exe/elelem-ratatui +9 -0
- data/ext/elelem/ratatui/extconf.rb +36 -0
- data/lib/elelem/ratatui/input.rb +20 -0
- data/lib/elelem/ratatui/output.rb +47 -0
- data/lib/elelem/ratatui/session.rb +56 -0
- data/lib/elelem/ratatui/version.rb +7 -0
- data/lib/elelem/ratatui.rb +15 -0
- data/release-please-config.json +12 -0
- data/rust/Cargo.lock +662 -0
- data/rust/Cargo.toml +17 -0
- data/rust/src/app.rs +264 -0
- data/rust/src/main.rs +181 -0
- data/rust/src/protocol.rs +34 -0
- data/spec/elelem/ratatui/output_spec.rb +28 -0
- data/spec/elelem/ratatui/session_spec.rb +36 -0
- data/spec/spec_helper.rb +11 -0
- metadata +122 -0
data/rust/Cargo.lock
ADDED
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "allocator-api2"
|
|
7
|
+
version = "0.2.21"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "2.13.1"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "cassowary"
|
|
19
|
+
version = "0.3.0"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "castaway"
|
|
25
|
+
version = "0.2.4"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"rustversion",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "cfg-if"
|
|
34
|
+
version = "1.0.4"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "compact_str"
|
|
40
|
+
version = "0.8.2"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "7fd622ebbb56a5b2ccb651b32b911cdeb2a9b4b11776b2473bf26a26a286244e"
|
|
43
|
+
dependencies = [
|
|
44
|
+
"castaway",
|
|
45
|
+
"cfg-if",
|
|
46
|
+
"itoa",
|
|
47
|
+
"rustversion",
|
|
48
|
+
"ryu",
|
|
49
|
+
"static_assertions",
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "crossterm"
|
|
54
|
+
version = "0.28.1"
|
|
55
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
|
+
checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
|
|
57
|
+
dependencies = [
|
|
58
|
+
"bitflags",
|
|
59
|
+
"crossterm_winapi",
|
|
60
|
+
"mio",
|
|
61
|
+
"parking_lot",
|
|
62
|
+
"rustix",
|
|
63
|
+
"signal-hook",
|
|
64
|
+
"signal-hook-mio",
|
|
65
|
+
"winapi",
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
[[package]]
|
|
69
|
+
name = "crossterm_winapi"
|
|
70
|
+
version = "0.9.1"
|
|
71
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
72
|
+
checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
|
|
73
|
+
dependencies = [
|
|
74
|
+
"winapi",
|
|
75
|
+
]
|
|
76
|
+
|
|
77
|
+
[[package]]
|
|
78
|
+
name = "darling"
|
|
79
|
+
version = "0.24.1"
|
|
80
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
81
|
+
checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec"
|
|
82
|
+
dependencies = [
|
|
83
|
+
"darling_core",
|
|
84
|
+
"darling_macro",
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
[[package]]
|
|
88
|
+
name = "darling_core"
|
|
89
|
+
version = "0.24.1"
|
|
90
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
91
|
+
checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff"
|
|
92
|
+
dependencies = [
|
|
93
|
+
"ident_case",
|
|
94
|
+
"proc-macro2",
|
|
95
|
+
"quote",
|
|
96
|
+
"strsim",
|
|
97
|
+
"syn 3.0.5",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
[[package]]
|
|
101
|
+
name = "darling_macro"
|
|
102
|
+
version = "0.24.1"
|
|
103
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
104
|
+
checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785"
|
|
105
|
+
dependencies = [
|
|
106
|
+
"darling_core",
|
|
107
|
+
"quote",
|
|
108
|
+
"syn 3.0.5",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "either"
|
|
113
|
+
version = "1.18.0"
|
|
114
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
+
checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
|
|
116
|
+
|
|
117
|
+
[[package]]
|
|
118
|
+
name = "elelem-ratatui"
|
|
119
|
+
version = "0.1.0"
|
|
120
|
+
dependencies = [
|
|
121
|
+
"crossterm",
|
|
122
|
+
"ratatui",
|
|
123
|
+
"serde",
|
|
124
|
+
"serde_json",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "equivalent"
|
|
129
|
+
version = "1.0.2"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "errno"
|
|
135
|
+
version = "0.3.14"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
138
|
+
dependencies = [
|
|
139
|
+
"libc",
|
|
140
|
+
"windows-sys 0.61.2",
|
|
141
|
+
]
|
|
142
|
+
|
|
143
|
+
[[package]]
|
|
144
|
+
name = "foldhash"
|
|
145
|
+
version = "0.1.5"
|
|
146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
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 = "ident_case"
|
|
168
|
+
version = "1.0.1"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
171
|
+
|
|
172
|
+
[[package]]
|
|
173
|
+
name = "indoc"
|
|
174
|
+
version = "2.0.7"
|
|
175
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
176
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
177
|
+
dependencies = [
|
|
178
|
+
"rustversion",
|
|
179
|
+
]
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "instability"
|
|
183
|
+
version = "0.3.13"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "2bf84e73fa6f27f299dec58e13223cf70db80da872eb921d4f6138342a0eabc8"
|
|
186
|
+
dependencies = [
|
|
187
|
+
"darling",
|
|
188
|
+
"indoc",
|
|
189
|
+
"proc-macro2",
|
|
190
|
+
"quote",
|
|
191
|
+
"syn 3.0.5",
|
|
192
|
+
]
|
|
193
|
+
|
|
194
|
+
[[package]]
|
|
195
|
+
name = "itertools"
|
|
196
|
+
version = "0.13.0"
|
|
197
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
199
|
+
dependencies = [
|
|
200
|
+
"either",
|
|
201
|
+
]
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "itoa"
|
|
205
|
+
version = "1.0.18"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "libc"
|
|
211
|
+
version = "0.2.189"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
214
|
+
|
|
215
|
+
[[package]]
|
|
216
|
+
name = "linux-raw-sys"
|
|
217
|
+
version = "0.4.15"
|
|
218
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
219
|
+
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
|
|
220
|
+
|
|
221
|
+
[[package]]
|
|
222
|
+
name = "lock_api"
|
|
223
|
+
version = "0.4.14"
|
|
224
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
226
|
+
dependencies = [
|
|
227
|
+
"scopeguard",
|
|
228
|
+
]
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "log"
|
|
232
|
+
version = "0.4.34"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
235
|
+
|
|
236
|
+
[[package]]
|
|
237
|
+
name = "lru"
|
|
238
|
+
version = "0.12.5"
|
|
239
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
+
checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
|
|
241
|
+
dependencies = [
|
|
242
|
+
"hashbrown",
|
|
243
|
+
]
|
|
244
|
+
|
|
245
|
+
[[package]]
|
|
246
|
+
name = "memchr"
|
|
247
|
+
version = "2.8.3"
|
|
248
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
249
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
250
|
+
|
|
251
|
+
[[package]]
|
|
252
|
+
name = "mio"
|
|
253
|
+
version = "1.2.3"
|
|
254
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
255
|
+
checksum = "4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8"
|
|
256
|
+
dependencies = [
|
|
257
|
+
"libc",
|
|
258
|
+
"log",
|
|
259
|
+
"wasi",
|
|
260
|
+
"windows-sys 0.61.2",
|
|
261
|
+
]
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "parking_lot"
|
|
265
|
+
version = "0.12.5"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
268
|
+
dependencies = [
|
|
269
|
+
"lock_api",
|
|
270
|
+
"parking_lot_core",
|
|
271
|
+
]
|
|
272
|
+
|
|
273
|
+
[[package]]
|
|
274
|
+
name = "parking_lot_core"
|
|
275
|
+
version = "0.9.12"
|
|
276
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
277
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
278
|
+
dependencies = [
|
|
279
|
+
"cfg-if",
|
|
280
|
+
"libc",
|
|
281
|
+
"redox_syscall",
|
|
282
|
+
"smallvec",
|
|
283
|
+
"windows-link",
|
|
284
|
+
]
|
|
285
|
+
|
|
286
|
+
[[package]]
|
|
287
|
+
name = "paste"
|
|
288
|
+
version = "1.0.15"
|
|
289
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
290
|
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "proc-macro2"
|
|
294
|
+
version = "1.0.107"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
297
|
+
dependencies = [
|
|
298
|
+
"unicode-ident",
|
|
299
|
+
]
|
|
300
|
+
|
|
301
|
+
[[package]]
|
|
302
|
+
name = "quote"
|
|
303
|
+
version = "1.0.47"
|
|
304
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
305
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
306
|
+
dependencies = [
|
|
307
|
+
"proc-macro2",
|
|
308
|
+
]
|
|
309
|
+
|
|
310
|
+
[[package]]
|
|
311
|
+
name = "ratatui"
|
|
312
|
+
version = "0.29.0"
|
|
313
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
+
checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b"
|
|
315
|
+
dependencies = [
|
|
316
|
+
"bitflags",
|
|
317
|
+
"cassowary",
|
|
318
|
+
"compact_str",
|
|
319
|
+
"crossterm",
|
|
320
|
+
"indoc",
|
|
321
|
+
"instability",
|
|
322
|
+
"itertools",
|
|
323
|
+
"lru",
|
|
324
|
+
"paste",
|
|
325
|
+
"strum",
|
|
326
|
+
"unicode-segmentation",
|
|
327
|
+
"unicode-truncate",
|
|
328
|
+
"unicode-width 0.2.0",
|
|
329
|
+
]
|
|
330
|
+
|
|
331
|
+
[[package]]
|
|
332
|
+
name = "redox_syscall"
|
|
333
|
+
version = "0.5.18"
|
|
334
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
335
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
336
|
+
dependencies = [
|
|
337
|
+
"bitflags",
|
|
338
|
+
]
|
|
339
|
+
|
|
340
|
+
[[package]]
|
|
341
|
+
name = "rustix"
|
|
342
|
+
version = "0.38.44"
|
|
343
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
344
|
+
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
|
|
345
|
+
dependencies = [
|
|
346
|
+
"bitflags",
|
|
347
|
+
"errno",
|
|
348
|
+
"libc",
|
|
349
|
+
"linux-raw-sys",
|
|
350
|
+
"windows-sys 0.59.0",
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "rustversion"
|
|
355
|
+
version = "1.0.23"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
358
|
+
|
|
359
|
+
[[package]]
|
|
360
|
+
name = "ryu"
|
|
361
|
+
version = "1.0.23"
|
|
362
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
363
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
364
|
+
|
|
365
|
+
[[package]]
|
|
366
|
+
name = "scopeguard"
|
|
367
|
+
version = "1.2.0"
|
|
368
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
369
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "serde"
|
|
373
|
+
version = "1.0.229"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"serde_core",
|
|
378
|
+
"serde_derive",
|
|
379
|
+
]
|
|
380
|
+
|
|
381
|
+
[[package]]
|
|
382
|
+
name = "serde_core"
|
|
383
|
+
version = "1.0.229"
|
|
384
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
386
|
+
dependencies = [
|
|
387
|
+
"serde_derive",
|
|
388
|
+
]
|
|
389
|
+
|
|
390
|
+
[[package]]
|
|
391
|
+
name = "serde_derive"
|
|
392
|
+
version = "1.0.229"
|
|
393
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
394
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
395
|
+
dependencies = [
|
|
396
|
+
"proc-macro2",
|
|
397
|
+
"quote",
|
|
398
|
+
"syn 3.0.5",
|
|
399
|
+
]
|
|
400
|
+
|
|
401
|
+
[[package]]
|
|
402
|
+
name = "serde_json"
|
|
403
|
+
version = "1.0.151"
|
|
404
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
405
|
+
checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
|
|
406
|
+
dependencies = [
|
|
407
|
+
"itoa",
|
|
408
|
+
"memchr",
|
|
409
|
+
"serde",
|
|
410
|
+
"serde_core",
|
|
411
|
+
"zmij",
|
|
412
|
+
]
|
|
413
|
+
|
|
414
|
+
[[package]]
|
|
415
|
+
name = "signal-hook"
|
|
416
|
+
version = "0.3.18"
|
|
417
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
418
|
+
checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
|
|
419
|
+
dependencies = [
|
|
420
|
+
"libc",
|
|
421
|
+
"signal-hook-registry",
|
|
422
|
+
]
|
|
423
|
+
|
|
424
|
+
[[package]]
|
|
425
|
+
name = "signal-hook-mio"
|
|
426
|
+
version = "0.2.5"
|
|
427
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
+
checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
|
|
429
|
+
dependencies = [
|
|
430
|
+
"libc",
|
|
431
|
+
"mio",
|
|
432
|
+
"signal-hook",
|
|
433
|
+
]
|
|
434
|
+
|
|
435
|
+
[[package]]
|
|
436
|
+
name = "signal-hook-registry"
|
|
437
|
+
version = "1.4.8"
|
|
438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
439
|
+
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
|
|
440
|
+
dependencies = [
|
|
441
|
+
"errno",
|
|
442
|
+
"libc",
|
|
443
|
+
]
|
|
444
|
+
|
|
445
|
+
[[package]]
|
|
446
|
+
name = "smallvec"
|
|
447
|
+
version = "1.16.0"
|
|
448
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
449
|
+
checksum = "b9be42f50aa861c555654aa3a37f52f4b1074bacf4e48fe0ef7fa584e80f1f0f"
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "static_assertions"
|
|
453
|
+
version = "1.1.0"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
456
|
+
|
|
457
|
+
[[package]]
|
|
458
|
+
name = "strsim"
|
|
459
|
+
version = "0.11.1"
|
|
460
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "strum"
|
|
465
|
+
version = "0.26.3"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"strum_macros",
|
|
470
|
+
]
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "strum_macros"
|
|
474
|
+
version = "0.26.4"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
|
|
477
|
+
dependencies = [
|
|
478
|
+
"heck",
|
|
479
|
+
"proc-macro2",
|
|
480
|
+
"quote",
|
|
481
|
+
"rustversion",
|
|
482
|
+
"syn 2.0.119",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "syn"
|
|
487
|
+
version = "2.0.119"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
490
|
+
dependencies = [
|
|
491
|
+
"proc-macro2",
|
|
492
|
+
"quote",
|
|
493
|
+
"unicode-ident",
|
|
494
|
+
]
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "syn"
|
|
498
|
+
version = "3.0.5"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "12df2e0110f65b775f769bb17ef989067a1d931b2eb822bd4346631eeada89f9"
|
|
501
|
+
dependencies = [
|
|
502
|
+
"proc-macro2",
|
|
503
|
+
"quote",
|
|
504
|
+
"unicode-ident",
|
|
505
|
+
]
|
|
506
|
+
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "unicode-ident"
|
|
509
|
+
version = "1.0.24"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
512
|
+
|
|
513
|
+
[[package]]
|
|
514
|
+
name = "unicode-segmentation"
|
|
515
|
+
version = "1.13.3"
|
|
516
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
517
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
518
|
+
|
|
519
|
+
[[package]]
|
|
520
|
+
name = "unicode-truncate"
|
|
521
|
+
version = "1.1.0"
|
|
522
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
523
|
+
checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf"
|
|
524
|
+
dependencies = [
|
|
525
|
+
"itertools",
|
|
526
|
+
"unicode-segmentation",
|
|
527
|
+
"unicode-width 0.1.14",
|
|
528
|
+
]
|
|
529
|
+
|
|
530
|
+
[[package]]
|
|
531
|
+
name = "unicode-width"
|
|
532
|
+
version = "0.1.14"
|
|
533
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
534
|
+
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
|
|
535
|
+
|
|
536
|
+
[[package]]
|
|
537
|
+
name = "unicode-width"
|
|
538
|
+
version = "0.2.0"
|
|
539
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
540
|
+
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "wasi"
|
|
544
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
547
|
+
|
|
548
|
+
[[package]]
|
|
549
|
+
name = "winapi"
|
|
550
|
+
version = "0.3.9"
|
|
551
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
552
|
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
553
|
+
dependencies = [
|
|
554
|
+
"winapi-i686-pc-windows-gnu",
|
|
555
|
+
"winapi-x86_64-pc-windows-gnu",
|
|
556
|
+
]
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "winapi-i686-pc-windows-gnu"
|
|
560
|
+
version = "0.4.0"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "winapi-x86_64-pc-windows-gnu"
|
|
566
|
+
version = "0.4.0"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
569
|
+
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "windows-link"
|
|
572
|
+
version = "0.2.1"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
575
|
+
|
|
576
|
+
[[package]]
|
|
577
|
+
name = "windows-sys"
|
|
578
|
+
version = "0.59.0"
|
|
579
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
581
|
+
dependencies = [
|
|
582
|
+
"windows-targets",
|
|
583
|
+
]
|
|
584
|
+
|
|
585
|
+
[[package]]
|
|
586
|
+
name = "windows-sys"
|
|
587
|
+
version = "0.61.2"
|
|
588
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
589
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
590
|
+
dependencies = [
|
|
591
|
+
"windows-link",
|
|
592
|
+
]
|
|
593
|
+
|
|
594
|
+
[[package]]
|
|
595
|
+
name = "windows-targets"
|
|
596
|
+
version = "0.52.6"
|
|
597
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
599
|
+
dependencies = [
|
|
600
|
+
"windows_aarch64_gnullvm",
|
|
601
|
+
"windows_aarch64_msvc",
|
|
602
|
+
"windows_i686_gnu",
|
|
603
|
+
"windows_i686_gnullvm",
|
|
604
|
+
"windows_i686_msvc",
|
|
605
|
+
"windows_x86_64_gnu",
|
|
606
|
+
"windows_x86_64_gnullvm",
|
|
607
|
+
"windows_x86_64_msvc",
|
|
608
|
+
]
|
|
609
|
+
|
|
610
|
+
[[package]]
|
|
611
|
+
name = "windows_aarch64_gnullvm"
|
|
612
|
+
version = "0.52.6"
|
|
613
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
614
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
615
|
+
|
|
616
|
+
[[package]]
|
|
617
|
+
name = "windows_aarch64_msvc"
|
|
618
|
+
version = "0.52.6"
|
|
619
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
620
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
621
|
+
|
|
622
|
+
[[package]]
|
|
623
|
+
name = "windows_i686_gnu"
|
|
624
|
+
version = "0.52.6"
|
|
625
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
626
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
627
|
+
|
|
628
|
+
[[package]]
|
|
629
|
+
name = "windows_i686_gnullvm"
|
|
630
|
+
version = "0.52.6"
|
|
631
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
632
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
633
|
+
|
|
634
|
+
[[package]]
|
|
635
|
+
name = "windows_i686_msvc"
|
|
636
|
+
version = "0.52.6"
|
|
637
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
639
|
+
|
|
640
|
+
[[package]]
|
|
641
|
+
name = "windows_x86_64_gnu"
|
|
642
|
+
version = "0.52.6"
|
|
643
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
644
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
645
|
+
|
|
646
|
+
[[package]]
|
|
647
|
+
name = "windows_x86_64_gnullvm"
|
|
648
|
+
version = "0.52.6"
|
|
649
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
650
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
651
|
+
|
|
652
|
+
[[package]]
|
|
653
|
+
name = "windows_x86_64_msvc"
|
|
654
|
+
version = "0.52.6"
|
|
655
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
656
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
657
|
+
|
|
658
|
+
[[package]]
|
|
659
|
+
name = "zmij"
|
|
660
|
+
version = "1.0.23"
|
|
661
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
662
|
+
checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
|
data/rust/Cargo.toml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "elelem-ratatui"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
edition = "2021"
|
|
5
|
+
|
|
6
|
+
[[bin]]
|
|
7
|
+
name = "elelem-ratatui"
|
|
8
|
+
path = "src/main.rs"
|
|
9
|
+
|
|
10
|
+
[dependencies]
|
|
11
|
+
ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] }
|
|
12
|
+
crossterm = "0.28"
|
|
13
|
+
serde = { version = "1", features = ["derive"] }
|
|
14
|
+
serde_json = "1"
|
|
15
|
+
|
|
16
|
+
[profile.release]
|
|
17
|
+
opt-level = 2
|