Skip to content

Commit 3f9c618

Browse files
committed
chore: use workspace properties in Cargo.toml
Consolidate dependency and package metadata in the workspace root Cargo.toml file. This change makes it easier to manage dependencies and package metadata for all workspace members in one place.
1 parent 3201518 commit 3f9c618

File tree

8 files changed

+60
-2319
lines changed

8 files changed

+60
-2319
lines changed

Cargo.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

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

1414
[workspace.dependencies]
15-
ratatui = { version = "0.27.0", default-features = false }
15+
anyhow = "1.0.86"
16+
clap = { version = "4.5.8", features = ["derive"] }
17+
color-eyre = "0.6.3"
1618
crossterm = { version = "0.27.0" }
19+
derive_builder = "0.20.0"
20+
futures = "0.3"
21+
itertools = "0.13.0"
22+
indoc = "2.0.5"
23+
ratatui = { version = "0.27.0", default-features = false }
24+
ratatui-macros = "0.4.2"
25+
rstest = "0.21.0"
26+
strum = { version = "0.26.1", features = ["derive"] }
27+
tokio = { version = "1.16" }
1728

1829
[package]
1930
name = "tui-widgets"

tui-big-text/Cargo.toml

+18-17
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
[package]
22
name = "tui-big-text"
33
version = "0.4.5"
4-
edition = "2021"
5-
description = "A simple Ratatui widget for displaying big text using the font8x8 crate in a TUI (Terminal UI)."
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/joshka/tui-big-text"
4+
description = "A Ratatui widget for displaying big text in the terminal"
85
documentation = "https://docs.rs/tui-big-text"
9-
authors = ["Joshka"]
10-
categories = ["command-line-interface", "gui"]
11-
keywords = ["cli", "console", "ratatui", "terminal", "tui"]
12-
rust-version = "1.74.0"
6+
7+
authors.workspace = true
8+
categories.workspace = true
9+
edition.workspace = true
10+
keywords.workspace = true
11+
license.workspace = true
12+
repository.workspace = true
13+
rust-version.workspace = true
1314

1415
[dependencies]
15-
derive_builder = "0.20.0"
16+
derive_builder.workspace = true
1617
font8x8 = "0.3.1"
17-
itertools = "0.13.0"
18-
ratatui = "0.27.0"
18+
itertools.workspace = true
19+
ratatui.workspace = true
1920

2021
[dev-dependencies]
21-
anyhow = "1.0.44"
22-
crossterm = { version = "0.27.0", features = ["event-stream"] }
23-
futures = "0.3"
24-
indoc = "2.0.3"
25-
strum = { version = "0.26.1", features = ["derive"] }
26-
tokio = { version = "1.16", features = ["full"] }
22+
anyhow.workspace = true
23+
crossterm = { workspace = true, features = ["event-stream"] }
24+
futures.workspace = true
25+
indoc.workspace = true
26+
strum.workspace = true
27+
tokio = { workspace = true, features = ["full"] }

0 commit comments

Comments
 (0)