| 1 |
[package] |
| 2 |
name = "alloy_tui" |
| 3 |
version = "7.1.0" |
| 4 |
description = "Alloy design system: makeover intents rendered as ratatui Color/Style, plus themed widgets for the alloy console and siblings." |
| 5 |
edition = "2024" |
| 6 |
# 1.88 is ratatui 0.30.2's floor, and 0.30.2 is where `Block::shadow` lands. |
| 7 |
rust-version = "1.88" |
| 8 |
license = "MIT" |
| 9 |
repository = "https://makenot.work/git/max/alloy_tui" |
| 10 |
authors = ["Max Johnson <me@maxj.phd>"] |
| 11 |
|
| 12 |
[dependencies] |
| 13 |
ratatui = "0.30" |
| 14 |
# 2.2.0 is the release carrying the bevel intents and the 256-color palette, |
| 15 |
# both of which this crate resolves at load. A [patch.crates-io] stanza stood |
| 16 |
# here while they were unpublished; it is gone, and so is the last reason this |
| 17 |
# crate could not be published from a clean checkout. |
| 18 |
makeover = "2.5.0" |
| 19 |
makeover-geometry = "0.7" |
| 20 |
# The family's terminal renderer, which owns the bevel painting, the fill, and |
| 21 |
# the reading of what the terminal can show. 0.4.0 and not 0.3.0 because the |
| 22 |
# half-block glyphs are what makes delegating here an improvement rather than a |
| 23 |
# downgrade: 0.3.0 draws box-drawing, which is a line and not a lit edge. 0.4.1 |
| 24 |
# because this crate quantises a whole theme off `Fidelity::detect`, and before |
| 25 |
# that release an unrecognised TERM answered Ansi16, which cost a heavier frame |
| 26 |
# when the renderer was the only consumer and costs a flattened theme now. |
| 27 |
makeover-tui = { version = "0.26.0", features = ["theme"] } |
| 28 |
|
| 29 |
[lints.rust] |
| 30 |
unused = "warn" |
| 31 |
unreachable_pub = "warn" |
| 32 |
|
| 33 |
[lints.clippy] |
| 34 |
pedantic = { level = "warn", priority = -1 } |
| 35 |
# Allow-list tuned from a measured breakdown across server/multithreaded/pter |
| 36 |
# (2026-07-22). These are the high-churn / low-signal pedantic lints; everything |
| 37 |
# else in `pedantic` stays a warning. Keep this block identical across repos. |
| 38 |
module_name_repetitions = "allow" |
| 39 |
# Doc lints. No docs-completeness push is underway. |
| 40 |
missing_errors_doc = "allow" |
| 41 |
missing_panics_doc = "allow" |
| 42 |
doc_markdown = "allow" |
| 43 |
# Numeric casts. Endemic and mostly intentional in size and byte math. |
| 44 |
cast_possible_truncation = "allow" |
| 45 |
cast_sign_loss = "allow" |
| 46 |
cast_precision_loss = "allow" |
| 47 |
cast_possible_wrap = "allow" |
| 48 |
cast_lossless = "allow" |
| 49 |
# Subjective structure and style nags. High churn, low signal. |
| 50 |
must_use_candidate = "allow" |
| 51 |
too_many_lines = "allow" |
| 52 |
struct_excessive_bools = "allow" |
| 53 |
similar_names = "allow" |
| 54 |
items_after_statements = "allow" |
| 55 |
single_match_else = "allow" |
| 56 |
# Frequent false-positives in TUI and router-heavy code. |
| 57 |
match_same_arms = "allow" |
| 58 |
unnecessary_wraps = "allow" |
| 59 |
type_complexity = "allow" |
| 60 |
|