EdJoPaTo
|
ec359d513b
|
refactor: use multi character variable name
|
2024-02-22 18:38:52 +01:00 |
|
EdJoPaTo
|
5d750b13b0
|
build(lint): warn on clippy::pedantic or clippy::nursery
|
2024-02-22 18:32:46 +01:00 |
|
EdJoPaTo
|
766d4f1d58
|
refactor: one struct per file
|
2024-02-22 18:32:35 +01:00 |
|
EdJoPaTo
|
3cafeaef0a
|
ci: update actions
|
2024-02-03 03:26:49 +01:00 |
|
EdJoPaTo
|
5104ec582e
|
build: v0.17.0
|
2024-02-03 03:16:45 +01:00 |
|
EdJoPaTo
|
01726df5ed
|
feat: scroll independently from selection
|
2024-02-03 02:24:44 +01:00 |
|
EdJoPaTo
|
14b9e42cb2
|
refactor(example): merge into single file
|
2024-02-03 02:15:36 +01:00 |
|
EdJoPaTo
|
4cbe932332
|
build: update to ratatui 0.26
|
2024-02-03 01:05:47 +01:00 |
|
EdJoPaTo
|
969b78ab06
|
feat: select_*() returns whether it changed
|
2024-01-26 05:24:17 +01:00 |
|
EdJoPaTo
|
632a95f853
|
perf(key_left): remove clones
Selection access is mutable already. Operate on it directly.
|
2024-01-26 05:22:20 +01:00 |
|
EdJoPaTo
|
d1a241266f
|
perf!: flatten -> TreeState::flatten
This allows to use internals without cloning
BREAKING CHANGE: flatten is not directly available anymore
|
2024-01-15 15:50:06 +01:00 |
|
EdJoPaTo
|
4545b9039b
|
build: v0.16 for ratatui v0.25
|
2023-12-18 14:45:53 +01:00 |
|
EdJoPaTo
|
6c437375d1
|
build: v0.15.0
|
2023-10-30 13:25:50 +01:00 |
|
EdJoPaTo
|
b914819283
|
feat: generic identifier (#27)
|
2023-10-30 13:18:58 +01:00 |
|
EdJoPaTo
|
58a80b64a7
|
docs: improve doc comments
|
2023-10-26 16:46:50 +02:00 |
|
EdJoPaTo
|
9a47f5e0a9
|
feat: add TreeState::select_visible_index and relative
|
2023-10-26 00:39:14 +02:00 |
|
EdJoPaTo
|
89cb1dd6d9
|
docs: improve example code
Simplify main and use const fn.
|
2023-10-25 15:07:09 +02:00 |
|
EdJoPaTo
|
bc24ad2aa4
|
docs: add missing word
|
2023-10-25 14:59:11 +02:00 |
|
EdJoPaTo
|
cf67025aff
|
build: v0.14.0
|
2023-10-24 19:35:58 +02:00 |
|
EdJoPaTo
|
b4d0c302b0
|
perf!: accept Vec explicitly
on mqttui I always cloned the vec implictly as into() cloned it.
This wasted performance.
BREAKING CHANGE: requires Vec now explicitly
|
2023-10-24 19:34:06 +02:00 |
|
EdJoPaTo
|
87e1bb4b2f
|
build: update to ratatui 0.24
|
2023-10-24 19:19:57 +02:00 |
|
EdJoPaTo
|
3a720d293a
|
ci(rust): improve workflow
|
2023-10-24 19:09:08 +02:00 |
|
EdJoPaTo
|
0d9d132a67
|
perf: use more const functions
This will run on compile time rather than every time on runtime.
|
2023-09-04 14:17:35 +02:00 |
|
EdJoPaTo
|
18bc19abaf
|
build: v0.13.0
|
2023-09-04 12:48:32 +02:00 |
|
EdJoPaTo
|
3f30effd19
|
feat: migrate to ratatui (#26)
Co-authored-by: Ben PHL <benphawke@gmail.com>
|
2023-09-04 12:44:30 +02:00 |
|
dependabot[bot]
|
100a8166a3
|
build(cargo): update crossterm requirement from 0.25 to 0.27 (#25)
Updates the requirements on [crossterm](https://github.com/crossterm-rs/crossterm) to permit the latest version.
- [Release notes](https://github.com/crossterm-rs/crossterm/releases)
- [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossterm-rs/crossterm/compare/0.25...0.27.0)
---
updated-dependencies:
- dependency-name: crossterm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2023-08-12 09:42:11 +02:00 |
|
EdJoPaTo
|
17de58e239
|
build: ignore msrv
dependencies are increasing it without much care anyway
|
2023-07-17 14:00:48 +02:00 |
|
EdJoPaTo
|
56bb8cab24
|
ci(coverage): generate using cargo-llvm-cov
|
2023-07-17 12:09:10 +02:00 |
|
EdJoPaTo
|
1b601ea06b
|
build: bump msrv to 1.60.0
the log crates requires this after Debian 12/bookworm released
|
2023-07-08 11:28:17 +02:00 |
|
EdJoPaTo
|
8a53caced7
|
refactor(lint): improve and adapt to lints
|
2023-05-22 11:50:52 +02:00 |
|
EdJoPaTo
|
4d3a1eac30
|
build: v0.12.0
|
2023-05-20 02:38:55 +02:00 |
|
EdJoPaTo
|
59a06ee409
|
perf: use empty str instead of .unwrap_or("")
dont run unwrap_or all the time and just set the default on new()
|
2023-05-20 02:08:34 +02:00 |
|
EdJoPaTo
|
838668dd53
|
refactor(identifier)!: return usize instead of &usize
|
2023-05-20 01:52:25 +02:00 |
|
EdJoPaTo
|
837e24ab4b
|
perf(identifier): use pattern matching
way more efficient than manual slicing
|
2023-05-20 01:49:43 +02:00 |
|
EdJoPaTo
|
3e92570a16
|
feat: configure node open state symbols (#19)
|
2023-05-20 01:30:53 +02:00 |
|
Diego Frias
|
61bc6da821
|
fix: panic on key up/down (#16)
|
2023-03-20 17:26:51 +01:00 |
|
EdJoPaTo
|
94197fa1d1
|
docs: fix spelling
|
2023-02-22 14:04:43 +01:00 |
|
EdJoPaTo
|
ed4e06c000
|
build: ensure no unsafe code
|
2023-02-22 14:03:53 +01:00 |
|
EdJoPaTo
|
e51bb047f1
|
ci(rust): improve workflow
|
2023-02-05 13:02:02 +01:00 |
|
EdJoPaTo
|
24bec7c3fc
|
ci(dependabot): ignore crossterm updates
crossterm version needs to be the same as tui so
only update crossterm when tui updates
|
2023-02-05 12:57:55 +01:00 |
|
EdJoPaTo
|
9bf2644c69
|
ci(rust): improve workflow
|
2022-11-06 13:58:05 +01:00 |
|
EdJoPaTo
|
0f19c0f2ae
|
build(cargo): documentation link is autofilled to docs.rs
|
2022-11-06 13:51:19 +01:00 |
|
EdJoPaTo
|
cc68729e96
|
build(clippy): allow breaking suggestions
having a better api is more important to me than avoiding breaking changes
|
2022-11-06 13:48:49 +01:00 |
|
EdJoPaTo
|
982125508c
|
fix: do not unset the block on render
|
2022-11-06 13:48:49 +01:00 |
|
EdJoPaTo
|
a902bce55d
|
docs: use doc comments and doc tests
|
2022-11-06 13:48:49 +01:00 |
|
EdJoPaTo
|
cf104bb495
|
refactor(lint): adapt to lints
|
2022-11-06 10:54:26 +01:00 |
|
EdJoPaTo
|
c8c5a37b28
|
feat: add TreeItem::children()
returns all the current children
|
2022-09-01 16:29:56 +02:00 |
|
EdJoPaTo
|
2adcbccab0
|
build: v0.11.0
|
2022-08-31 18:52:21 +02:00 |
|
EdJoPaTo
|
d090aa5659
|
refactor: split imports better
|
2022-08-31 18:40:39 +02:00 |
|
EdJoPaTo
|
b01956741b
|
feat: implement TreeState select first/last
|
2022-08-31 18:28:11 +02:00 |
|