Skip to content

Commit 42ebe96

Browse files
Version 0.2.1
1 parent a7f85dd commit 42ebe96

47 files changed

Lines changed: 5977 additions & 1841 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 184 additions & 298 deletions
Large diffs are not rendered by default.

‎Cargo.toml‎

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pyratatui"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
authors = ["pyratatui contributors"]
66
description = """
@@ -22,43 +22,46 @@ pyo3 = { version = "0.28.2", features = ["abi3-py310"] }
2222
crossterm = "0.29"
2323
tokio = { version = "1", features = ["full"] }
2424

25-
# ── Ratatui 0.30 ────────────────────────────────────────────────────────────
26-
# The main ratatui crate re-exports everything from the new modular workspace
27-
# (ratatui-core, ratatui-widgets, ratatui-crossterm, …).
28-
# Application developers continue to depend on the top-level `ratatui` crate.
29-
# `crossterm_0_29` pins the bundled crossterm backend version so third-party
30-
# widget crates compiled against crossterm 0.29 can coexist without conflicts.
25+
# ── Ratatui 0.30 ─────────────────────────────────────────────────────────────
3126
ratatui = { version = "0.30", features = ["all-widgets", "crossterm_0_29"] }
3227

33-
# ── Effects ──────────────────────────────────────────────────────────────────
34-
# tachyonfx is part of the ratatui-org (moved to github.com/ratatui/tachyonfx)
35-
# and is actively maintained against ratatui 0.30.
28+
# ── Effects ───────────────────────────────────────────────────────────────────
3629
tachyonfx = "0.25.0"
3730

38-
# ── Third-party widget crates (all ratatui 0.30 compatible) ─────────────────
39-
# tui-popup 0.7.x — part of the tui-widgets suite, uses frame.area() / 0.30 API.
40-
tui-popup = { version = "0.7", features = ["crossterm"] }
41-
42-
# tui-scrollview 0.6.2 — uses StatefulWidget from ratatui 0.30.
31+
# ── Third-party widget crates (all ratatui 0.30 compatible) ──────────────────
32+
tui-popup = { version = "0.7", features = ["crossterm"] }
4333
tui-scrollview = "0.6.2"
34+
tui-textarea = "0.7.0"
4435

45-
# tui-textarea 0.7.x — rhysd's actively-maintained crate.
46-
# tui-textarea 0.7 targets ratatui ^0.29 (= >=0.29, <0.30), which brings in
47-
# ratatui 0.29 as a separate dep alongside ratatui 0.30.
48-
# We add ratatui_compat so we can name the 0.29 types and bridge via transmute.
49-
tui-textarea = "0.7.0"
50-
51-
# Compatibility shim: gives us a named handle to ratatui 0.29 so that
52-
# tui-textarea's Widget/Style/Block types can be used from our code.
53-
# Cargo will unify this with tui-textarea's own ratatui 0.29 dep.
36+
# Compatibility shim: named handle to ratatui 0.29 for tui-textarea bridging.
5437
ratatui_compat = { package = "ratatui", version = ">=0.29, <0.30" }
5538

56-
# ── QR codes ─────────────────────────────────────────────────────────────────
57-
# tui-qrcode 0.2.2 targets ratatui-core ^0.1 / ratatui ^0.30 — fully compatible.
58-
# `qrcode` crate is kept because callers create QrCode values before the widget.
39+
# ── QR codes ──────────────────────────────────────────────────────────────────
5940
tui-qrcode = { version = "0.2.2", default-features = false }
6041
qrcode = { version = "0.14", default-features = false }
6142

43+
# ── Calendar (time crate required by ratatui widget-calendar) ─────────────────
44+
time = { version = "0.3", features = ["local-offset"] }
45+
46+
# ── New widget integrations ───────────────────────────────────────────────────
47+
# Bar graph widget (uses ratatui-core ^0.1, colorgrad 0.8)
48+
tui-bar-graph = "0.3"
49+
colorgrad = "0.8"
50+
51+
# Tree widget (uses ratatui-core ^0.1)
52+
tui-tree-widget = "0.24"
53+
54+
# Markdown → Text converter (uses ratatui-core ^0.1)
55+
tui-markdown = "0.3"
56+
57+
# Logger widget (uses ratatui ^0.30 directly)
58+
tui-logger = "0.18"
59+
log = "0.4"
60+
61+
# Image widget (default-features = false avoids libchafa requirement)
62+
ratatui-image = { version = "10", default-features = false, features = ["crossterm", "image-defaults"] }
63+
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
64+
6265
[features]
6366
default = []
6467

0 commit comments

Comments
 (0)