chore: prepare alpha modularization release (#1525)

This is the first modularization -alpha release. It captures the changes
necessary to manual publish. And ensures all the crates are properly
setup and to set a baseline for comparison in future release checks etc.

This does not update / check the git-cliff setup / changelog

Part of: #1388
This commit is contained in:
Josh McKinney 2024-11-28 16:47:43 -08:00 committed by GitHub
parent 2b7ec5cb7f
commit fbf6050c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 402 additions and 175 deletions

542
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -33,12 +33,12 @@ indoc = "2.0.5"
instability = "0.3.3"
itertools = "0.13.0"
pretty_assertions = "1.4.1"
ratatui = { path = "ratatui" }
ratatui-core = { path = "ratatui-core" }
ratatui-crossterm = { path = "ratatui-crossterm" }
ratatui-termion = { path = "ratatui-termion" }
ratatui-termwiz = { path = "ratatui-termwiz" }
ratatui-widgets = { path = "ratatui-widgets" }
ratatui = { path = "ratatui", version = "0.30.0-alpha.0" }
ratatui-core = { path = "ratatui-core", version = "0.1.0-alpha.0" }
ratatui-crossterm = { path = "ratatui-crossterm", version = "0.1.0-alpha.0" }
ratatui-termion = { path = "ratatui-termion", version = "0.1.0-alpha.0" }
ratatui-termwiz = { path = "ratatui-termwiz", version = "0.1.0-alpha.0" }
ratatui-widgets = { path = "ratatui-widgets", version = "0.3.0-alpha.0" }
rstest = "0.23.0"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"

View File

@ -9,6 +9,7 @@ allow = [
"BSD-3-Clause",
"ISC",
"MIT",
"Unicode-3.0",
"Unicode-DFS-2016",
"WTFPL",
"Zlib",

View File

@ -4,7 +4,7 @@ description = """
Core types and traits for the Ratatui Terminal UI library.
Widget libraries should use this crate. Applications should use the main Ratatui crate.
"""
version = "0.3.0"
version = "0.1.0-alpha.0"
readme = "README.md"
authors.workspace = true
documentation.workspace = true

View File

@ -1,6 +1,6 @@
[package]
name = "ratatui-crossterm"
version = "0.1.0"
version = "0.1.0-alpha.0"
description = "Crossterm backend for the Ratatui Terminal UI library."
documentation = "https://docs.rs/ratatui-crossterm/"
readme = "README.md"
@ -20,7 +20,7 @@ default = ["underline-color"]
## enables the backend code that sets the underline color.
## Underline color is only supported by the [`CrosstermBackend`](backend::CrosstermBackend) backend,
## and is not supported on Windows 7.
underline-color = []
underline-color = ["ratatui-core/underline-color"]
## Use terminal scrolling regions to make Terminal::insert_before less prone to flickering.
scrolling-regions = ["ratatui-core/scrolling-regions"]
@ -41,5 +41,5 @@ instability.workspace = true
ratatui-core = { workspace = true }
[dev-dependencies]
ratatui = { workspace = true, features = ["crossterm"] }
ratatui = { path = "../ratatui", features = ["crossterm"] }
rstest.workspace = true

View File

@ -1,6 +1,6 @@
[package]
name = "ratatui-termion"
version = "0.1.0"
version = "0.1.0-alpha.0"
description = "Termion backend for the Ratatui Terminal UI library."
documentation = "https://docs.rs/ratatui-termion/"
readme = "README.md"

View File

@ -1,6 +1,6 @@
[package]
name = "ratatui-termwiz"
version = "0.1.0"
version = "0.1.0-alpha.0"
description = "Termwiz backend for the Ratatui Terminal UI library."
documentation = "https://docs.rs/ratatui-termwiz/"
readme = "README.md"
@ -35,5 +35,5 @@ ratatui-core = { workspace = true }
termwiz.workspace = true
[dev-dependencies]
ratatui = { workspace = true, features = ["termwiz"] }
ratatui = { path = "../ratatui", features = ["termwiz"] }
rstest.workspace = true

View File

@ -1,7 +1,9 @@
[package]
name = "ratatui-widgets"
description = "A collection of Ratatui widgets for building terminal user interfaces using Ratatui."
version = "0.3.0"
# Note that this started at 0.3.0 as there was a previous crate using the name `ratatui-widgets`.
# <https://github.com/joshka/ratatui-widgets/issues/46>
version = "0.3.0-alpha.0"
readme = "README.md"
authors.workspace = true
documentation.workspace = true
@ -61,7 +63,7 @@ line-clipping = "0.2.1"
[dev-dependencies]
color-eyre.workspace = true
pretty_assertions.workspace = true
ratatui.workspace = true
ratatui = { path = "../ratatui" }
rstest.workspace = true
[lints.rust]

View File

@ -1,7 +1,7 @@
[package]
name = "ratatui"
description = "A library that's all about cooking up terminal user interfaces"
version = "0.29.0"
version = "0.30.0-alpha.0"
authors.workspace = true
documentation.workspace = true
repository.workspace = true