Skip to main content

max / makeover-tui

1.8 KB · 51 lines History Blame Raw
1 [package]
2 name = "makeover-tui"
3 version = "0.9.0"
4 edition = "2024"
5 description = "The terminal renderer for makeover-layout, on ratatui. Colour stops being the constraint above 256 entries; geometry never does, because an edge occupies a whole cell on every side."
6 license = "MIT"
7 repository = "https://makenot.work/git/max/makeover-tui"
8
9 [features]
10 # Resolving a loaded makeover theme into ratatui colours. Off by default: it is
11 # the only thing here that needs `makeover`, which embeds the shipped theme
12 # files, and a consumer that only paints bevels should not carry them.
13 theme = ["dep:makeover"]
14
15 [dependencies]
16 ratatui = { version = "0.30", default-features = false }
17 makeover-layout = "0.9"
18 makeover = { version = "2.4.1", optional = true }
19
20 [lints.rust]
21 unused = "warn"
22 unreachable_pub = "warn"
23
24 [lints.clippy]
25 pedantic = { level = "warn", priority = -1 }
26 # Allow-list tuned from a measured breakdown across server/multithreaded/pter
27 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
28 # else in `pedantic` stays a warning. Keep this block identical across repos.
29 module_name_repetitions = "allow"
30 # Doc lints. No docs-completeness push is underway.
31 missing_errors_doc = "allow"
32 missing_panics_doc = "allow"
33 doc_markdown = "allow"
34 # Numeric casts. Endemic and mostly intentional in size and byte math.
35 cast_possible_truncation = "allow"
36 cast_sign_loss = "allow"
37 cast_precision_loss = "allow"
38 cast_possible_wrap = "allow"
39 cast_lossless = "allow"
40 # Subjective structure and style nags. High churn, low signal.
41 must_use_candidate = "allow"
42 too_many_lines = "allow"
43 struct_excessive_bools = "allow"
44 similar_names = "allow"
45 items_after_statements = "allow"
46 single_match_else = "allow"
47 # Frequent false-positives in TUI and router-heavy code.
48 match_same_arms = "allow"
49 unnecessary_wraps = "allow"
50 type_complexity = "allow"
51