Skip to content

Commit e65caad

Browse files
p0kRp0kRjoshka
authored
chore: update to use ratatui 0.29 (#43)
Co-authored-by: p0kR <[email protected]> Co-authored-by: Josh McKinney <[email protected]>
1 parent 7be6cd3 commit e65caad

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

Cargo.toml

+12-12
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ categories = ["command-line-interface", "gui"]
1212
keywords = ["cli", "console", "ratatui", "terminal", "tui"]
1313

1414
[workspace.dependencies]
15-
clap = { version = "4.5.8", features = ["derive"] }
15+
clap = { version = "4.5.20", features = ["derive"] }
1616
color-eyre = "0.6.3"
1717
crossterm = { version = "0.28.1" }
18-
derive_builder = "0.20.0"
18+
derive_builder = "0.20.2"
1919
derive-getters = "0.5.0"
2020
derive_setters = "0.1.6"
2121
document-features = "0.2.10"
22-
futures = "0.3.21"
22+
futures = "0.3.31"
2323
itertools = "0.13.0"
2424
indoc = "2.0.5"
2525
lipsum = "0.9.1"
26-
ratatui = { version = "0.28.1", default-features = false }
27-
ratatui-macros = "0.5.0"
26+
ratatui = { version = "0.29.0", default-features = false }
27+
ratatui-macros = "0.6.0"
2828
rstest = "0.23.0"
2929
strum = { version = "0.26.3", features = ["derive"] }
30-
tokio = { version = "1.39" }
30+
tokio = { version = "1.41.0" }
3131

3232
[lints.rust]
3333
unused = "warn"
@@ -41,7 +41,7 @@ nursery = "warn"
4141
[package]
4242
name = "tui-widgets"
4343
description = "A collection of useful widgets for building terminal user interfaces using Ratatui"
44-
version = "0.3.1"
44+
version = "0.4.0"
4545
documentation = "https://docs.rs/tui-widgets"
4646

4747
authors.workspace = true
@@ -70,8 +70,8 @@ cards = ["tui-cards"]
7070
[dependencies]
7171
document-features.workspace = true
7272
ratatui = { workspace = true }
73-
tui-big-text = { version = "0.6.1", path = "tui-big-text", optional = true }
74-
tui-cards = { version = "0.1.0", path = "tui-cards", optional = true }
75-
tui-popup = { version = "0.5.1", path = "tui-popup", optional = true }
76-
tui-prompts = { version = "0.4.1", path = "tui-prompts", optional = true }
77-
tui-scrollview = { version = "0.4.1", path = "tui-scrollview", optional = true }
73+
tui-big-text = { version = "0.7.0", path = "tui-big-text", optional = true }
74+
tui-cards = { version = "0.2.0", path = "tui-cards", optional = true }
75+
tui-popup = { version = "0.6.0", path = "tui-popup", optional = true }
76+
tui-prompts = { version = "0.5.0", path = "tui-prompts", optional = true }
77+
tui-scrollview = { version = "0.5.0", path = "tui-scrollview", optional = true }

tui-big-text/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tui-big-text"
3-
version = "0.6.1"
3+
version = "0.7.0"
44
description = "A Ratatui widget for displaying big text in the terminal"
55
documentation = "https://docs.rs/tui-big-text"
66

tui-box-text/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tui-box-text"
33
description = "A Ratatui widget for displaying text using the box drawing characters"
4-
version = "0.1.1"
4+
version = "0.2.0"
55
authors.workspace = true
66
license.workspace = true
77
repository.workspace = true

tui-cards/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tui-cards"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
description = "A playing card widget for Ratatui"
55
documentation = "https://docs.rs/tui-cards"
66

tui-cards/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//!
88
//! # fn draw(frame: &mut ratatui::Frame) {
99
//! let card = Card::new(Rank::Ace, Suit::Spades);
10-
//! frame.render_widget(&card, area);
10+
//! frame.render_widget(&card, frame.area());
1111
//! # }
1212
//! ```
1313
//!
@@ -35,7 +35,7 @@ use strum::{Display, EnumIter};
3535
/// use tui_cards::{Card, Rank, Suit};
3636
/// # fn draw(frame: &mut ratatui::Frame) {
3737
/// let card = Card::new(Rank::Ace, Suit::Spades);
38-
/// frame.render_widget(&card, area);
38+
/// frame.render_widget(&card, frame.area());
3939
/// # }
4040
/// ```
4141
#[derive(Debug, Clone, Copy)]

tui-popup/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tui-popup"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
description = "A simple popup for ratatui"
55
documentation = "https://docs.rs/tui-popup"
66

tui-prompts/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tui-prompts"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
description = "A library for building interactive prompts for ratatui."
55

66
authors.workspace = true

tui-scrollview/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tui-scrollview"
3-
version = "0.4.1"
3+
version = "0.5.0"
44
description = "A simple scrollable view for Ratatui"
55

66
authors.workspace = true

0 commit comments

Comments
 (0)