Bump tui from 0.16.0 to 0.18.0
Bumps tui from 0.16.0 to 0.18.0.
Release notes
Sourced from tui's releases.
v0.18.0
Features
- Update
crosstermto0.23.v0.17.0
Features
- Add option to
widgets::Listto repeat the hightlight symbol for each line of multi-line items (#533).- Add option to control the alignment of
Axislabels in theChartwidget (#568).Breaking changes
- The minimum supported rust version is now
1.56.1.New default backend and consolidated backend options (#553)
crosstermis now the default backend. If you are already using thecrosstermbackend, you can simplify your dependency specification inCargo.toml:- tui = { version = "0.16", default-features = false, features = ["crossterm"] } + tui = "0.17"If you are using the
termionbackend, yourCargois now a bit more verbose:- tui = "0.16" + tui = { version = "0.17", default-features = false, features = ["termion"] }
crosstermhas also been bumped to version0.22.Because of their apparent low usage,
cursesandrustboxbackends have been removed. If you are using one of them, you can import their last implementation in your own project:Canvas labels (#543)
- Labels of the
Canvaswidget are nowtext::Spans. The signature ofwidgets::canvas::Context::printhas thus been updated:- ctx.print(x, y, "Some text", Color::Yellow); + ctx.print(x, y, Span::styled("Some text", Style::default().fg(Color::Yellow)))
Changelog
Sourced from tui's changelog.
v0.18.0 - 2022-04-24
Features
- Update
crosstermto0.23v0.17.0 - 2022-01-22
Features
- Add option to
widgets::Listto repeat the hightlight symbol for each line of multi-line items (#533).- Add option to control the alignment of
Axislabels in theChartwidget (#568).Breaking changes
- The minimum supported rust version is now
1.56.1.New default backend and consolidated backend options (#553)
crosstermis now the default backend. If you are already using thecrosstermbackend, you can simplify your dependency specification inCargo.toml:- tui = { version = "0.16", default-features = false, features = ["crossterm"] } + tui = "0.17"If you are using the
termionbackend, yourCargois now a bit more verbose:- tui = "0.16" + tui = { version = "0.17", default-features = false, features = ["termion"] }
crosstermhas also been bumped to version0.22.Because of their apparent low usage,
cursesandrustboxbackends have been removed. If you are using one of them, you can import their last implementation in your own project:Canvas labels (#543)
- Labels of the
Canvaswidget are nowtext::Spans. The signature ofwidgets::canvas::Context::printhas thus been updated:- ctx.print(x, y, "Some text", Color::Yellow); + ctx.print(x, y, Span::styled("Some text", Style::default().fg(Color::Yellow)))
Commits
e71faa9Release v0.18.0ed0ae81chore: update crossterm to v0.23 (#598)a61b078chore: fix clippy warning (#601)8593930Release v0.17.0cf2d9c2feat!: bump MSRV to 1.56.1 and migrate to edition 2021853d904feat(widgets/chart): add option to control alignment of axis labels (#568)6069d89chore: fix all clippy warningsd25e263chore: enable clippy on all targetsd05e696chore: fix optional attribute forserdefeature (#571)ef583cechore(examples): remove unuseddemo/util.rs- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Superseded by #1281.