Skip to content

Commit

Permalink
chore: update to use ratatui 0.29 (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: p0kR <[email protected]>
Co-authored-by: Josh McKinney <[email protected]>
  • Loading branch information
3 people authored Oct 25, 2024
1 parent 7be6cd3 commit e65caad
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ categories = ["command-line-interface", "gui"]
keywords = ["cli", "console", "ratatui", "terminal", "tui"]

[workspace.dependencies]
clap = { version = "4.5.8", features = ["derive"] }
clap = { version = "4.5.20", features = ["derive"] }
color-eyre = "0.6.3"
crossterm = { version = "0.28.1" }
derive_builder = "0.20.0"
derive_builder = "0.20.2"
derive-getters = "0.5.0"
derive_setters = "0.1.6"
document-features = "0.2.10"
futures = "0.3.21"
futures = "0.3.31"
itertools = "0.13.0"
indoc = "2.0.5"
lipsum = "0.9.1"
ratatui = { version = "0.28.1", default-features = false }
ratatui-macros = "0.5.0"
ratatui = { version = "0.29.0", default-features = false }
ratatui-macros = "0.6.0"
rstest = "0.23.0"
strum = { version = "0.26.3", features = ["derive"] }
tokio = { version = "1.39" }
tokio = { version = "1.41.0" }

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

authors.workspace = true
Expand Down Expand Up @@ -70,8 +70,8 @@ cards = ["tui-cards"]
[dependencies]
document-features.workspace = true
ratatui = { workspace = true }
tui-big-text = { version = "0.6.1", path = "tui-big-text", optional = true }
tui-cards = { version = "0.1.0", path = "tui-cards", optional = true }
tui-popup = { version = "0.5.1", path = "tui-popup", optional = true }
tui-prompts = { version = "0.4.1", path = "tui-prompts", optional = true }
tui-scrollview = { version = "0.4.1", path = "tui-scrollview", optional = true }
tui-big-text = { version = "0.7.0", path = "tui-big-text", optional = true }
tui-cards = { version = "0.2.0", path = "tui-cards", optional = true }
tui-popup = { version = "0.6.0", path = "tui-popup", optional = true }
tui-prompts = { version = "0.5.0", path = "tui-prompts", optional = true }
tui-scrollview = { version = "0.5.0", path = "tui-scrollview", optional = true }
2 changes: 1 addition & 1 deletion tui-big-text/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tui-big-text"
version = "0.6.1"
version = "0.7.0"
description = "A Ratatui widget for displaying big text in the terminal"
documentation = "https://docs.rs/tui-big-text"

Expand Down
2 changes: 1 addition & 1 deletion tui-box-text/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tui-box-text"
description = "A Ratatui widget for displaying text using the box drawing characters"
version = "0.1.1"
version = "0.2.0"
authors.workspace = true
license.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tui-cards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tui-cards"
version = "0.1.1"
version = "0.2.0"
description = "A playing card widget for Ratatui"
documentation = "https://docs.rs/tui-cards"

Expand Down
4 changes: 2 additions & 2 deletions tui-cards/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//!
//! # fn draw(frame: &mut ratatui::Frame) {
//! let card = Card::new(Rank::Ace, Suit::Spades);
//! frame.render_widget(&card, area);
//! frame.render_widget(&card, frame.area());
//! # }
//! ```
//!
Expand Down Expand Up @@ -35,7 +35,7 @@ use strum::{Display, EnumIter};
/// use tui_cards::{Card, Rank, Suit};
/// # fn draw(frame: &mut ratatui::Frame) {
/// let card = Card::new(Rank::Ace, Suit::Spades);
/// frame.render_widget(&card, area);
/// frame.render_widget(&card, frame.area());
/// # }
/// ```
#[derive(Debug, Clone, Copy)]
Expand Down
2 changes: 1 addition & 1 deletion tui-popup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tui-popup"
version = "0.5.1"
version = "0.6.0"
description = "A simple popup for ratatui"
documentation = "https://docs.rs/tui-popup"

Expand Down
2 changes: 1 addition & 1 deletion tui-prompts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tui-prompts"
version = "0.4.1"
version = "0.5.0"
description = "A library for building interactive prompts for ratatui."

authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion tui-scrollview/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tui-scrollview"
version = "0.4.1"
version = "0.5.0"
description = "A simple scrollable view for Ratatui"

authors.workspace = true
Expand Down

0 comments on commit e65caad

Please sign in to comment.