joshka / tui-widgets

A collection of useful widgets for building terminal user interfaces using Ratatui
https://crates.io/crates/tui-widgets
Apache License 2.0
26 stars 3 forks source link

fix: make all tests and crates compileable with ratatui 0.28 #24

Closed p0kR closed 1 month ago

p0kR commented 1 month ago

Working on one of my projects, I found out, I was not able to build with ratatui 0.28 and any version of tui-big-text. With this pull request, I want to mak the crates from this repository compilable with ratatui 0.28.

With these two changes, I am able to build my project against ratatui 0.28 and tui-big-text from this branch. And all tests and crates from this repository can be built and run again.

After this branch is merged, all components need new versions, I think.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (a439170) to head (2e315be).

Files Patch % Lines
tui-scrollview/src/scroll_view.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #24 +/- ## ===================================== Coverage 0.00% 0.00% ===================================== Files 2 2 Lines 136 136 ===================================== Misses 136 136 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

joshka commented 1 month ago

Thanks. I've been meaning to add a dependabot setting that specifically pulls in Ratatui daily rather than weekly, but haven't gotten around to it yet. I updated a few things (deprecations, lints, and some more concise code), and this will be released shortly.