ratatui/benches/main
Josh McKinney 67c0ea243b
chore(block): deprecate block::Title (#1372)
`ratatui::widgets::block::Title` is deprecated in favor of using `Line`
to represent titles.
This removes an unnecessary layer of wrapping (string -> Span -> Line ->
Title).

This struct will be removed in a future release of Ratatui (likely
0.31).
For more information see:
<https://github.com/ratatui/ratatui/issues/738>

To update your code:
```rust
Block::new().title(Title::from("foo"));
// becomes any of
Block::new().title("foo");
Block::new().title(Line::from("foo"));

Block::new().title(Title::from("foo").position(Position::TOP));
// becomes any of
Block::new().title_top("foo");
Block::new().title_top(Line::from("foo"));

Block::new().title(Title::from("foo").position(Position::BOTTOM));
// becomes any of
Block::new().title_bottom("foo");
Block::new().title_bottom(Line::from("foo"));
```
2024-09-20 10:21:26 +03:00
..
barchart.rs chore: rename ratatui-org to ratatui (#1334) 2024-08-21 11:35:08 -07:00
block.rs chore(block): deprecate block::Title (#1372) 2024-09-20 10:21:26 +03:00
buffer.rs perf: add buffer benchmarks (#1303) 2024-08-06 23:05:36 -07:00
line.rs perf: move benchmarks into a single benchmark harness (#1302) 2024-08-06 05:31:13 -07:00
list.rs chore: rename ratatui-org to ratatui (#1334) 2024-08-21 11:35:08 -07:00
paragraph.rs chore: rename ratatui-org to ratatui (#1334) 2024-08-21 11:35:08 -07:00
rect.rs perf: move benchmarks into a single benchmark harness (#1302) 2024-08-06 05:31:13 -07:00
sparkline.rs chore: rename ratatui-org to ratatui (#1334) 2024-08-21 11:35:08 -07:00