let foo = Foo { ... };
let line = Line::from(foo); // now fails due to ambiguous type inference
// replace with
let line = Line::from(String::from(foo));
let foo = Foo { ... };
let line = Line::from(foo); // now fails due to ambiguous type inference
// replace with
let line = Line::from(String::from(foo));
This is a simple logo widget that can be used to render the Ratatui logo
in the terminal. It is used in the examples/ratatui-logo.rs example,
and may be used in your applications' help or about screens.
Support the same Path field being repeated in both Debug and Display representation in error message (#383)
Improve error message when a format trait used in error message is not implemented by some field (#384)
2.0.2
Fix hang on invalid input inside #[error(...)] attribute (#382)
2.0.1
Support errors that contain a dynamically sized final field (#375)
Improve inference of trait bounds for fields that are interpolated multiple times in an error message (#377)
2.0.0
Breaking changes
Referencing keyword-named fields by a raw identifier like {r#type} inside a format string is no longer accepted; simply use the unraw name like {type} (#347)
This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.
Tuple structs and tuple variants can no longer use numerical {0}{1} access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg (#354)
#[derive(Error, Debug)]
#[error("ambiguous: {0} {}", $N)]
// ^^^ Not allowed, use #[error("... {0} {n}", n = $N)]
pub struct TupleError(i32);
Code containing invocations of thiserror's derive(Error) must now have a direct dependency on the thiserror crate regardless of the error data structure's contents (#368, #369, #370, #372)
Add support to WhichConfig for a user provided closure that will be called whenever a nonfatal error occurs.
This technically breaks a few APIs due to the need to add more generics and lifetimes. Most code will compile
without changes.
Add support to WhichConfig for a user provided closure that will be called whenever a nonfatal error occurs.
This technically breaks a few APIs due to the need to add more generics and lifetimes. Most code will compile
without changes.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the cargo-dependencies group with 9 updates in the / directory:
0.28.1
0.29.0
1.0.64
2.0.3
0.10.1
0.11.0
0.5.0
0.6.0
6.0.0
7.0.0
6.0.3
7.0.0
0.6.0
0.7.0
0.3.5
0.3.6
0.5.2
0.6.0
Updates
ratatui
from 0.28.1 to 0.29.0Release notes
Sourced from ratatui's releases.
... (truncated)
Changelog
Sourced from ratatui's changelog.
... (truncated)
Commits
2873217
chore(release): prepare for 0.29.0 (#1444)6515097
chore(cargo): check in Cargo.lock (#1434)4c4851c
feat(example): add drawing feature to the canvas example (#1429)4f5503d
fix(color)!: hsl and hsluv are now clamped before conversion (#1436)611086e
fix: sparkline docs / doc tests (#1437)514d273
fix(terminal): use the latest, resized area when clearing (#1427)60cc15b
feat!: add support for empty bar style toSparkline
(#1326)a52ee82
fix(text): truncate based on alignment (#1432)381ec75
docs(readme): reduce the length (#1431)f6f7794
chore: remove leftover prelude refs / glob imports from example code (#1430)Updates
thiserror
from 1.0.64 to 2.0.3Release notes
Sourced from thiserror's releases.
... (truncated)
Commits
15fd26e
Release 2.0.37046023
Simplify how has_bonus_display is accumulated9cc1d0b
Merge pull request #384 from dtolnay/nowrap1d040f3
Use Var wrapper only for Pointer formatting6a6132d
Extend no-display ui test to cover another fmt traita061beb
Merge pull request #383 from dtolnay/both6388293
Support Display and Debug of same path in error messagedc0359e
Defer binding_value construction520343e
Add test of Debug and Display of paths49be39d
Release 2.0.2Updates
tui-input
from 0.10.1 to 0.11.0Release notes
Sourced from tui-input's releases.
Commits
a0eca90
remove funding4c98b0d
Upgrade depsUpdates
tui-popup
from 0.5.0 to 0.6.0Release notes
Sourced from tui-popup's releases.
Changelog
Sourced from tui-popup's changelog.
... (truncated)
Commits
e65caad
chore: update to use ratatui 0.29 (#43)7be6cd3
chore: release (#39)e7942b7
build(deps): update rstest requirement from 0.22.0 to 0.23.0 (#41)8f25dde
fix(tui-scrollview): make scroll_view buffer area the same as its content (#37)18e3c03
build: remove patch from main Cargo.toml file that was pointing at a local pa...6437247
docs: update readme9591f2f
feat: add tui-box-text widget89ac0fe
docs: demo horizontal scrolling and mark TODO as done2994cce
docs: use ratatui 0.28.1 methods for examples7e38003
fix: broken links from move to tui-widgetsUpdates
ansi-to-tui
from 6.0.0 to 7.0.0Changelog
Sourced from ansi-to-tui's changelog.
... (truncated)
Commits
Updates
which
from 6.0.3 to 7.0.0Release notes
Sourced from which's releases.
Changelog
Sourced from which's changelog.
Commits
1b5f7be
fix README.md version3edbc31
update CHANGELOGcef653d
add myself to authors59e410d
bump version66128a7
add support for user provided closure to receive nonfatal errors7c58cf0
Add a note on WebAssembly to README.mdUpdates
tui-big-text
from 0.6.0 to 0.7.0Release notes
Sourced from tui-big-text's releases.
Commits
e65caad
chore: update to use ratatui 0.29 (#43)7be6cd3
chore: release (#39)e7942b7
build(deps): update rstest requirement from 0.22.0 to 0.23.0 (#41)8f25dde
fix(tui-scrollview): make scroll_view buffer area the same as its content (#37)18e3c03
build: remove patch from main Cargo.toml file that was pointing at a local pa...6437247
docs: update readme9591f2f
feat: add tui-box-text widget89ac0fe
docs: demo horizontal scrolling and mark TODO as done2994cce
docs: use ratatui 0.28.1 methods for examples7e38003
fix: broken links from move to tui-widgetsUpdates
lddtree
from 0.3.5 to 0.3.6Commits
Updates
termbg
from 0.5.2 to 0.6.0Changelog
Sourced from termbg's changelog.
Commits
43f8dc8
Prepare to v0.6.063c0066
Update CHANGELOG1dbb111
Merge pull request #29 from durbanlegend/masterc4d0b0b
Fixes from author feedbackf0e088a
Revert "Add a unit test for Windows issue"bba1153
Add a unit test for Windows issue8a88ed6
Merge branch 'master' of https://github.com/durbanlegend/termbg2db488a
Update lib.rs1f515a0
Fixes from Win testing; restore prior raw status.2acfc20
Fix some issues with WindowsDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show