Skip to main content

max / alloy_tui

1.8 KB · 52 lines History Blame Raw
1 [package]
2 name = "alloy_tui"
3 version = "3.0.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.2.0"
19 makeover-geometry = "0.1.0"
20
21 [lints.rust]
22 unused = "warn"
23 unreachable_pub = "warn"
24
25 [lints.clippy]
26 pedantic = { level = "warn", priority = -1 }
27 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
28 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
29 # else in `pedantic` stays a warning. Keep this block identical across repos.
30 module_name_repetitions = "allow"
31 # Doc lints. No docs-completeness push is underway.
32 missing_errors_doc = "allow"
33 missing_panics_doc = "allow"
34 doc_markdown = "allow"
35 # Numeric casts. Endemic and mostly intentional in size and byte math.
36 cast_possible_truncation = "allow"
37 cast_sign_loss = "allow"
38 cast_precision_loss = "allow"
39 cast_possible_wrap = "allow"
40 cast_lossless = "allow"
41 # Subjective structure and style nags. High churn, low signal.
42 must_use_candidate = "allow"
43 too_many_lines = "allow"
44 struct_excessive_bools = "allow"
45 similar_names = "allow"
46 items_after_statements = "allow"
47 single_match_else = "allow"
48 # Frequent false-positives in TUI and router-heavy code.
49 match_same_arms = "allow"
50 unnecessary_wraps = "allow"
51 type_complexity = "allow"
52