docs(breaking-changes): change MSRV to 1.85 (#1896)

The minimum supported Rust version is now for `ratatui` v0.30 is 1.85
This commit is contained in:
Jagoda Estera Ślązak 2025-06-05 10:37:01 +02:00 committed by GitHub
parent 671c2b4fd4
commit bbe1cf9497
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ This is a quick summary of the sections below:
- `FrameExt` trait for `unstable-widget-ref` feature
- `List::highlight_symbol` now accepts `Into<Line>` instead of `&str`
- 'layout::Alignment' is renamed to 'layout::HorizontalAlignment'
- The MSRV is now 1.81.0
- The MSRV is now 1.85.0
- `Backend` now requires an associated `Error` type and `clear_region` method
- `TestBackend` now uses `core::convert::Infallible` for error handling instead of `std::io::Error`
- Disabling `default-features` will now disable layout cache, which can have a negative impact on performance
@ -148,12 +148,11 @@ and implement the `clear_region` method, which no longer has a default implement
This change was made to provide greater flexibility for custom backends, particularly to remove the
explicit dependency on `std::io` for backends that want to support `no_std` targets.
### The MSRV is now 1.81.0 ([#1786])
### The MSRV is now 1.85.0 ([#1860])
[#1786]: https://github.com/ratatui/ratatui/pull/1786
[#1860]: https://github.com/ratatui/ratatui/pull/1860
The minimum supported Rust version (MSRV) is now 1.81.0. This is due to the use of `#[expect]` in
the codebase, which is only available in Rust 1.81.0 and later.
The minimum supported Rust version (MSRV) is now 1.85.0.
### `layout::Alignment` is renamed to `layout::HorizontalAlignment` ([#1735])