Skip to main content

max / alloy_tui

1.5 KB · 46 lines History Blame Raw
1 [package]
2 name = "alloy_tui"
3 version = "2.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 rust-version = "1.86"
7 license = "MIT"
8 repository = "https://git.sr.ht/~maxmj/alloy_tui"
9 authors = ["Max Johnson <me@maxj.phd>"]
10
11 [dependencies]
12 ratatui = "0.30"
13 makeover = "2.1.0"
14
15 [lints.rust]
16 unused = "warn"
17 unreachable_pub = "warn"
18
19 [lints.clippy]
20 pedantic = { level = "warn", priority = -1 }
21 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
22 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
23 # else in `pedantic` stays a warning. Keep this block identical across repos.
24 module_name_repetitions = "allow"
25 # Doc lints. No docs-completeness push is underway.
26 missing_errors_doc = "allow"
27 missing_panics_doc = "allow"
28 doc_markdown = "allow"
29 # Numeric casts. Endemic and mostly intentional in size and byte math.
30 cast_possible_truncation = "allow"
31 cast_sign_loss = "allow"
32 cast_precision_loss = "allow"
33 cast_possible_wrap = "allow"
34 cast_lossless = "allow"
35 # Subjective structure and style nags. High churn, low signal.
36 must_use_candidate = "allow"
37 too_many_lines = "allow"
38 struct_excessive_bools = "allow"
39 similar_names = "allow"
40 items_after_statements = "allow"
41 single_match_else = "allow"
42 # Frequent false-positives in TUI and router-heavy code.
43 match_same_arms = "allow"
44 unnecessary_wraps = "allow"
45 type_complexity = "allow"
46